summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-01 16:59:02 +0300
committermonsta <[email protected]>2016-02-01 16:59:02 +0300
commit67c2e0ec70da71192964acdba4a828691aa5f5c7 (patch)
tree36cccf280ee64a24c6e6b2d693fbe556449e26a7
parent5b56a80e6d57e2d4d1236dfcd7683f377d29bb5c (diff)
downloadcaja-67c2e0ec70da71192964acdba4a828691aa5f5c7.tar.bz2
caja-67c2e0ec70da71192964acdba4a828691aa5f5c7.tar.xz
fix several build warnings
-rw-r--r--libcaja-private/caja-customization-data.c1
-rw-r--r--libcaja-private/caja-extensions.c2
-rw-r--r--libcaja-private/caja-extensions.h2
-rw-r--r--libcaja-private/caja-module.c1
-rw-r--r--src/caja-application.c1
-rw-r--r--src/caja-property-browser.c1
6 files changed, 6 insertions, 2 deletions
diff --git a/libcaja-private/caja-customization-data.c b/libcaja-private/caja-customization-data.c
index c88871a9..0302323d 100644
--- a/libcaja-private/caja-customization-data.c
+++ b/libcaja-private/caja-customization-data.c
@@ -33,6 +33,7 @@
#include <eel/eel-gdk-extensions.h>
#include <eel/eel-gdk-pixbuf-extensions.h>
#include <eel/eel-gtk-extensions.h>
+#include <eel/eel-string.h>
#include <eel/eel-vfs-extensions.h>
#include <eel/eel-xml-extensions.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
diff --git a/libcaja-private/caja-extensions.c b/libcaja-private/caja-extensions.c
index 7f4791ec..ef23a3c1 100644
--- a/libcaja-private/caja-extensions.c
+++ b/libcaja-private/caja-extensions.c
@@ -33,7 +33,7 @@
static GList *caja_extensions = NULL;
-Extension *
+static Extension *
extension_new (gchar *filename, gboolean state, GObject *module)
{
Extension *ext;
diff --git a/libcaja-private/caja-extensions.h b/libcaja-private/caja-extensions.h
index 88176bb2..13fa99c3 100644
--- a/libcaja-private/caja-extensions.h
+++ b/libcaja-private/caja-extensions.h
@@ -44,10 +44,10 @@ typedef struct _Extension {
void caja_extension_register (gchar *filename, GObject *module);
-void caja_extensions_setup (void);
GList *caja_extensions_get_list (void);
GList *caja_extensions_get_for_type (GType type);
+gboolean caja_extension_set_state (Extension *ext, gboolean new_state);
#endif // CAJA_EXTENSIONS_H
diff --git a/libcaja-private/caja-module.c b/libcaja-private/caja-module.c
index 07951498..7f4dd895 100644
--- a/libcaja-private/caja-module.c
+++ b/libcaja-private/caja-module.c
@@ -27,6 +27,7 @@
#include <eel/eel-gtk-macros.h>
#include <eel/eel-debug.h>
#include <gmodule.h>
+#include <libcaja-private/caja-extensions.h>
#define CAJA_TYPE_MODULE (caja_module_get_type ())
#define CAJA_MODULE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CAJA_TYPE_MODULE, CajaModule))
diff --git a/src/caja-application.c b/src/caja-application.c
index a25ac180..3d2d87bf 100644
--- a/src/caja-application.c
+++ b/src/caja-application.c
@@ -68,6 +68,7 @@
#include <libcaja-private/caja-file-utilities.h>
#include <libcaja-private/caja-global-preferences.h>
#include <libcaja-private/caja-extensions.h>
+#include <libcaja-private/caja-module.h>
#include <libcaja-private/caja-desktop-link-monitor.h>
#include <libcaja-private/caja-directory-private.h>
#include <libcaja-private/caja-signaller.h>
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 6a9f4dd7..5b64de76 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -34,6 +34,7 @@
#include <eel/eel-gdk-extensions.h>
#include <eel/eel-gdk-pixbuf-extensions.h>
+#include <eel/eel-glib-extensions.h>
#include <eel/eel-gtk-extensions.h>
#include <eel/eel-image-table.h>
#include <eel/eel-labeled-image.h>