Work around G_CONST_RETURN use in unique.h
This commit is contained in:
parent
8c14613673
commit
77796803c5
1 changed files with 6 additions and 0 deletions
|
@ -37,7 +37,13 @@
|
|||
#elif HAVE_UNIQUE
|
||||
typedef gpointer MidoriAppInstance;
|
||||
#define MidoriAppInstanceNull NULL
|
||||
#if defined(G_DISABLE_DEPRECATED) && !defined(G_CONST_RETURN)
|
||||
#define G_CONST_RETURN
|
||||
#endif
|
||||
#include <unique/unique.h>
|
||||
#ifdef G_DISABLE_DEPRECATED
|
||||
#undef G_CONST_RETUTN
|
||||
#endif
|
||||
#define MIDORI_UNIQUE_COMMAND 1
|
||||
#else
|
||||
typedef gint MidoriAppInstance;
|
||||
|
|
Loading…
Reference in a new issue