summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 23:42:51 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-29 23:42:51 +0000
commit464d2bc5b79f809977a2707060f9540bba38b1d6 (patch)
tree9132aa60a8caa6701e9575cf4473ace7f8e6a5c6 /views
parentc32bca69a02aee3306603e5a211a03dd220f6102 (diff)
downloadchromium_src-464d2bc5b79f809977a2707060f9540bba38b1d6.zip
chromium_src-464d2bc5b79f809977a2707060f9540bba38b1d6.tar.gz
chromium_src-464d2bc5b79f809977a2707060f9540bba38b1d6.tar.bz2
Fixes bad event signal name that was leading to crash.
BUG=none TEST=none TBR=ben Review URL: http://codereview.chromium.org/118037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17264 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/widget/widget_gtk.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index c021a84..876a130 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -119,9 +119,8 @@ void WidgetGtk::Init(GtkWidget* parent,
G_CALLBACK(CallButtonPress), NULL);
g_signal_connect(G_OBJECT(child_widget_parent_), "button_release_event",
G_CALLBACK(CallButtonRelease), NULL);
- // TODO(sky): this crashes, fix it!
- // g_signal_connect(G_OBJECT(child_widget_parent_), "grab_broke_event",
- // G_CALLBACK(CallGrabBrokeEvent), NULL);
+ g_signal_connect(G_OBJECT(child_widget_parent_), "grab_broken_event",
+ G_CALLBACK(CallGrabBrokeEvent), NULL);
g_signal_connect(G_OBJECT(child_widget_parent_), "grab_notify",
G_CALLBACK(CallGrabNotify), NULL);
g_signal_connect(G_OBJECT(child_widget_parent_), "focus_out_event",