Wrap panel title callback in Hildon guards
This commit is contained in:
parent
e4dbbf8a27
commit
7c1caed409
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue