summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 17:38:15 +0200
committerraveit65 <[email protected]>2021-12-11 15:50:08 +0100
commitaa40c23a25687eb1914c7c36a7269f62de1c4040 (patch)
tree8e4b6b8311e99534ebc05b9e85ec7ceda9ba61be
parent5531df05481859b8efd9c952795759ef2c0dcad9 (diff)
downloadcaja-extensions-aa40c23a25687eb1914c7c36a7269f62de1c4040.tar.bz2
caja-extensions-aa40c23a25687eb1914c7c36a7269f62de1c4040.tar.xz
Use a blank line at most
-rw-r--r--image-converter/caja-image-converter.h1
-rw-r--r--open-terminal/caja-open-terminal.c1
-rw-r--r--open-terminal/caja-open-terminal.h1
-rw-r--r--sendto/caja-nste.c6
-rw-r--r--sendto/plugins/emailclient/emailclient.c1
-rw-r--r--sendto/plugins/gajim/gajim.c2
-rw-r--r--sendto/plugins/pidgin/pidgin.c1
-rw-r--r--share/caja-share.c6
-rw-r--r--share/caja-share.h2
-rw-r--r--share/shares.c3
-rw-r--r--wallpaper/caja-wallpaper-extension.c7
-rw-r--r--xattr-tags/caja-xattr-tags-extension.c9
12 files changed, 0 insertions, 40 deletions
diff --git a/image-converter/caja-image-converter.h b/image-converter/caja-image-converter.h
index c8beba7..ef57589 100644
--- a/image-converter/caja-image-converter.h
+++ b/image-converter/caja-image-converter.h
@@ -32,7 +32,6 @@ G_BEGIN_DECLS
* instantiated by caja. It implements the GInterfaces
* exported by libcaja. */
-
#define CAJA_TYPE_IMAGE_CONVERTER (caja_image_converter_get_type ())
#define CAJA_IMAGE_CONVERTER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_IMAGE_CONVERTER, CajaImageConverter))
#define CAJA_IS_IMAGE_CONVERTER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_IMAGE_CONVERTER))
diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c
index 45950b2..982eb14 100644
--- a/open-terminal/caja-open-terminal.c
+++ b/open-terminal/caja-open-terminal.c
@@ -261,7 +261,6 @@ append_sftp_info (char **terminal_exec,
g_assert (terminal_exec != NULL);
g_assert (file_info != NULL);
-
vfs_uri = g_file_new_for_uri (caja_file_info_get_activation_uri (file_info));
g_assert (vfs_uri != NULL);
diff --git a/open-terminal/caja-open-terminal.h b/open-terminal/caja-open-terminal.h
index c5c0dc1..21b6b36 100644
--- a/open-terminal/caja-open-terminal.h
+++ b/open-terminal/caja-open-terminal.h
@@ -32,7 +32,6 @@ G_BEGIN_DECLS
* instantiated by caja. It implements the GInterfaces
* exported by libcaja. */
-
#define CAJA_TYPE_OPEN_TERMINAL (caja_open_terminal_get_type ())
#define CAJA_OPEN_TERMINAL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), CAJA_TYPE_OPEN_TERMINAL, CajaOpenTerminal))
#define CAJA_IS_OPEN_TERMINAL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), CAJA_TYPE_OPEN_TERMINAL))
diff --git a/sendto/caja-nste.c b/sendto/caja-nste.c
index f730242..f89b8a4 100644
--- a/sendto/caja-nste.c
+++ b/sendto/caja-nste.c
@@ -99,37 +99,31 @@ caja_nste_get_file_items (CajaMenuProvider *provider,
return items;
}
-
static void
caja_nste_menu_provider_iface_init (CajaMenuProviderIface *iface)
{
iface->get_file_items = caja_nste_get_file_items;
}
-
static void
caja_nste_instance_init (CajaNste *nste)
{
}
-
static void
caja_nste_class_init (CajaNsteClass *class)
{
parent_class = g_type_class_peek_parent (class);
}
-
static GType nste_type = 0;
-
GType
caja_nste_get_type (void)
{
return nste_type;
}
-
void
caja_nste_register_type (GTypeModule *module)
{
diff --git a/sendto/plugins/emailclient/emailclient.c b/sendto/plugins/emailclient/emailclient.c
index dee9e07..e325289 100644
--- a/sendto/plugins/emailclient/emailclient.c
+++ b/sendto/plugins/emailclient/emailclient.c
@@ -60,7 +60,6 @@ get_evo_cmd (void)
NULL};
guint i;
-
for (i = 0; cmds[i] != NULL; i++) {
tmp = g_find_program_in_path (cmds[i]);
if (tmp != NULL)
diff --git a/sendto/plugins/gajim/gajim.c b/sendto/plugins/gajim/gajim.c
index 303f4ab..d80c50a 100644
--- a/sendto/plugins/gajim/gajim.c
+++ b/sendto/plugins/gajim/gajim.c
@@ -270,7 +270,6 @@ init (NstPlugin *plugin)
return TRUE;
}
-
static void
_set_pixbuf_from_status (const gchar *show, GdkPixbuf **pixbuf)
{
@@ -368,7 +367,6 @@ get_contacts_widget (NstPlugin *plugin)
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (completion), renderer,
"pixbuf", 0, NULL);
-
store = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING);
if(!add_gajim_contacts_to_model (store)) {
gtk_widget_set_sensitive(entry, FALSE);
diff --git a/sendto/plugins/pidgin/pidgin.c b/sendto/plugins/pidgin/pidgin.c
index 14cd6a7..7b7b107 100644
--- a/sendto/plugins/pidgin/pidgin.c
+++ b/sendto/plugins/pidgin/pidgin.c
@@ -385,7 +385,6 @@ gboolean send_files (NstPlugin *plugin, GtkWidget *contact_widget,
ContactData *dat;
GValue val = {0,};
-
if (proxy == NULL)
return FALSE;
diff --git a/share/caja-share.c b/share/caja-share.c
index c23c3f0..eac35ad 100644
--- a/share/caja-share.c
+++ b/share/caja-share.c
@@ -49,7 +49,6 @@
#include "shares.h"
-
#define NEED_IF_GUESTOK_MASK (S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH) /* need go+rx for guest enabled usershares */
#define NEED_IF_WRITABLE_MASK (S_IWGRP | S_IWOTH) /* writable usershares need go+w additionally*/
#define NEED_ALL_MASK (NEED_IF_GUESTOK_MASK | NEED_IF_WRITABLE_MASK)
@@ -435,7 +434,6 @@ get_fullpath_from_fileinfo(CajaFileInfo *fileinfo)
return(fullpath);
}
-
/*--------------------------------------------------------------------------*/
static void
property_page_set_warning (PropertyPage *page)
@@ -692,7 +690,6 @@ create_property_page (CajaFileInfo *fileinfo)
error = NULL;
}
-
page->ui = gtk_builder_new ();
#ifdef ENABLE_NLS
gtk_builder_set_translation_domain (page->ui, GETTEXT_PACKAGE);
@@ -885,7 +882,6 @@ get_share_status_and_free_share_info (ShareInfo *share_info)
return result;
}
-
/*--------------------------------------------------------------------------*/
static void
get_share_info_for_file_info (CajaFileInfo *file, ShareInfo **share_info, gboolean *is_shareable)
@@ -994,7 +990,6 @@ caja_share_update_file_info (CajaInfoProvider *provider,
return CAJA_OPERATION_COMPLETE;
}
-
static void
caja_share_cancel_update (CajaInfoProvider *provider,
CajaOperationHandle *handle)
@@ -1224,7 +1219,6 @@ caja_share_register_type (GTypeModule *module)
CAJA_TYPE_PROPERTY_PAGE_PROVIDER,
&property_page_provider_iface_info);
-
static const GInterfaceInfo info_provider_iface_info = {
(GInterfaceInitFunc) caja_share_info_provider_iface_init,
NULL,
diff --git a/share/caja-share.h b/share/caja-share.h
index a8b0b82..7f9a172 100644
--- a/share/caja-share.h
+++ b/share/caja-share.h
@@ -30,7 +30,6 @@ G_BEGIN_DECLS
* instantiated by caja. It implements the GInterfaces
* exported by libcaja. */
-
typedef struct _CajaShare CajaShare;
typedef struct _CajaShareClass CajaShareClass;
@@ -44,7 +43,6 @@ struct _CajaShareClass {
/* No extra class members */
};
-
typedef struct _CajaShareData CajaShareData;
struct _CajaShareData {
diff --git a/share/shares.c b/share/shares.c
index b628321..34cd921 100644
--- a/share/shares.c
+++ b/share/shares.c
@@ -31,7 +31,6 @@ static time_t refresh_timestamp;
#define KEY_ACL "usershare_acl"
#define KEY_GUEST_OK "guest_ok"
-
/* Debugging flags */
static gboolean throw_error_on_refresh;
static gboolean throw_error_on_add;
@@ -219,7 +218,6 @@ net_usershare_run (int argc, char **argv, GKeyFile **ret_key_file, GError **erro
return retval;
}
-
/* Internals */
static void
@@ -757,7 +755,6 @@ modify_share (const char *old_path, ShareInfo *info, GError **error)
return add_share (info, error);
}
-
/* Public API */
GQuark
diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c
index 2e54db1..042deb1 100644
--- a/wallpaper/caja-wallpaper-extension.c
+++ b/wallpaper/caja-wallpaper-extension.c
@@ -79,7 +79,6 @@ is_image (CajaFileInfo *file)
return isImage;
}
-
static GList *
caja_cwe_get_file_items (CajaMenuProvider *provider,
GtkWidget *window,
@@ -123,37 +122,31 @@ caja_cwe_get_file_items (CajaMenuProvider *provider,
return items;
}
-
static void
caja_cwe_menu_provider_iface_init (CajaMenuProviderIface *iface)
{
iface->get_file_items = caja_cwe_get_file_items;
}
-
static void
caja_cwe_instance_init (CajaCwe *cwe)
{
}
-
static void
caja_cwe_class_init (CajaCweClass *class)
{
parent_class = g_type_class_peek_parent (class);
}
-
static GType cwe_type = 0;
-
GType
caja_cwe_get_type (void)
{
return cwe_type;
}
-
void
caja_cwe_register_type (GTypeModule *module)
{
diff --git a/xattr-tags/caja-xattr-tags-extension.c b/xattr-tags/caja-xattr-tags-extension.c
index 5638df5..bd2c35e 100644
--- a/xattr-tags/caja-xattr-tags-extension.c
+++ b/xattr-tags/caja-xattr-tags-extension.c
@@ -154,7 +154,6 @@ caja_xattr_tags_update_file_info(CajaInfoProvider *provider,
return CAJA_OPERATION_COMPLETE;
}
-
static void
caja_xattr_tags_cancel_update(CajaInfoProvider *provider,
CajaOperationHandle *handle)
@@ -172,7 +171,6 @@ caja_xattr_tags_info_provider_iface_init(CajaInfoProviderIface *iface)
iface->cancel_update = caja_xattr_tags_cancel_update;
}
-
static GList *
caja_xattr_tags_get_columns(CajaColumnProvider *provider)
{
@@ -194,30 +192,25 @@ caja_xattr_tags_column_provider_iface_init(CajaColumnProviderIface *iface)
iface->get_columns = caja_xattr_tags_get_columns;
}
-
static void
caja_xattr_tags_instance_init(CajaXattrTags *cajaXattrTags)
{
}
-
static void
caja_xattr_tags_class_init(CajaXattrTagsClass *class)
{
parent_class = g_type_class_peek_parent (class);
}
-
static GType caja_xattr_tags_type = 0;
-
GType
caja_xattr_tags_get_type(void)
{
return caja_xattr_tags_type;
}
-
void
caja_xattr_tags_register_type(GTypeModule *module)
{
@@ -233,7 +226,6 @@ caja_xattr_tags_register_type(GTypeModule *module)
(GInstanceInitFunc) caja_xattr_tags_instance_init,
};
-
caja_xattr_tags_type = g_type_module_register_type (module,
G_TYPE_OBJECT,
"CajaXattrTags",
@@ -256,7 +248,6 @@ caja_xattr_tags_register_type(GTypeModule *module)
NULL
};
-
g_type_module_add_interface (module,
CAJA_TYPE_XATTR_TAGS,
CAJA_TYPE_COLUMN_PROVIDER,