broadway: Mark deprecated function call

... to avoid gcc warning us. Ideally, we'd not call a deprecated
function here, but I'm lazy.
This commit is contained in:
Benjamin Otte
2013-04-01 15:38:19 +02:00
parent dc132a9895
commit a55f1f4e95

View File

@ -1274,6 +1274,7 @@ create_moveresize_window (MoveResizeData *mv_resize,
gdk_window_show (mv_resize->moveresize_emulation_window); gdk_window_show (mv_resize->moveresize_emulation_window);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
status = gdk_pointer_grab (mv_resize->moveresize_emulation_window, status = gdk_pointer_grab (mv_resize->moveresize_emulation_window,
FALSE, FALSE,
GDK_BUTTON_RELEASE_MASK | GDK_BUTTON_RELEASE_MASK |
@ -1281,6 +1282,7 @@ create_moveresize_window (MoveResizeData *mv_resize,
NULL, NULL,
NULL, NULL,
timestamp); timestamp);
G_GNUC_END_IGNORE_DEPRECATIONS;
if (status != GDK_GRAB_SUCCESS) if (status != GDK_GRAB_SUCCESS)
{ {