summaryrefslogtreecommitdiff
path: root/libcaja-extension
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2016-11-22 15:02:51 -0500
committerlukefromdc <[email protected]>2016-11-22 15:02:51 -0500
commit276eb145ce96d5f75f8d3901daf6310f60ddbb81 (patch)
tree544f41e76c9a91973867065696fc2e414ca60170 /libcaja-extension
parent969e4d021fe49654fe6e5ee7e88c920fec126505 (diff)
downloadcaja-276eb145ce96d5f75f8d3901daf6310f60ddbb81.tar.bz2
caja-276eb145ce96d5f75f8d3901daf6310f60ddbb81.tar.xz
move to GTK+3 (>= 3.14), drop libunique, GTK+2 code, and --with-gtk build option
*Remove GTK_VERSION_CHECK (3, 0, 0) and libunique selectors *Remove GTK2 and libunique specific code. *Leaves selector for specific GTK3 versions. *Remove #DEFINES for vbox/hbox previously required for GTK2 compatability *Keep vbox in caja-spatial-window.c, it is necessary for the desktop to work *spatial-window vbox issue at https://github.com/mate-desktop/caja/issues/591
Diffstat (limited to 'libcaja-extension')
-rw-r--r--libcaja-extension/Makefile.am3
-rw-r--r--libcaja-extension/libcaja-extension-uninstalled.pc.in2
-rw-r--r--libcaja-extension/libcaja-extension.pc.in2
3 files changed, 3 insertions, 4 deletions
diff --git a/libcaja-extension/Makefile.am b/libcaja-extension/Makefile.am
index 452528ff..03b24d82 100644
--- a/libcaja-extension/Makefile.am
+++ b/libcaja-extension/Makefile.am
@@ -11,7 +11,6 @@ AM_CPPFLAGS = \
$(WARNING_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) \
-DDATADIR=\""$(datadir)"\" \
- $(UNIQUE_CFLAGS) \
$(NULL)
libcaja_extension_la_LDFLAGS=\
@@ -70,7 +69,7 @@ introspection_files = \
$(libcaja_extension_include_HEADERS) \
$(libcaja_extension_la_SOURCES)
Caja-2.0.gir: libcaja-extension.la Makefile
-Caja_2_0_gir_INCLUDES = Gtk-${GTK_API_VERSION} Gio-2.0 GLib-2.0
+Caja_2_0_gir_INCLUDES = Gtk-3.0 Gio-2.0 GLib-2.0
Caja_2_0_gir_CFLAGS = \
-I$(top_srcdir) \
-I$(top_builddir) \
diff --git a/libcaja-extension/libcaja-extension-uninstalled.pc.in b/libcaja-extension/libcaja-extension-uninstalled.pc.in
index 1b156530..9a4b6695 100644
--- a/libcaja-extension/libcaja-extension-uninstalled.pc.in
+++ b/libcaja-extension/libcaja-extension-uninstalled.pc.in
@@ -7,6 +7,6 @@ extensiondir=@libdir@/caja/extensions-2.0
Name: libcaja-extension
Description: A library to create Caja view extensions
Version: @VERSION@
-Requires: glib-2.0 gtk+-@GTK_API_VERSION@
+Requires: glib-2.0 gtk+-3.0
Libs: ${pc_top_builddir}/${pcfiledir}/libcaja-extension.la
Cflags: -I${pc_top_builddir}/${pcfiledir}/..
diff --git a/libcaja-extension/libcaja-extension.pc.in b/libcaja-extension/libcaja-extension.pc.in
index a5ccae7e..de36e0a8 100644
--- a/libcaja-extension/libcaja-extension.pc.in
+++ b/libcaja-extension/libcaja-extension.pc.in
@@ -7,6 +7,6 @@ extensiondir=@libdir@/caja/extensions-2.0
Name: libcaja-extension
Description: A library to create Caja view extensions
Version: @VERSION@
-Requires: glib-2.0 gio-2.0 gtk+-@GTK_API_VERSION@
+Requires: glib-2.0 gio-2.0 gtk+-3.0
Libs: -L${libdir} -lcaja-extension
Cflags: -I${includedir}/caja