[gtk+] tests: Make variable const to silence gcc



commit 2108e4230689ce78177a974b2d1ee5072110571d
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jun 1 16:52:34 2011 +0200

    tests: Make variable const to silence gcc

 tests/testcalendar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testcalendar.c b/tests/testcalendar.c
index a71b5cc..2b0d162 100644
--- a/tests/testcalendar.c
+++ b/tests/testcalendar.c
@@ -397,7 +397,7 @@ create_calendar(void)
 
   GtkSizeGroup *size;
   GtkStyleContext *context;
-  PangoFontDescription *font_desc;
+  const PangoFontDescription *font_desc;
   gchar *font;
   gint i;
   



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