[gtk+/gestures: 59/117] combobox: remove superfluous GTK+ grabs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gestures: 59/117] combobox: remove superfluous GTK+ grabs
- Date: Thu, 10 Apr 2014 20:29:39 +0000 (UTC)
commit 2f0d157e77af7f4aec9426cb8ffd08280c17eb7c
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Apr 8 20:21:50 2014 +0200
combobox: remove superfluous GTK+ grabs
gtk/gtkcombobox.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index 10b6575..20bd1f6 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2474,7 +2474,6 @@ gtk_combo_box_popup_for_device (GtkComboBox *combo_box,
return;
}
- gtk_device_grab_add (priv->popup_window, pointer, TRUE);
priv->grab_pointer = pointer;
priv->grab_keyboard = keyboard;
@@ -2552,7 +2551,6 @@ gtk_combo_box_popdown (GtkComboBox *combo_box)
gdk_device_ungrab (priv->grab_keyboard, GDK_CURRENT_TIME);
gdk_device_ungrab (priv->grab_pointer, GDK_CURRENT_TIME);
- gtk_device_grab_remove (priv->popup_window, priv->grab_pointer);
gtk_widget_hide (priv->popup_window);
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->button),
FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]