Skip to content
Permalink
Browse files

sticknotes: replace deprecated gtk_menu_popup

  • Loading branch information...
raveit65 committed Jul 6, 2018
1 parent dc720b3 commit d3bf8fd44c54816e66216517dfdf6b8496536677
Showing with 2 additions and 4 deletions.
  1. +2 −4 stickynotes/stickynotes_callbacks.c
@@ -95,10 +95,8 @@ stickynote_show_popup_menu (GtkWidget *widget, GdkEventButton *event, GtkWidget
{
if (event->type == GDK_BUTTON_PRESS && event->button == 3)
{
gtk_menu_popup (GTK_MENU (popup_menu),
NULL, NULL,
NULL, NULL,
event->button, event->time);
gtk_menu_popup_at_pointer (GTK_MENU (popup_menu),
(const GdkEvent*) event);
}

return FALSE;

0 comments on commit d3bf8fd

Please sign in to comment.
You can’t perform that action at this time.