summaryrefslogtreecommitdiff
path: root/gdk/gdk.h
diff options
context:
space:
mode:
authorElliot Lee <sopwith@src.gnome.org>2000-11-13 19:47:31 +0000
committerElliot Lee <sopwith@src.gnome.org>2000-11-13 19:47:31 +0000
commitf15049bd0241241c6865d9405a331ef1694ace56 (patch)
tree636a98ac5baeb38520e999b725101abc42afdd06 /gdk/gdk.h
parentfbd9c79f37b7ef41176f64f15278f9c8dfdccae1 (diff)
downloadgtk+-f15049bd0241241c6865d9405a331ef1694ace56.tar.gz
Add a couple of missing G_GNUC_CONST's.
Add a couple of missing G_GNUC_CONST's.
Diffstat (limited to 'gdk/gdk.h')
-rw-r--r--gdk/gdk.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdk/gdk.h b/gdk/gdk.h
index 08a31740ef..8553663cc8 100644
--- a/gdk/gdk.h
+++ b/gdk/gdk.h
@@ -101,11 +101,11 @@ GdkGrabStatus gdk_keyboard_grab (GdkWindow *window,
void gdk_keyboard_ungrab (guint32 time);
gboolean gdk_pointer_is_grabbed (void);
-gint gdk_screen_width (void);
-gint gdk_screen_height (void);
+gint gdk_screen_width (void) G_GNUC_CONST;
+gint gdk_screen_height (void) G_GNUC_CONST;
-gint gdk_screen_width_mm (void);
-gint gdk_screen_height_mm (void);
+gint gdk_screen_width_mm (void) G_GNUC_CONST;
+gint gdk_screen_height_mm (void) G_GNUC_CONST;
void gdk_flush (void);
void gdk_beep (void);
@@ -136,7 +136,7 @@ gboolean gdk_event_send_client_message (GdkEvent *event,
/* Key values
*/
-gchar* gdk_keyval_name (guint keyval);
+gchar* gdk_keyval_name (guint keyval) G_GNUC_CONST;
guint gdk_keyval_from_name (const gchar *keyval_name);
void gdk_keyval_convert_case (guint symbol,
guint *lower,