summaryrefslogtreecommitdiff
path: root/src/caja-main.c
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-14 16:28:27 -0400
committerlukefromdc <[email protected]>2016-10-14 16:28:27 -0400
commita4822f6221c000f4db2a38a8b63e22ff64f6ee7e (patch)
tree1e23e11ab8451341a381c76f9c853b7742d46741 /src/caja-main.c
parent15a9e9a073a799341c18ace6b568e5317135056c (diff)
downloadcaja-a4822f6221c000f4db2a38a8b63e22ff64f6ee7e.tar.bz2
caja-a4822f6221c000f4db2a38a8b63e22ff64f6ee7e.tar.xz
GTK2: Use emanuele-f 's patch for build failure, fix build w/o libunique
Apply https://github.com/mate-desktop/caja/pull/658/commits/4b36a91af42d8efe0f594a95d28ab8448fd73b31 then fix the selectors in source files to use the boolean selectors for libunique
Diffstat (limited to 'src/caja-main.c')
-rw-r--r--src/caja-main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/caja-main.c b/src/caja-main.c
index 6b411887..51ecbd93 100644
--- a/src/caja-main.c
+++ b/src/caja-main.c
@@ -29,7 +29,7 @@
#include <config.h>
#include "caja-main.h"
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
#include "caja-application.h"
#include "caja-self-check-functions.h"
#endif
@@ -39,7 +39,7 @@
#include <eel/eel-debug.h>
#include <eel/eel-glib-extensions.h>
#include <eel/eel-self-checks.h>
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
#include <libegg/eggsmclient.h>
#endif
#include <libegg/eggdesktopfile.h>
@@ -49,7 +49,7 @@
#include <gio/gdesktopappinfo.h>
#include <libcaja-private/caja-debug-log.h>
#include <libcaja-private/caja-global-preferences.h>
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
#include <libcaja-private/caja-lib-self-check-functions.h>
#endif
#include <libcaja-private/caja-icon-names.h>
@@ -68,7 +68,7 @@
#include <exempi/xmp.h>
#endif
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
/* Keeps track of everyone who wants the main event loop kept active */
static GSList* event_loop_registrants;
@@ -334,7 +334,7 @@ running_as_root (void)
{
return geteuid () == 0;
}
-#if ENABLE_LIBUNIQUE == (0)
+#if ENABLE_LIBUNIQUE == (FALSE)
int
main (int argc, char *argv[])
{