summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.build.yml2
-rw-r--r--.travis.yml2
-rw-r--r--gksu/libcaja-gksu.c2
-rw-r--r--sendto/caja-sendto-command.c3
-rw-r--r--share/shares.c3
5 files changed, 5 insertions, 7 deletions
diff --git a/.build.yml b/.build.yml
index 66496c4..f9ede2b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -113,7 +113,7 @@ before_scripts:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - export CFLAGS+=" -Wsign-compare -Wunused-macros -Wunused-parameter"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
diff --git a/.travis.yml b/.travis.yml
index 512d7b5..68d738f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ script:
notifications:
irc:
- if: branch = master AND
+ if: (tag OR branch = master) AND
repo = "mate-desktop/caja-extensions"
channels:
- "irc.freenode.org#mate-dev"
diff --git a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
index 18c8db1..5eaa021 100644
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -16,7 +16,7 @@
#define _(x) dgettext (GETTEXT_PACKAGE, x)
#define GKSU_TYPE_CONTEXT_MENU (gksu_context_menu_get_type ())
-#define GKSU_CONTEXT_MENU(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GKSU_TYPE_CONTEXT_MENU))
+
typedef struct {
GObject parent;
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c
index f1f7397..641ea03 100644
--- a/sendto/caja-sendto-command.c
+++ b/sendto/caja-sendto-command.c
@@ -34,10 +34,9 @@
#define CAJA_SENDTO_STATUS_LABEL_TIMEOUT_SECONDS 10
#define UNINSTALLED_PLUGINDIR "plugins/removable-devices"
-#define UNINSTALLED_SOURCE "caja-sendto-command.c"
#define SOEXT ("." G_MODULE_SUFFIX)
-#define SOEXT_LEN (strlen (SOEXT))
+
enum {
COLUMN_ICON,
diff --git a/share/shares.c b/share/shares.c
index 2e39d56..927de49 100644
--- a/share/shares.c
+++ b/share/shares.c
@@ -25,8 +25,7 @@ static time_t refresh_timestamp;
#define KEY_COMMENT "comment"
#define KEY_ACL "usershare_acl"
#define KEY_GUEST_OK "guest_ok"
-#define GROUP_ALLOW_GUESTS "global"
-#define KEY_ALLOW_GUESTS "usershare allow guests"
+
/* Debugging flags */
static gboolean throw_error_on_refresh;