mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 14:00:09 +00:00
Oops. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org> * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
This commit is contained in:
parent
6da22af993
commit
8ca2113e4d
@ -1,3 +1,7 @@
|
|||||||
|
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
|
||||||
|
|
||||||
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
|
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
|
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
|
||||||
|
|
||||||
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
2006-04-01 Behdad Esfahbod <behdad@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
|
* gtk/gtkfilesel.c (gtk_file_selection_get_filename): Use a GString
|
||||||
|
@ -1264,7 +1264,6 @@ gtk_file_selection_get_filename (GtkFileSelection *filesel)
|
|||||||
something = g_string_new (sys_filename);
|
something = g_string_new (sys_filename);
|
||||||
else
|
else
|
||||||
g_string_assign (something, sys_filename);
|
g_string_assign (something, sys_filename);
|
||||||
strncpy (something, sys_filename, sizeof (something) - 1);
|
|
||||||
g_free (sys_filename);
|
g_free (sys_filename);
|
||||||
|
|
||||||
return something->str;
|
return something->str;
|
||||||
|
Loading…
Reference in New Issue
Block a user