[gtk+] More compiler warnings silenced



commit cb6e036d67abea65e7232414336cc5f1a71d2655
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 30 01:59:12 2011 -0500

    More compiler warnings silenced

 gtk/tests/filtermodel.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gtk/tests/filtermodel.c b/gtk/tests/filtermodel.c
index fdfc4a1..91daaf9 100644
--- a/gtk/tests/filtermodel.c
+++ b/gtk/tests/filtermodel.c
@@ -2317,7 +2317,7 @@ specific_filter_add_child (void)
   GtkTreeIter iter_first;
   GtkTreeIter child;
   GtkTreeStore *store;
-  GtkTreeModel *filter;
+  GtkTreeModel *filter G_GNUC_UNUSED;
 
   store = gtk_tree_store_new (1, G_TYPE_STRING);
 
@@ -2346,7 +2346,7 @@ specific_list_store_clear (void)
   GtkTreeIter iter;
   GtkListStore *list;
   GtkTreeModel *filter;
-  GtkWidget *view;
+  GtkWidget *view G_GNUC_UNUSED;
 
   list = gtk_list_store_new (1, G_TYPE_INT);
   gtk_list_store_insert_with_values (list, &iter, 0, 0, 1, -1);
@@ -2429,7 +2429,7 @@ specific_bug_301558 (void)
   GtkTreeModel *filter;
   GtkTreeModel *sort;
   GtkTreeIter root, iter, iter2;
-  GtkWidget *view;
+  GtkWidget *view G_GNUC_UNUSED;
   int i;
   gboolean add;
 
@@ -2501,7 +2501,7 @@ specific_bug_311955 (void)
   GtkTreeModel *sort;
   GtkTreeModel *filter;
 
-  GtkWidget *window;
+  GtkWidget *window G_GNUC_UNUSED;
   GtkWidget *tree_view;
   int i;
   int n;
@@ -2680,7 +2680,7 @@ specific_bug_464173 (void)
   GtkTreeStore *model;
   GtkTreeModelFilter *f_model;
   GtkTreeIter iter1, iter2;
-  GtkWidget *view;
+  GtkWidget *view G_GNUC_UNUSED;
   gboolean visible = TRUE;
 
   model = gtk_tree_store_new (1, G_TYPE_STRING);
@@ -2723,7 +2723,7 @@ specific_bug_540201 (void)
   GtkTreeStore *store;
   GtkTreeModel *filter;
 
-  GtkWidget *tree_view;
+  GtkWidget *tree_view G_GNUC_UNUSED;
 
   store = gtk_tree_store_new (1, G_TYPE_INT);
 
@@ -2772,7 +2772,7 @@ specific_bug_549287 (void)
   int i;
   GtkTreeStore *store;
   GtkTreeModel *filtered;
-  GtkWidget *view;
+  GtkWidget *view G_GNUC_UNUSED;
   GtkTreeIter iter;
   GtkTreeIter *swap, *parent, *child;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]