summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-04-02 01:40:26 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-04-02 01:40:26 +0000
commit8ca2113e4d3f70c547b6c804c87061c9505cc658 (patch)
treeb27775e1fc1511af36e634fa73160dd749dbab03 /gtk/gtkfilesel.c
parent6da22af993502fb6323c31000c38b334e38a10e9 (diff)
downloadgtk+-8ca2113e4d3f70c547b6c804c87061c9505cc658.tar.gz
Oops. (#336784)
2006-04-01 Behdad Esfahbod <behdad@gnome.org> * gtk/gtkfilesel.c (gtk_file_selection_get_filename): Oops. (#336784)
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index a7e6e18125..6333bf41e1 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -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;