[gtk+/gestures: 58/202] combobox: remove superfluous GTK+ grabs
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gestures: 58/202] combobox: remove superfluous GTK+ grabs
- Date: Fri, 23 May 2014 18:01:15 +0000 (UTC)
commit 46b4e5d38877197503f802380e5c9a469218f99b
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 0d6b2d5..4de54ac 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -2473,7 +2473,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;
@@ -2551,7 +2550,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]