# HG changeset patch # User Luke Schierer # Date 1089306784 0 # Node ID 59d986a931d4c5fc3ec45499a84abd2e78c185dc # Parent 3fed61fa0f704be82b51af5791963279d41b64ba [gaim-migrate @ 10311] (13:04:18) nosnilmot: LSchiere: I compile with gcc 2.9x ... committer: Tailor Script diff -r 3fed61fa0f70 -r 59d986a931d4 src/gtkdebug.c --- 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());