summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gksu/libcaja-gksu.c2
-rw-r--r--sendto/caja-sendto-command.c3
-rw-r--r--share/shares.c3
3 files changed, 3 insertions, 5 deletions
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;