diff options
author | Michael Natterer <mitch@imendio.com> | 2008-05-06 22:35:13 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-05-06 22:35:13 +0000 |
commit | f3cd3f7cf58ee9dd2ce7f79e288eab21edf0261a (patch) | |
tree | 033be0f371d69d22f392f716672ef20956abf2cf /gdk | |
parent | 4ee2d1b6ba41519d6bc7d9f21f8dbc7afe638965 (diff) | |
download | gtk+-f3cd3f7cf58ee9dd2ce7f79e288eab21edf0261a.tar.gz |
gdk/gdkinternals.h gdk/gdkevents.c gdk/directfb/gdkevents-directfb.c
2008-05-07 Michael Natterer <mitch@imendio.com>
* gdk/gdkinternals.h
* gdk/gdkevents.c
* gdk/directfb/gdkevents-directfb.c
* gdk/quartz/gdkevents-quartz.c
* gdk/win32/gdkevents-win32.c
* gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
order parameters src,dest and make src const.
svn path=/trunk/; revision=20079
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/directfb/gdkevents-directfb.c | 4 | ||||
-rw-r--r-- | gdk/gdkevents.c | 2 | ||||
-rw-r--r-- | gdk/gdkinternals.h | 6 | ||||
-rw-r--r-- | gdk/quartz/gdkevents-quartz.c | 6 | ||||
-rw-r--r-- | gdk/win32/gdkevents-win32.c | 4 | ||||
-rw-r--r-- | gdk/x11/gdkevents-x11.c | 4 |
6 files changed, 13 insertions, 13 deletions
diff --git a/gdk/directfb/gdkevents-directfb.c b/gdk/directfb/gdkevents-directfb.c index 8a61942669..b9d020e759 100644 --- a/gdk/directfb/gdkevents-directfb.c +++ b/gdk/directfb/gdkevents-directfb.c @@ -962,8 +962,8 @@ gdk_net_wm_supports (GdkAtom property) } void -_gdk_windowing_event_data_copy (GdkEvent *dst, - GdkEvent *src) +_gdk_windowing_event_data_copy (const GdkEvent *src, + GdkEvent *dst) { } diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c index 6967f7df70..8b24f0bac2 100644 --- a/gdk/gdkevents.c +++ b/gdk/gdkevents.c @@ -422,7 +422,7 @@ gdk_event_copy (const GdkEvent *event) } if (gdk_event_is_allocated (event)) - _gdk_windowing_event_data_copy (new_event, event); + _gdk_windowing_event_data_copy (event, new_event); return new_event; } diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index 0e9111647e..420f8bd462 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -189,9 +189,9 @@ GList* _gdk_event_queue_append (GdkDisplay *display, void _gdk_event_button_generate (GdkDisplay *display, GdkEvent *event); -void _gdk_windowing_event_data_copy (GdkEvent *dst, - GdkEvent *src); -void _gdk_windowing_event_data_free (GdkEvent *event); +void _gdk_windowing_event_data_copy (const GdkEvent *src, + GdkEvent *dst); +void _gdk_windowing_event_data_free (GdkEvent *event); void gdk_synthesize_window_state (GdkWindow *window, GdkWindowState unset_flags, diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c index 73815fe90f..397c6217cb 100644 --- a/gdk/quartz/gdkevents-quartz.c +++ b/gdk/quartz/gdkevents-quartz.c @@ -2045,11 +2045,11 @@ gdk_screen_get_setting (GdkScreen *screen, } void -_gdk_windowing_event_data_copy (GdkEvent *dst, - GdkEvent *src) +_gdk_windowing_event_data_copy (const GdkEvent *src, + GdkEvent *dst) { - GdkEventPrivate *priv_dst = (GdkEventPrivate *) dst; GdkEventPrivate *priv_src = (GdkEventPrivate *) src; + GdkEventPrivate *priv_dst = (GdkEventPrivate *) dst; if (priv_src->windowing_data) { diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 389295d9ec..4a6b308100 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3654,8 +3654,8 @@ gdk_net_wm_supports (GdkAtom property) } void -_gdk_windowing_event_data_copy (GdkEvent *dst, - GdkEvent *src) +_gdk_windowing_event_data_copy (const GdkEvent *src, + GdkEvent *dst) { } diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c index 75e963ec77..f43a02ea62 100644 --- a/gdk/x11/gdkevents-x11.c +++ b/gdk/x11/gdkevents-x11.c @@ -3086,8 +3086,8 @@ gdk_xsettings_watch_cb (Window window, } void -_gdk_windowing_event_data_copy (GdkEvent *dst, - GdkEvent *src) +_gdk_windowing_event_data_copy (const GdkEvent *src, + GdkEvent *dst) { } |