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;
|
||||
GtkIconFactory* factory;
|
||||
gsize i;
|
||||
#ifndef G_OS_WIN32
|
||||
gchar* executable;
|
||||
#endif
|
||||
gboolean success;
|
||||
|
||||
static GtkStockItem items[] =
|
||||
|
|
|
@ -376,10 +376,14 @@ midori_location_action_add_search_engines (MidoriLocationAction* action,
|
|||
{
|
||||
KatzeItem* item;
|
||||
gint i = 0;
|
||||
#ifndef G_OS_WIN32
|
||||
GtkStyle* style;
|
||||
#endif
|
||||
|
||||
gtk_widget_realize (action->treeview);
|
||||
#ifndef G_OS_WIN32
|
||||
style = gtk_widget_get_style (action->treeview);
|
||||
#endif
|
||||
|
||||
/* FIXME: choose 3 most frequently except for default */
|
||||
KATZE_ARRAY_FOREACH_ITEM (item, action->search_engines)
|
||||
|
|
Loading…
Reference in a new issue