diff options
Diffstat (limited to 'src/ephy-go-action.c')
-rw-r--r-- | src/ephy-go-action.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ephy-go-action.c b/src/ephy-go-action.c index 7373df52d..5c5b52e62 100644 --- a/src/ephy-go-action.c +++ b/src/ephy-go-action.c @@ -67,9 +67,8 @@ connect_proxy (GtkAction *action, if (GTK_IS_TOOL_ITEM (proxy)) { - g_signal_connect (GTK_BIN (proxy)->child, "button-release-event", - G_CALLBACK (button_clicked_cb), action - ); + g_signal_connect (gtk_bin_get_child (GTK_BIN (proxy)), "button-release-event", + G_CALLBACK (button_clicked_cb), action); } } |