Fix C99ism.

2004-08-09  Morten Welinder  <terra@gnome.org>

	* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
This commit is contained in:
Morten Welinder 2004-08-09 19:58:05 +00:00 committed by Morten Welinder
parent 6f9aadcbf9
commit 2f7c4c1e10
5 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-08-09 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de> Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/makegtkalias.pl: Also revert * gtk/makegtkalias.pl: Also revert

View File

@ -1,3 +1,7 @@
2004-08-09 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de> Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/makegtkalias.pl: Also revert * gtk/makegtkalias.pl: Also revert

View File

@ -1,3 +1,7 @@
2004-08-09 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de> Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/makegtkalias.pl: Also revert * gtk/makegtkalias.pl: Also revert

View File

@ -1,3 +1,7 @@
2004-08-09 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): Fix C99ism.
Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de> Mon Aug 9 15:27:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/makegtkalias.pl: Also revert * gtk/makegtkalias.pl: Also revert

View File

@ -3761,9 +3761,11 @@ gdk_drag_get_selection (GdkDragContext *context)
gboolean gboolean
gdk_drag_drop_succeeded (GdkDragContext *context) gdk_drag_drop_succeeded (GdkDragContext *context)
{ {
GdkDragContextPrivateX11 *private;
g_return_val_if_fail (context != NULL, FALSE); g_return_val_if_fail (context != NULL, FALSE);
GdkDragContextPrivateX11 *private = PRIVATE_DATA (context); private = PRIVATE_DATA (context);
return !private->drop_failed; return !private->drop_failed;
} }