summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/gtk/find_bar_gtk.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/gtk/find_bar_gtk.cc b/chrome/browser/gtk/find_bar_gtk.cc
index 56dc7cc..114dcbb 100644
--- a/chrome/browser/gtk/find_bar_gtk.cc
+++ b/chrome/browser/gtk/find_bar_gtk.cc
@@ -180,10 +180,10 @@ FindBarGtk::FindBarGtk(Browser* browser)
// widget will be realized.
g_signal_connect(text_entry_, "changed",
G_CALLBACK(OnChanged), this);
- g_signal_connect(text_entry_, "key-press-event",
- G_CALLBACK(OnKeyPressEvent), this);
- g_signal_connect(text_entry_, "key-release-event",
- G_CALLBACK(OnKeyReleaseEvent), this);
+ g_signal_connect_after(text_entry_, "key-press-event",
+ G_CALLBACK(OnKeyPressEvent), this);
+ g_signal_connect_after(text_entry_, "key-release-event",
+ G_CALLBACK(OnKeyReleaseEvent), this);
// When the user tabs to us or clicks on us, save where the focus used to
// be.
g_signal_connect(text_entry_, "focus",