[gtk+] Fix another compiler warning about unused variables



commit 2b631739c0e90f6795772e400a03f08b4d6f3d49
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Jan 30 01:53:49 2011 -0500

    Fix another compiler warning about unused variables

 gtk/tests/builder.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/tests/builder.c b/gtk/tests/builder.c
index 1c0acaa..6da3279 100644
--- a/gtk/tests/builder.c
+++ b/gtk/tests/builder.c
@@ -2503,11 +2503,9 @@ test_file (const gchar *filename)
 
       if (GTK_IS_DIALOG (obj))
 	{
-	  int response;
-
 	  g_print ("Running dialog %s.\n",
 		   gtk_widget_get_name (GTK_WIDGET (obj)));
-	  response = gtk_dialog_run (GTK_DIALOG (obj));
+	  gtk_dialog_run (GTK_DIALOG (obj));
 	}
       else if (GTK_IS_WINDOW (obj))
 	{



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