[Xfce4-commits] <midori:master> Remove conditionals to disable Toolbar Editor on Hildon

Christian Dywan noreply at xfce.org
Sat Feb 6 17:38:01 CET 2010


Updating branch refs/heads/master
         to 8414836c7693e82ac16f3dd40381c1ac7063ec74 (commit)
       from 9b468c5654d0029af7680179496c24ec83a9fad6 (commit)

commit 8414836c7693e82ac16f3dd40381c1ac7063ec74
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Feb 6 17:37:15 2010 +0100

    Remove conditionals to disable Toolbar Editor on Hildon

 extensions/toolbar-editor.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/extensions/toolbar-editor.c b/extensions/toolbar-editor.c
index 13c51b8..b8b0e00 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 <enrico(dot)troeger(at)uvena(dot)de>",
 		NULL);
 
-	#if !HAVE_HILDON
 	g_signal_connect(extension, "activate", G_CALLBACK(tb_editor_activate_cb), NULL);
-	#endif
 
 	return extension;
 }



More information about the Xfce4-commits mailing list