diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c index 8a92a220c1..f11ce73264 100644 --- a/gtk/gtksearchengine.c +++ b/gtk/gtksearchengine.c @@ -350,9 +350,9 @@ static void connect_engine_signals (GtkSearchEngine *engine, gpointer data) { - g_signal_connect (engine, "hits-added", G_CALLBACK (hits_added), data); - g_signal_connect (engine, "finished", G_CALLBACK (finished), data); - g_signal_connect (engine, "error", G_CALLBACK (error), data); + g_signal_connect_object (engine, "hits-added", G_CALLBACK (hits_added), data, 0); + g_signal_connect_object (engine, "finished", G_CALLBACK (finished), data, 0); + g_signal_connect_object (engine, "error", G_CALLBACK (error), data, 0); } GtkSearchEngine *