[Xfce4-commits] <midori:master> Wrap panel title callback in Hildon guards

Christian Dywan noreply at xfce.org
Fri Oct 23 01:24:03 CEST 2009


Updating branch refs/heads/master
         to 7c1caed409e934fc7d44af644a0e73ab522c9f3a (commit)
       from e4dbbf8a2778503363371f6585877a2fcfe61121 (commit)

commit 7c1caed409e934fc7d44af644a0e73ab522c9f3a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Thu Oct 22 23:26:35 2009 +0200

    Wrap panel title callback in Hildon guards

 midori/midori-panel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/midori-panel.c b/midori/midori-panel.c
index 1368017..c77c9ec 100644
--- a/midori/midori-panel.c
+++ b/midori/midori-panel.c
@@ -673,12 +673,14 @@ midori_panel_construct_tool_item (MidoriPanel*    panel,
     return toolitem;
 }
 
+#if !HAVE_HILDON
 static void
 midori_panel_show_titles_toggled_cb (GtkWidget*   menuitem,
                                      MidoriPanel* panel)
 {
     g_object_set (panel, "show-titles", !panel->show_titles, NULL);
 }
+#endif
 
 static void
 midori_panel_show_controls_toggled_cb (GtkWidget*   menuitem,



More information about the Xfce4-commits mailing list