changeset 58284:10efc827e15c

* gtkutil.c (xg_get_file_name): Fix typo in HAVE_GTK_FILE_SELECTION_NEW.
author Jan Djärv <jan.h.d@swipnet.se>
date Tue, 16 Nov 2004 22:24:48 +0000
parents c163562b2d59
children 34e39dcb6763
files src/ChangeLog src/gtkutil.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Nov 16 20:52:32 2004 +0000
+++ b/src/ChangeLog	Tue Nov 16 22:24:48 2004 +0000
@@ -1,5 +1,8 @@
 2004-11-16  Jan Dj,Ad(Brv  <jan.h.d@swipnet.se>
 
+	* gtkutil.c (xg_get_file_name): Fix typo in
+	HAVE_GTK_FILE_SELECTION_NEW.
+
 	* xmenu.c (x_menu_in_use): Removed.
 	(x_menu_set_in_use): Also set popup_activated_flag.
 
--- a/src/gtkutil.c	Tue Nov 16 20:52:32 2004 +0000
+++ b/src/gtkutil.c	Tue Nov 16 22:24:48 2004 +0000
@@ -1304,7 +1304,7 @@
      char *default_filename;
      int mustmatch_p, only_dir_p;
 {
-  GtkWidget *w;
+  GtkWidget *w = 0;
   int count = SPECPDL_INDEX ();
   char *fn = 0;
   int filesel_done = 0;
@@ -1320,7 +1320,7 @@
 
 #else /* not HAVE_GTK_FILE_BOTH */
 
-#ifdef HAVE_GTK_FILE_SELECTION_DIALOG_NEW
+#ifdef HAVE_GTK_FILE_SELECTION_NEW
   w = xg_get_file_with_selection (f, prompt, default_filename,
                                   mustmatch_p, only_dir_p, &func);
 #endif