Commit f3cd3f7c authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent 4ee2d1b6
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.
2008-05-06 Richard Hult <richard@imendio.com>
* gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
......
......@@ -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)
{
}
......
......@@ -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;
}
......
......@@ -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,
......
......@@ -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)
{
......
......@@ -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)
{
}
......
......@@ -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)
{
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment