forked from AuroraMiddleware/gtk
Move a constant string to rodata
This commit is contained in:
parent
6a46f2050e
commit
c7f1892ef8
@ -1,3 +1,7 @@
|
||||
2006-04-03 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmime.[hc]: Move xdg_mime_type_unknown to .rodata.
|
||||
|
||||
2006-03-06 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* xdgmimemagic.c: Remove superfluous extern errno
|
||||
|
@ -60,7 +60,7 @@ static XdgCallbackList *callback_list = NULL;
|
||||
XdgMimeCache **_caches = NULL;
|
||||
static int n_caches = 0;
|
||||
|
||||
const char *xdg_mime_type_unknown = "application/octet-stream";
|
||||
const char xdg_mime_type_unknown[] = "application/octet-stream";
|
||||
|
||||
|
||||
enum
|
||||
|
@ -65,7 +65,7 @@ typedef void (*XdgMimeDestroy) (void *user_data);
|
||||
#define xdg_mime_type_unknown XDG_ENTRY(type_unknown)
|
||||
#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,
|
||||
|
Loading…
Reference in New Issue
Block a user