2006-04-01  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
This commit is contained in:
Behdad Esfahbod 2006-04-02 01:40:26 +00:00 committed by Behdad Esfahbod
parent 6da22af993
commit 8ca2113e4d
3 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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;