Mercurial > pidgin.yaz
changeset 9492:3df81e9e3184
[gaim-migrate @ 10317]
Non gtk 2.4 compile fixes. Now nosnilmot can fix the crash bugs.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 09 Jul 2004 00:54:36 +0000 |
parents | c2e4c3ab4307 |
children | 99423678a6e3 |
files | src/gtkconv.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Fri Jul 09 00:44:11 2004 +0000 +++ b/src/gtkconv.c Fri Jul 09 00:54:36 2004 +0000 @@ -800,7 +800,7 @@ #if GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */ filename = gtk_file_chooser_get_filename(GTK_FILE_CHOOSER(gtkconv->dialogs.savelog)); #else /* FILECHOOSER */ - filename = gtk_file_selection_get_filename(GTK_FILE_SELECTION(gtkconv->dialogs.save)); + filename = gtk_file_selection_get_filename(GTK_FILE_SELECTION(gtkconv->dialogs.savelog)); #endif /* FILECHOOSER */ gaim_notify_close_with_handle(gtkconv->dialogs.savelog); @@ -870,9 +870,9 @@ #if !GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */ static void -savelog_destroy_cb(GtkWidget *widget, GtkConversation *gtkconv) +savelog_destroy_cb(GtkWidget *widget, GaimGtkConversation *gtkconv) { - if (gtkconv->save != NULL) { + if (gtkconv->dialogs.savelog != NULL) { gaim_notify_close_with_handle(gtkconv->dialogs.savelog); gaim_request_close_with_handle(gtkconv->dialogs.savelog); gtk_widget_destroy(gtkconv->dialogs.savelog); @@ -905,7 +905,7 @@ G_CALLBACK(savelog_checkfile_cb), conv); #else /* FILECHOOSER */ buf = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s.html", gaim_home_dir(), - gaim_normalize(c->account, c->name)); + gaim_normalize(conv->account, conv->name)); gtkconv->dialogs.savelog = gtk_file_selection_new(_("Save Conversation")); gtk_file_selection_set_filename(GTK_FILE_SELECTION(gtkconv->dialogs.savelog), buf); g_signal_connect(G_OBJECT(GTK_FILE_SELECTION(gtkconv->dialogs.savelog)->ok_button),