Silence some "defined but not used" warnigs when crosscompiling
This commit is contained in:
parent
870ecca738
commit
78a317d42f
2 changed files with 6 additions and 0 deletions
|
@ -1444,7 +1444,9 @@ midori_app_setup (gint *argc,
|
||||||
GtkIconSet* icon_set;
|
GtkIconSet* icon_set;
|
||||||
GtkIconFactory* factory;
|
GtkIconFactory* factory;
|
||||||
gsize i;
|
gsize i;
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
gchar* executable;
|
gchar* executable;
|
||||||
|
#endif
|
||||||
gboolean success;
|
gboolean success;
|
||||||
|
|
||||||
static GtkStockItem items[] =
|
static GtkStockItem items[] =
|
||||||
|
|
|
@ -376,10 +376,14 @@ midori_location_action_add_search_engines (MidoriLocationAction* action,
|
||||||
{
|
{
|
||||||
KatzeItem* item;
|
KatzeItem* item;
|
||||||
gint i = 0;
|
gint i = 0;
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
GtkStyle* style;
|
GtkStyle* style;
|
||||||
|
#endif
|
||||||
|
|
||||||
gtk_widget_realize (action->treeview);
|
gtk_widget_realize (action->treeview);
|
||||||
|
#ifndef G_OS_WIN32
|
||||||
style = gtk_widget_get_style (action->treeview);
|
style = gtk_widget_get_style (action->treeview);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* FIXME: choose 3 most frequently except for default */
|
/* FIXME: choose 3 most frequently except for default */
|
||||||
KATZE_ARRAY_FOREACH_ITEM (item, action->search_engines)
|
KATZE_ARRAY_FOREACH_ITEM (item, action->search_engines)
|
||||||
|
|
Loading…
Reference in a new issue