summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2017-09-04 23:55:10 -0400
committerraveit65 <[email protected]>2018-07-04 09:54:25 +0200
commit8001d65ccfbb4fccd84407680e4e4da5dc16cde4 (patch)
treef2be4b2bc0295557c56532836b8300ece8875bd4
parent81896c0e45a21ad3021f83e154c7c1b5a524d596 (diff)
downloadmate-panel-8001d65ccfbb4fccd84407680e4e4da5dc16cde4.tar.bz2
mate-panel-8001d65ccfbb4fccd84407680e4e4da5dc16cde4.tar.xz
applet-context-menu: replace deprecated gtk_menu_popup
-rw-r--r--mate-panel/applet.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mate-panel/applet.c b/mate-panel/applet.c
index 7d6176ea..bf552b71 100644
--- a/mate-panel/applet.c
+++ b/mate-panel/applet.c
@@ -736,13 +736,7 @@ applet_show_menu (AppletInfo *info,
if (!gtk_widget_get_realized (info->menu))
gtk_widget_show (info->menu);
- gtk_menu_popup (GTK_MENU (info->menu),
- NULL,
- NULL,
- (GtkMenuPositionFunc) mate_panel_applet_position_menu,
- info->widget,
- event->button,
- event->time);
+ gtk_menu_popup_at_pointer (GTK_MENU (info->menu), NULL);
}
static gboolean