comparison src/xfns.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 c955f6add62a
children aaad85fd645c 7a0245dd1848 cb7f41387eb3
comparison
equal deleted inserted replaced
57940:a3fa0e63dd67 57941:68ea73fe257b
5555 But for a user it is a toolkit for X, and indeed, configure 5555 But for a user it is a toolkit for X, and indeed, configure
5556 accepts --with-x-toolkit=gtk. */ 5556 accepts --with-x-toolkit=gtk. */
5557 Fprovide (intern ("x-toolkit"), Qnil); 5557 Fprovide (intern ("x-toolkit"), Qnil);
5558 Fprovide (intern ("gtk"), Qnil); 5558 Fprovide (intern ("gtk"), Qnil);
5559 5559
5560 #ifdef HAVE_GTK_FILE_BOTH
5561 DEFVAR_BOOL ("use-old-gtk-file-dialog", &use_old_gtk_file_dialog,
5562 doc: /* *Non-nil means that the old GTK file selection dialog is used.
5563 If nil the new GTK file chooser is used instead. To turn off
5564 all file dialogs set the variable `use-file-dialog'. */);
5565 use_old_gtk_file_dialog = 0;
5566 #endif
5567
5560 DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string, 5568 DEFVAR_LISP ("gtk-version-string", &Vgtk_version_string,
5561 doc: /* Version info for GTK+. */); 5569 doc: /* Version info for GTK+. */);
5562 { 5570 {
5563 char gtk_version[40]; 5571 char gtk_version[40];
5564 g_snprintf (gtk_version, sizeof (gtk_version), "%u.%u.%u", 5572 g_snprintf (gtk_version, sizeof (gtk_version), "%u.%u.%u",