[Xfce4-commits] [panel-plugins/xfce4-pulseaudio-plugin] 01/01: Removed grab_notify to avoid crashes
noreply at xfce.org
noreply at xfce.org
Wed Mar 18 22:30:23 CET 2015
This is an automated email from the git hooks/post-receive script.
andrzejr pushed a commit to branch master
in repository panel-plugins/xfce4-pulseaudio-plugin.
commit 86854767b1b8b8dee148acd9a775165a9f161333
Author: Andrzej <ndrwrdck at gmail.com>
Date: Wed Mar 18 21:30:14 2015 +0000
Removed grab_notify to avoid crashes
Same fix as in:
http://git.xfce.org/users/eric/xfce4-power-manager/commit/?h=gtk3&id=4329d2601a35ccd2a48a509d9027b3a5707b3e4b
---
panel-plugin/scalemenuitem.c | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/panel-plugin/scalemenuitem.c b/panel-plugin/scalemenuitem.c
index cca9802..678c0bb 100644
--- a/panel-plugin/scalemenuitem.c
+++ b/panel-plugin/scalemenuitem.c
@@ -46,8 +46,6 @@ static gboolean scale_menu_item_motion_notify_event (GtkWidget *men
GdkEventMotion *event);
static gboolean scale_menu_item_grab_broken (GtkWidget *menuitem,
GdkEventGrabBroken *event);
-static void scale_menu_item_grab_notify (GtkWidget *menuitem,
- gboolean was_grabbed);
static void scale_menu_item_parent_set (GtkWidget *item,
GtkWidget *previous_parent);
static void update_packing (ScaleMenuItem * self);
@@ -109,7 +107,6 @@ scale_menu_item_class_init (ScaleMenuItemClass *item_class)
widget_class->button_release_event = scale_menu_item_button_release_event;
widget_class->motion_notify_event = scale_menu_item_motion_notify_event;
widget_class->grab_broken_event = scale_menu_item_grab_broken;
- widget_class->grab_notify = scale_menu_item_grab_notify;
widget_class->parent_set = scale_menu_item_parent_set;
@@ -344,21 +341,6 @@ scale_menu_item_motion_notify_event (GtkWidget *menuitem,
return TRUE;
}
-static void
-scale_menu_item_grab_notify (GtkWidget *menuitem,
- gboolean was_grabbed)
-{
- ScaleMenuItemPrivate *priv;
-
- TRACE("entering");
-
- g_return_if_fail (IS_SCALE_MENU_ITEM (menuitem));
-
- priv = GET_PRIVATE (menuitem);
-
- GTK_WIDGET_GET_CLASS (priv->scale)->grab_notify (priv->scale, was_grabbed);
-}
-
static gboolean
scale_menu_item_grab_broken (GtkWidget *menuitem,
GdkEventGrabBroken *event)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list