[glib/glib-2-20] Avoid some compiler warnings.



commit 408950287d283963cf221c6e7619792447ba73aa
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jul 10 13:13:18 2009 -0400

    Avoid some compiler warnings.

 gobject/gtype.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gtype.c b/gobject/gtype.c
index f2442ea..c6dff7f 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -582,7 +582,7 @@ type_lookup_prerequisite_L (TypeNode *iface,
   return FALSE;
 }
 
-static gchar*
+static const gchar*
 type_descriptive_name_I (GType type)
 {
   if (type)



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