diff options
author | Michael Natterer <mitch@imendio.com> | 2008-01-15 15:32:37 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-01-15 15:32:37 +0000 |
commit | 8243e3d4152193addb53c2b9cffc1b48e144efc8 (patch) | |
tree | f4b02f16c0506ab522799735e563675a61176b75 /gdk/gdkevents.h | |
parent | 7a658c13896c43790ab65c6b05f0b807a76d5ea3 (diff) | |
download | gtk+-8243e3d4152193addb53c2b9cffc1b48e144efc8.tar.gz |
gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h
2008-01-15 Michael Natterer <mitch@imendio.com>
* gdk/gdkdisplay.h
* gdk/gdkdrawable.h
* gdk/gdkevents.h
* gdk/gdkpango.h
* gdk/gdkregion.h
* gdk/gdkrgb.h
* gdk/gdkwindow.h: made more struct pointer and array parameters
const. GDK should now be constified as far as possible without
breaking source compatibility. Includes some minor cleanup like
indentation and s/nfoo/n_foo/ (bug #508544).
* gdk/gdkdisplay.c
* gdk/gdkdraw.c
* gdk/gdkevents.c
* gdk/gdkpango.c
* gdk/gdkregion-generic.c
* gdk/gdkrgb.c
* gdk/directfb/gdkdisplay-directfb.c
* gdk/directfb/gdkwindow-directfb.c
* gdk/quartz/gdkdisplay-quartz.c
* gdk/quartz/gdkwindow-quartz.c
* gdk/win32/gdkdisplay-win32.c
* gdk/win32/gdkwindow-win32.c
* gdk/x11/gdkdisplay-x11.c
* gdk/x11/gdkwindow-x11.c: changed accordingly.
svn path=/trunk/; revision=19372
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r-- | gdk/gdkevents.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 5a30e99a32..809992cf70 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -511,32 +511,32 @@ GdkEvent* gdk_event_get (void); GdkEvent* gdk_event_peek (void); GdkEvent* gdk_event_get_graphics_expose (GdkWindow *window); -void gdk_event_put (GdkEvent *event); +void gdk_event_put (const GdkEvent *event); GdkEvent* gdk_event_new (GdkEventType type); -GdkEvent* gdk_event_copy (GdkEvent *event); +GdkEvent* gdk_event_copy (const GdkEvent *event); void gdk_event_free (GdkEvent *event); -guint32 gdk_event_get_time (GdkEvent *event); -gboolean gdk_event_get_state (GdkEvent *event, +guint32 gdk_event_get_time (const GdkEvent *event); +gboolean gdk_event_get_state (const GdkEvent *event, GdkModifierType *state); -gboolean gdk_event_get_coords (GdkEvent *event, +gboolean gdk_event_get_coords (const GdkEvent *event, gdouble *x_win, gdouble *y_win); -gboolean gdk_event_get_root_coords (GdkEvent *event, +gboolean gdk_event_get_root_coords (const GdkEvent *event, gdouble *x_root, gdouble *y_root); -gboolean gdk_event_get_axis (GdkEvent *event, +gboolean gdk_event_get_axis (const GdkEvent *event, GdkAxisUse axis_use, gdouble *value); -void gdk_event_request_motions (GdkEventMotion *event); +void gdk_event_request_motions (const GdkEventMotion *event); void gdk_event_handler_set (GdkEventFunc func, gpointer data, GDestroyNotify notify); -void gdk_event_set_screen (GdkEvent *event, - GdkScreen *screen); -GdkScreen *gdk_event_get_screen (GdkEvent *event); +void gdk_event_set_screen (GdkEvent *event, + GdkScreen *screen); +GdkScreen *gdk_event_get_screen (const GdkEvent *event); void gdk_set_show_events (gboolean show_events); gboolean gdk_get_show_events (void); |