summaryrefslogtreecommitdiff
path: root/src/caja-application.h
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-10-14 19:08:08 -0400
committerGitHub <[email protected]>2016-10-14 19:08:08 -0400
commit682877311e273282314ce40fc925209cd719a5af (patch)
tree1e23e11ab8451341a381c76f9c853b7742d46741 /src/caja-application.h
parentc27cc572f8f33bdfbbc3dfea8786d05a1818b910 (diff)
parenta4822f6221c000f4db2a38a8b63e22ff64f6ee7e (diff)
downloadcaja-682877311e273282314ce40fc925209cd719a5af.tar.bz2
caja-682877311e273282314ce40fc925209cd719a5af.tar.xz
Merge pull request #661 from lukefromdc/dev-gtk2fix-maybe
Fix GTK2 builds
Diffstat (limited to 'src/caja-application.h')
-rw-r--r--src/caja-application.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/caja-application.h b/src/caja-application.h
index 6eb54138..7aeaa8a4 100644
--- a/src/caja-application.h
+++ b/src/caja-application.h
@@ -27,10 +27,11 @@
#ifndef CAJA_APPLICATION_H
#define CAJA_APPLICATION_H
+#include <config.h>
#include <gdk/gdk.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
#include <unique/unique.h>
#endif
#include <libegg/eggsmclient.h>
@@ -60,7 +61,7 @@ typedef struct CajaWindow CajaWindow;
typedef struct _CajaSpatialWindow CajaSpatialWindow;
#endif
-#if ENABLE_LIBUNIQUE == (0)
+#if ENABLE_LIBUNIQUE == (FALSE)
typedef struct _CajaApplicationPriv CajaApplicationPriv;
#else
typedef struct CajaShell CajaShell;
@@ -68,7 +69,7 @@ typedef struct CajaShell CajaShell;
typedef struct
{
-#if ENABLE_LIBUNIQUE == (0)
+#if ENABLE_LIBUNIQUE == (FALSE)
GtkApplication parent;
CajaApplicationPriv *priv;
#else
@@ -85,7 +86,7 @@ typedef struct
} CajaApplication;
-#if ENABLE_LIBUNIQUE == (0)
+#if ENABLE_LIBUNIQUE == (FALSE)
typedef struct
{
GtkApplicationClass parent_class;
@@ -121,18 +122,18 @@ CajaWindow * caja_application_get_spatial_window (CajaApplication *appli
gboolean *existing);
CajaWindow * caja_application_create_navigation_window (CajaApplication *application,
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
const char *startup_id,
#endif
GdkScreen *screen);
-#if ENABLE_LIBUNIQUE == (0)
+#if ENABLE_LIBUNIQUE == (FALSE)
void caja_application_close_all_navigation_windows (CajaApplication *self);
#else
void caja_application_close_all_navigation_windows (void);
#endif
void caja_application_close_parent_windows (CajaSpatialWindow *window);
void caja_application_close_all_spatial_windows (void);
-#if ENABLE_LIBUNIQUE == (1)
+#if ENABLE_LIBUNIQUE == (TRUE)
void caja_application_open_desktop (CajaApplication *application);
void caja_application_close_desktop (void);
gboolean caja_application_save_accel_map (gpointer data);