diff --git a/extensions/toolbar-editor.c b/extensions/toolbar-editor.c index 13c51b81..b8b0e005 100644 --- a/extensions/toolbar-editor.c +++ b/extensions/toolbar-editor.c @@ -13,8 +13,6 @@ #include "config.h" -#if !HAVE_HILDON - typedef struct { GtkWidget *dialog; @@ -604,24 +602,16 @@ static void tb_editor_activate_cb(MidoriExtension *extension, MidoriApp *app) g_object_unref(browsers); } -#endif - MidoriExtension *extension_init(void) { MidoriExtension* extension = g_object_new(MIDORI_TYPE_EXTENSION, "name", _("Toolbar Editor"), - #if !HAVE_HILDON "description", _("Easily edit the toolbar layout"), "version", "0.1", - #else - "description", _("Not available on this platform"), - #endif "authors", "Enrico Tröger ", NULL); - #if !HAVE_HILDON g_signal_connect(extension, "activate", G_CALLBACK(tb_editor_activate_cb), NULL); - #endif return extension; }