[glib] don't make strings const when they are not
- From: Benjamin Otte <otte src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] don't make strings const when they are not
- Date: Fri, 12 Jun 2009 09:58:22 -0400 (EDT)
commit 3e3e3c29469f03ec7f141b2522accdb7c2acd59d
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]