Mercurial > pidgin.yaz
changeset 9486:59d986a931d4
[gaim-migrate @ 10311]
(13:04:18) nosnilmot: LSchiere: I compile with gcc 2.9x ...
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 08 Jul 2004 17:13:04 +0000 |
parents | 3fed61fa0f70 |
children | c23f7045357c |
files | src/gtkdebug.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkdebug.c Thu Jul 08 14:46:38 2004 +0000 +++ b/src/gtkdebug.c Thu Jul 08 17:13:04 2004 +0000 @@ -261,6 +261,10 @@ static void save_cb(GtkWidget *w, DebugWindow *win) { +#if !GTK_CHECK_VERSION(2,4,0) + gchar *buf; +#endif + if (win->save != NULL) { gtk_window_present(GTK_WINDOW(win->save)); return; @@ -279,8 +283,6 @@ g_signal_connect(G_OBJECT(win->save), "response", G_CALLBACK(save_checkfile_cb), win); #else /* FILECHOOSER */ - gchar *buf; - win->save = gtk_file_selection_new(_("Save Debug Log")); buf = g_strdup_printf("%s" G_DIR_SEPARATOR_S "gaim-debug.log", gaim_home_dir());