]> spindle.queued.net Git - midori/commitdiff
Wrap panel title callback in Hildon guards
authorChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:26:35 +0000 (23:26 +0200)
committerChristian Dywan <christian@twotoasts.de>
Thu, 22 Oct 2009 21:26:35 +0000 (23:26 +0200)
midori/midori-panel.c

index 1368017515125cb1a8eaa9199ae22adc27639b47..c77c9ecb7d9839ad59e01e42a459a476ef2661e5 100644 (file)
@@ -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,