[gnome-panel/wip/gnome-3.10+] menu: don't use deprecated gtk_menu_get_tearoff_state



commit f44acf3c075c28060956955bde469cc2c6b80500
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sun Oct 12 02:29:13 2014 +0300

    menu: don't use deprecated gtk_menu_get_tearoff_state

 gnome-panel/menu.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/menu.c b/gnome-panel/menu.c
index 29943db..f338516 100644
--- a/gnome-panel/menu.c
+++ b/gnome-panel/menu.c
@@ -614,8 +614,8 @@ drag_end_menu_cb (GtkWidget *widget, GdkDragContext     *context)
       
       parent = gtk_menu_shell_get_parent_shell (GTK_MENU_SHELL (parent));
     }
-  
-  if (xgrab_shell && !gtk_menu_get_tearoff_state (GTK_MENU(xgrab_shell)))
+
+  if (xgrab_shell)
     {
       gboolean      status;
       GdkDisplay    *display;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]