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
This commit is contained in:
Michael Natterer 2008-05-06 22:35:13 +00:00 committed by Michael Natterer
parent 4ee2d1b6ba
commit f3cd3f7cf5
7 changed files with 23 additions and 13 deletions

View File

@ -1,3 +1,13 @@
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):

View File

@ -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)
{
}

View File

@ -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;
}

View File

@ -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,

View File

@ -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)
{

View File

@ -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)
{
}

View File

@ -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)
{
}