[evince] shell: Replace deprecated popup menu in ev-window
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] shell: Replace deprecated popup menu in ev-window
- Date: Mon, 12 Nov 2018 19:13:12 +0000 (UTC)
commit 3053a3d4d030b4dc8a256b85e012f92cbd30c943
Author: Germán Poo-Caamaño <gpoo gnome org>
Date: Mon Nov 12 14:27:09 2018 -0300
shell: Replace deprecated popup menu in ev-window
shell/ev-window.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index fcfd6fd5..86bc7070 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -5521,9 +5521,7 @@ view_menu_popup_cb (EvView *view,
GTK_WIDGET (ev_window), NULL);
}
- gtk_menu_popup (GTK_MENU (priv->view_popup),
- NULL, NULL, NULL, NULL,
- 3, gtk_get_current_event_time ());
+ gtk_menu_popup_at_pointer (GTK_MENU (priv->view_popup), NULL);
return TRUE;
}
@@ -5549,9 +5547,7 @@ attachment_bar_menu_popup_cb (EvSidebarAttachments *attachbar,
GTK_WIDGET (ev_window), NULL);
}
- gtk_menu_popup (GTK_MENU (priv->attachment_popup),
- NULL, NULL, NULL, NULL,
- 3, gtk_get_current_event_time ());
+ gtk_menu_popup_at_pointer (GTK_MENU (priv->attachment_popup), NULL);
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]