mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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);
|
||||
else
|
||||
g_string_assign (something, sys_filename);
|
||||
strncpy (something, sys_filename, sizeof (something) - 1);
|
||||
g_free (sys_filename);
|
||||
|
||||
return something->str;
|
||||
|
Loading…
Reference in New Issue
Block a user