Skip to content

Commit 8001d65

Browse files
lukefromdcraveit65
authored andcommitted
applet-context-menu: replace deprecated gtk_menu_popup
1 parent 81896c0 commit 8001d65

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

mate-panel/applet.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -736,13 +736,7 @@ applet_show_menu (AppletInfo *info,
736736
if (!gtk_widget_get_realized (info->menu))
737737
gtk_widget_show (info->menu);
738738

739-
gtk_menu_popup (GTK_MENU (info->menu),
740-
NULL,
741-
NULL,
742-
(GtkMenuPositionFunc) mate_panel_applet_position_menu,
743-
info->widget,
744-
event->button,
745-
event->time);
739+
gtk_menu_popup_at_pointer (GTK_MENU (info->menu), NULL);
746740
}
747741

748742
static gboolean

0 commit comments

Comments
 (0)