Mercurial > pidgin
changeset 9503:d822b19b751c
[gaim-migrate @ 10330]
I'm really just trying to break some kind of commit record.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 10 Jul 2004 18:50:39 +0000 |
parents | 578986136bac |
children | 2d4301c90aed |
files | src/gtkrequest.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkrequest.c Sat Jul 10 18:38:20 2004 +0000 +++ b/src/gtkrequest.c Sat Jul 10 18:50:39 2004 +0000 @@ -1376,14 +1376,14 @@ #else /* FILECHOOSER */ file_ok_check_if_exists_cb(GtkWidget *button, GaimGtkRequestData *data) { - gchar *name; + const gchar *name; - name = gtk_file_selection_get_filename(GTK_FILE_SELECTION(data->dialog))); + name = gtk_file_selection_get_filename(GTK_FILE_SELECTION(data->dialog)); if (gaim_gtk_check_if_dir(name, GTK_FILE_SELECTION(data->dialog))) /* Descend into directory? */ /* Close dialog? */ return; - data->u.file.name = name; + data->u.file.name = g_strdup(name); #endif /* FILECHOOSER */ if ((data->u.file.savedialog == TRUE) &&