summaryrefslogtreecommitdiffstats
path: root/src/gui_beval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui_beval.c')
-rw-r--r--src/gui_beval.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c
index 5e70d61bfa..99651da5d9 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -991,11 +991,7 @@ drawBalloon(BalloonEval *beval)
# endif
/* Compute position of the balloon area */
-# if GTK_CHECK_VERSION(3,0,0)
gdk_window_get_origin(gtk_widget_get_window(beval->target), &x, &y);
-# else
- gdk_window_get_origin(beval->target->window, &x, &y);
-# endif
x += beval->x;
y += beval->y;