From ea481767c4e3ec19136a5b61ad46f244a9a5ffa7 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 22 Nov 2016 15:49:16 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require mate-panel >= 1.17 --- mate-dictionary/src/gdict-aligned-window.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mate-dictionary/src/gdict-aligned-window.c') diff --git a/mate-dictionary/src/gdict-aligned-window.c b/mate-dictionary/src/gdict-aligned-window.c index c1cb9d53..37c03ca5 100644 --- a/mate-dictionary/src/gdict-aligned-window.c +++ b/mate-dictionary/src/gdict-aligned-window.c @@ -173,11 +173,7 @@ gdict_aligned_window_position (GdictAlignedWindow *window) gdk_flush (); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_window_get_geometry (gtk_widget_get_window (GTK_WIDGET (window)), NULL, NULL, &our_width, &our_height); -#else - gdk_window_get_geometry (gtk_widget_get_window (GTK_WIDGET (window)), NULL, NULL, &our_width, &our_height, NULL); -#endif /* stick, skip taskbar and pager */ gtk_window_stick (GTK_WINDOW (window)); @@ -191,11 +187,7 @@ gdict_aligned_window_position (GdictAlignedWindow *window) gdk_window_get_origin (gdk_window, &entry_x, &entry_y); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_window_get_geometry (gdk_window, NULL, NULL, &entry_width, &entry_height); -#else - gdk_window_get_geometry (gdk_window, NULL, NULL, &entry_width, &entry_height, NULL); -#endif if (entry_x + our_width < gdk_screen_width ()) x = entry_x + 1; -- cgit v1.2.1