diff options
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index c11ac37a..64f93bb5 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -815,10 +815,10 @@ mate_panel_applet_position_menu (GtkMenu *menu, #if GTK_CHECK_VERSION (3, 0, 0) screen = gtk_widget_get_screen (widget); - gtk_menu_set_screen (menu, screen); #else screen = gtk_window_get_screen (GTK_WINDOW (applet->priv->plug)); #endif + gtk_menu_set_screen (menu, screen); #if GTK_CHECK_VERSION (3, 0, 0) gtk_widget_get_preferred_size (GTK_WIDGET (menu), &requisition, NULL); |