Don't try to setup search engines when unsetting

This commit is contained in:
Christian Dywan 2009-02-22 00:13:00 +01:00
parent 758d5e1a1b
commit 3baab132b9

View file

@ -648,6 +648,8 @@ midori_search_action_set_search_engines (MidoriSearchAction* search_action,
if (search_engines)
g_object_ref (search_engines);
katze_object_assign (search_action->search_engines, search_engines);
if (!search_engines)
return;
g_object_connect (search_engines,
"signal-after::add-item",