diff src/gtkutil.c @ 57941:68ea73fe257b

* gtkutil.h: Declare use_old_gtk_file_dialog. * gtkutil.c: Make use_old_gtk_file_dialog non-static. (xg_initialize): Moved DEFVAR_BOOL for use_old_gtk_file_dialog ... * xfns.c (syms_of_xfns): ... to here.
author Jan Djärv <jan.h.d@swipnet.se>
date Thu, 04 Nov 2004 15:05:27 +0000
parents a3fa0e63dd67
children 3608b64ba20f cb7f41387eb3
line wrap: on
line diff
--- a/src/gtkutil.c	Thu Nov 04 14:18:22 2004 +0000
+++ b/src/gtkutil.c	Thu Nov 04 15:05:27 2004 +0000
@@ -1131,7 +1131,7 @@
 };
 
 #ifdef HAVE_GTK_FILE_BOTH
-static int use_old_gtk_file_dialog;
+int use_old_gtk_file_dialog;
 #endif
 
 
@@ -3554,14 +3554,6 @@
                                     "gtk-key-theme-name",
                                     "Emacs",
                                     EMACS_CLASS);
-
-#ifdef HAVE_GTK_FILE_BOTH
-  DEFVAR_BOOL ("use-old-gtk-file-dialog", &use_old_gtk_file_dialog,
-    doc: /* *Non-nil means that the old GTK file selection dialog is used.
-            If nil the new GTK file chooser is used instead.  To turn off
-            all file dialogs set the variable `use-file-dialog'.  */);
-  use_old_gtk_file_dialog = 0;
-#endif
 }
 
 #endif /* USE_GTK */