diff options
author | Stefano Karapetsas <[email protected]> | 2013-07-23 17:35:24 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-07-23 17:35:24 +0200 |
commit | 308e85f6466b282752b6821d6fa785fc48d5e811 (patch) | |
tree | 42e223d023fb94a9b025949369d4bc24bb727b2f /eel/eel-canvas.c | |
parent | b9090995e0fb25f1d227efa2bd5aa00190938472 (diff) | |
download | caja-308e85f6466b282752b6821d6fa785fc48d5e811.tar.bz2 caja-308e85f6466b282752b6821d6fa785fc48d5e811.tar.xz |
eel: depth argument is removed from gdk_window_get_geometry in GTK3
Diffstat (limited to 'eel/eel-canvas.c')
-rw-r--r-- | eel/eel-canvas.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 24f84e24..8341958a 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3913,7 +3913,11 @@ eel_canvas_item_accessible_is_item_in_window (EelCanvasItem *item, int window_width, window_height; gdk_window_get_geometry (gtk_widget_get_window (widget), NULL, NULL, +#if GTK_CHECK_VERSION (3, 0, 0) + &window_width, &window_height); +#else &window_width, &window_height, NULL); +#endif /* * Check whether rectangles intersect */ |