Test activation and deactivation of extensions

This commit is contained in:
Christian Dywan 2011-01-16 14:04:56 +01:00
parent 03b146386e
commit 9a806a8ca2

View file

@ -172,8 +172,8 @@ extension_activate (gconstpointer data)
{
MidoriApp* app = midori_app_new ();
MidoriExtension* extension = MIDORI_EXTENSION (data);
/* g_signal_emit_by_name (extension, "activate", app);
midori_extension_deactivate (extension); */
g_signal_emit_by_name (extension, "activate", app);
midori_extension_deactivate (extension);
g_object_unref (app);
}