summaryrefslogtreecommitdiff
path: root/eel/eel-canvas.h
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-12-26 16:18:53 +0100
committerCosimo Cecchi <cosimoc@gnome.org>2010-12-26 16:18:53 +0100
commit2ff006dd583f58ff2dd687f538e59757a8bd70c4 (patch)
tree34c6933370950bde4bd7be399f4a10d88696a0ee /eel/eel-canvas.h
parent7fa4d2202358940ef5a0dd70eb88996ac371cffd (diff)
downloadnautilus-2ff006dd583f58ff2dd687f538e59757a8bd70c4.tar.gz
canvas: don't use deprecated GDK grab API
Diffstat (limited to 'eel/eel-canvas.h')
-rw-r--r--eel/eel-canvas.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/eel/eel-canvas.h b/eel/eel-canvas.h
index 02b3b4d9a..bcdae80e9 100644
--- a/eel/eel-canvas.h
+++ b/eel/eel-canvas.h
@@ -245,8 +245,10 @@ void eel_canvas_item_hide (EelCanvasItem *item);
* grab. Time is a proper X event time parameter. Returns the same values as
* XGrabPointer().
*/
-int eel_canvas_item_grab (EelCanvasItem *item, unsigned int event_mask,
- GdkCursor *cursor, guint32 etime);
+GdkGrabStatus eel_canvas_item_grab (EelCanvasItem *item,
+ GdkEventMask event_mask,
+ GdkCursor *cursor,
+ guint32 etime);
/* Ungrabs the mouse -- the specified item must be the same that was passed to
* eel_canvas_item_grab(). Time is a proper X event time parameter.