Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
applet-context-menu: replace deprecated gtk_menu_popup
  • Loading branch information
lukefromdc authored and raveit65 committed Jul 4, 2018
1 parent 81896c0 commit 8001d65
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions mate-panel/applet.c
Expand Up @@ -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
Expand Down

0 comments on commit 8001d65

Please sign in to comment.