Skip to content
Permalink
Browse files

shell: replace deprecated gtk_menu_popup function

  • Loading branch information...
raveit65 committed May 4, 2018
1 parent 0fd2124 commit 510ea85afc00c6f40da752adb4827854d0f98273
Showing with 4 additions and 7 deletions.
  1. +4 −7 shell/ev-window.c
@@ -5577,9 +5577,8 @@ view_menu_popup_cb (EvView *view,
if (!has_annot)
view_menu_annot_popup (ev_window, NULL);

gtk_menu_popup (GTK_MENU (ev_window->priv->view_popup),
NULL, NULL, NULL, NULL,
3, gtk_get_current_event_time ());
gtk_menu_popup_at_pointer (GTK_MENU (ev_window->priv->view_popup),
NULL);
return TRUE;
}

@@ -5602,10 +5601,8 @@ attachment_bar_menu_popup_cb (EvSidebarAttachments *attachbar,

popup = ev_window->priv->attachment_popup;

gtk_menu_popup (GTK_MENU (popup), NULL, NULL,
NULL, NULL,
3, gtk_get_current_event_time ());

gtk_menu_popup_at_pointer (GTK_MENU (popup),
NULL);
return TRUE;
}

0 comments on commit 510ea85

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