[glib/glib-2-20] don't make strings const when they are not



commit 3eb432314906f154be7db71a99554972328d0a32
Author: Benjamin Otte <otte gnome org>
Date:   Fri Jun 12 15:57:12 2009 +0200

    don't make strings const when they are not
    
    gets rid of compiler warnings

 gio/gdesktopappinfo.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index f0a0bbc..6b6107c 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -843,8 +843,8 @@ uri_list_segment_to_files (GList *start,
 
 typedef struct
 {
-  const char *display;
-  const char *sn_id;
+  char *display;
+  char *sn_id;
 } ChildSetupData;
 
 static void



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