summaryrefslogtreecommitdiff
path: root/src/gtkutil.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-07-16 07:36:46 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-07-16 07:36:46 +0400
commit7a6136fd76b7eae4770bfd1cbb8812f6508d6a7f (patch)
treecdd8b9378cc8dda8381fd4cba0b0c156f6c9a92e /src/gtkutil.h
parentb6e9e0ffacf249934e92448e85e965e90aa3cf4b (diff)
downloademacs-7a6136fd76b7eae4770bfd1cbb8812f6508d6a7f.tar.gz
* gtkutil.h: Tiny cleanups.
(use_old_gtk_file_dialog): Remove useless declaration. (xg_uses_old_file_dialog): Add suggested const attribute.
Diffstat (limited to 'src/gtkutil.h')
-rw-r--r--src/gtkutil.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gtkutil.h b/src/gtkutil.h
index 2c6ca066719..94c1a1d96ad 100644
--- a/src/gtkutil.h
+++ b/src/gtkutil.h
@@ -73,16 +73,12 @@ typedef struct xg_menu_item_cb_data_
} xg_menu_item_cb_data;
-
-#ifdef HAVE_GTK_FILE_SELECTION_NEW
-extern int use_old_gtk_file_dialog;
-#endif
struct _widget_value;
extern struct _widget_value *malloc_widget_value (void);
extern void free_widget_value (struct _widget_value *);
-extern int xg_uses_old_file_dialog (void);
+extern int xg_uses_old_file_dialog (void) ATTRIBUTE_CONST;
extern char *xg_get_file_name (FRAME_PTR f,
char *prompt,