Silence some "defined but not used" warnigs when crosscompiling

This commit is contained in:
Paweł Forysiuk 2012-08-10 22:11:49 +02:00 committed by Christian Dywan
parent 870ecca738
commit 78a317d42f
2 changed files with 6 additions and 0 deletions

View file

@ -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[] =

View file

@ -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)