emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r109100: * gtkutil.h: Tiny cleanups.


From: Dmitry Antipov
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r109100: * gtkutil.h: Tiny cleanups.
Date: Mon, 16 Jul 2012 07:36:46 +0400
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 109100
committer: Dmitry Antipov <address@hidden>
branch nick: trunk
timestamp: Mon 2012-07-16 07:36:46 +0400
message:
  * gtkutil.h: Tiny cleanups.
  (use_old_gtk_file_dialog): Remove useless declaration.
  (xg_uses_old_file_dialog): Add suggested const attribute.
modified:
  src/ChangeLog
  src/gtkutil.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-07-15 14:41:08 +0000
+++ b/src/ChangeLog     2012-07-16 03:36:46 +0000
@@ -1,3 +1,9 @@
+2012-07-16  Dmitry Antipov  <address@hidden>
+
+       * gtkutil.h: Tiny cleanups.
+       (use_old_gtk_file_dialog): Remove useless declaration.
+       (xg_uses_old_file_dialog): Add suggested const attribute.
+
 2012-07-15  Eli Zaretskii  <address@hidden>
 
        * bidi.c (MAX_STRONG_CHAR_SEARCH): New macro.

=== modified file 'src/gtkutil.h'
--- a/src/gtkutil.h     2012-01-19 07:21:25 +0000
+++ b/src/gtkutil.h     2012-07-16 03:36:46 +0000
@@ -73,16 +73,12 @@
 
 } 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,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]