[gdl] bgo #699545 - Can't grab or focus widgets after moving around the docks (Ubuntu-specific)
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdl] bgo #699545 - Can't grab or focus widgets after moving around the docks (Ubuntu-specific)
- Date: Fri, 21 Jun 2013 20:15:59 +0000 (UTC)
commit 4f27932f65f8a6b9694c45f0db19e84ba4ff68b9
Author: Sébastien Granjoux <seb sfo free fr>
Date: Wed Jun 19 22:29:42 2013 +0200
bgo #699545 - Can't grab or focus widgets after moving around the docks (Ubuntu-specific)
gdl/gdl-dock-item.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdl/gdl-dock-item.c b/gdl/gdl-dock-item.c
index 1f868c1..6b6c3cd 100644
--- a/gdl/gdl-dock-item.c
+++ b/gdl/gdl-dock-item.c
@@ -1774,7 +1774,7 @@ gdl_dock_item_drag_end (GdlDockItem *item,
{
if (item->priv->in_drag) {
/* Release pointer & keyboard. */
- gtk_grab_remove (gtk_grab_get_current ());
+ gtk_grab_remove (GTK_WIDGET (item));
g_signal_emit (item, gdl_dock_item_signals [DOCK_DRAG_END], 0, cancel);
gtk_widget_grab_focus (GTK_WIDGET (item));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]