[gtk+/wip/attach-params: 16/20] gtkplacesview: use gtk_menu_popup_with_params ()
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/attach-params: 16/20] gtkplacesview: use gtk_menu_popup_with_params ()
- Date: Tue, 12 Jan 2016 14:41:38 +0000 (UTC)
commit 1066f4a886be613ed40b6ccec9b959c7a1dfdc72
Author: William Hua <william hua canonical com>
Date: Wed Jan 6 12:00:00 2016 -0500
gtkplacesview: use gtk_menu_popup_with_params ()
https://bugzilla.gnome.org/show_bug.cgi?id=756579
gtk/gtkplacesview.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 9588877..08ea4a3 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -1694,13 +1694,15 @@ popup_menu (GtkPlacesViewRow *row,
button = 0;
}
- gtk_menu_popup (GTK_MENU (priv->popup_menu),
- NULL,
- NULL,
- NULL,
- NULL,
- button,
- event ? event->time : gtk_get_current_event_time ());
+ gtk_menu_popup_with_params (GTK_MENU (priv->popup_menu),
+ NULL,
+ NULL,
+ NULL,
+ button,
+ event ? event->time : gtk_get_current_event_time (),
+ TRUE,
+ GDK_WINDOW_TYPE_HINT_POPUP_MENU,
+ NULL);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]