summaryrefslogtreecommitdiff
path: root/shell/ev-navigation-action-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-navigation-action-widget.c')
-rw-r--r--shell/ev-navigation-action-widget.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/shell/ev-navigation-action-widget.c b/shell/ev-navigation-action-widget.c
index 27993699..de60674f 100644
--- a/shell/ev-navigation-action-widget.c
+++ b/shell/ev-navigation-action-widget.c
@@ -134,11 +134,7 @@ menu_position_func (GtkMenu *menu,
gint monitor_num;
GdkScreen *screen;
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_get_preferred_size (GTK_WIDGET (button->menu), &menu_req, NULL);
-#else
- gtk_widget_size_request (GTK_WIDGET (button->menu), &menu_req);
-#endif
direction = gtk_widget_get_direction (widget);
screen = gtk_widget_get_screen (GTK_WIDGET (menu));