summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-08-12 02:16:57 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-09-01 19:54:32 +0200
commit8e36e51f8644666967d4b95ba6ad9d4c0ef1164f (patch)
tree303bed74ade02f555a848a027199bd18d1d85e94
parenta410e486f7ada2059bf50d701f806938fe315a04 (diff)
downloadcaja-extensions-8e36e51f8644666967d4b95ba6ad9d4c0ef1164f.tar.bz2
caja-extensions-8e36e51f8644666967d4b95ba6ad9d4c0ef1164f.tar.xz
Remove unused macros
-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;