summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/applet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/applet.c b/mate-panel/applet.c
index 201459e7..d2d8e5d8 100644
--- a/mate-panel/applet.c
+++ b/mate-panel/applet.c
@@ -673,7 +673,11 @@ mate_panel_applet_position_menu (GtkMenu *menu,
*x = menu_x;
*y = menu_y;
+#if GTK_CHECK_VERSION (3, 0, 0)
+ *push_in = FALSE;
+#else
*push_in = TRUE;
+#endif
}
static void