From 464d2bc5b79f809977a2707060f9540bba38b1d6 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Fri, 29 May 2009 23:42:51 +0000 Subject: 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 --- views/widget/widget_gtk.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'views') 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", -- cgit v1.1