Mercurial > emacs
diff src/gtkutil.c @ 58463:86fddd350b35
* gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to
x-use-old-gtk-file-dialog.
* xfns.c: Define x_use_old_gtk_file_dialog.
(syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it
outside ifdef USE_GTK.
| author | Jan Dj?rv <jan.h.d@swipnet.se> |
|---|---|
| date | Tue, 23 Nov 2004 19:56:55 +0000 |
| parents | 10efc827e15c |
| children | 65f1b18b7f66 |
line wrap: on
line diff
--- a/src/gtkutil.c Tue Nov 23 19:22:43 2004 +0000 +++ b/src/gtkutil.c Tue Nov 23 19:56:55 2004 +0000 @@ -1122,10 +1122,6 @@ /*********************************************************************** File dialog functions ***********************************************************************/ -#ifdef HAVE_GTK_FILE_BOTH -int use_old_gtk_file_dialog; -#endif - /* Function that is called when the file dialog pops down. W is the dialog widget, RESPONSE is the response code. USER_DATA is what we passed in to g_signal_connect (pointer to int). */ @@ -1311,7 +1307,9 @@ xg_get_file_func func; #ifdef HAVE_GTK_FILE_BOTH - if (use_old_gtk_file_dialog) + extern int x_use_old_gtk_file_dialog; + + if (x_use_old_gtk_file_dialog) w = xg_get_file_with_selection (f, prompt, default_filename, mustmatch_p, only_dir_p, &func); else
