summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorManish Singh <yosh@gimp.org>2005-03-01 22:00:03 +0000
committerManish Singh <yosh@src.gnome.org>2005-03-01 22:00:03 +0000
commit5fed4b4afd515c81022e0357f5e01240327c170b (patch)
tree506f4984603ccca17afd79b4f0da7ca9d43554a4 /gtk
parentaf58a0dbd819e776508420dc1d7535da49486b98 (diff)
downloadgtk+-5fed4b4afd515c81022e0357f5e01240327c170b.tar.gz
revert previous change, maintain ABI.
Tue Mar 1 13:53:56 2005 Manish Singh <yosh@gimp.org> * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/xdgmime/xdgmime.c2
-rw-r--r--gtk/xdgmime/xdgmime.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/xdgmime/xdgmime.c b/gtk/xdgmime/xdgmime.c
index a63791b251..46798aea33 100644
--- a/gtk/xdgmime/xdgmime.c
+++ b/gtk/xdgmime/xdgmime.c
@@ -55,7 +55,7 @@ static XdgAliasList *alias_list = NULL;
static XdgParentList *parent_list = NULL;
static XdgDirTimeList *dir_time_list = NULL;
static XdgCallbackList *callback_list = NULL;
-const char xdg_mime_type_unknown[] = "application/octet-stream";
+const char *xdg_mime_type_unknown = "application/octet-stream";
enum
diff --git a/gtk/xdgmime/xdgmime.h b/gtk/xdgmime/xdgmime.h
index 4bd14ee38f..db69b1243f 100644
--- a/gtk/xdgmime/xdgmime.h
+++ b/gtk/xdgmime/xdgmime.h
@@ -63,7 +63,7 @@ typedef void (*XdgMimeDestroy) (void *user_data);
#define xdg_mime_dump XDG_ENTRY(dump)
#endif
-extern const char xdg_mime_type_unknown[];
+extern const char *xdg_mime_type_unknown;
#define XDG_MIME_TYPE_UNKNOWN xdg_mime_type_unknown
const char *xdg_mime_get_mime_type_for_data (const void *data,