summaryrefslogtreecommitdiff
path: root/libcaja-private
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 /libcaja-private
parent5b56a80e6d57e2d4d1236dfcd7683f377d29bb5c (diff)
downloadcaja-67c2e0ec70da71192964acdba4a828691aa5f5c7.tar.bz2
caja-67c2e0ec70da71192964acdba4a828691aa5f5c7.tar.xz
fix several build warnings
Diffstat (limited to 'libcaja-private')
-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
4 files changed, 4 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))