diff options
Diffstat (limited to 'eel')
-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 */ |