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:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user