diff options
author | raveit65 <[email protected]> | 2018-05-04 23:24:06 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-05-10 22:45:31 +0200 |
commit | 510ea85afc00c6f40da752adb4827854d0f98273 (patch) | |
tree | d6182cb5d405485bcaed262c1ba36281ddcfd58f /shell/ev-window.c | |
parent | 0fd21246a8cc827150dc59244bb419fe594a1e42 (diff) | |
download | atril-510ea85afc00c6f40da752adb4827854d0f98273.tar.bz2 atril-510ea85afc00c6f40da752adb4827854d0f98273.tar.xz |
shell: replace deprecated gtk_menu_popup function
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r-- | shell/ev-window.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c index a83cae31..95383b53 100644 --- a/shell/ev-window.c +++ b/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; } |