An extension_init returning NULL is no test error
This commit is contained in:
parent
975c244622
commit
532fa299d4
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ extension_activate (gconstpointer data)
|
|||
{
|
||||
MidoriApp* app = midori_app_new ();
|
||||
MidoriExtension* extension = MIDORI_EXTENSION (data);
|
||||
if (extension == NULL)
|
||||
return;
|
||||
g_object_set (app, "settings", midori_web_settings_new (), NULL);
|
||||
g_signal_emit_by_name (extension, "activate", app);
|
||||
midori_extension_deactivate (extension);
|
||||
|
|
Loading…
Reference in a new issue