summaryrefslogtreecommitdiff
path: root/wallpaper/caja-wallpaper-extension.c
diff options
context:
space:
mode:
authorLaurent Napias <[email protected]>2019-06-29 12:06:39 +0200
committerraveit65 <[email protected]>2019-06-30 17:55:06 +0200
commitcf3fd47515e2950da24c0f6eb1be96a3b520fab4 (patch)
treeee67462cd5992c59a362c6c3be7083a08524f77c /wallpaper/caja-wallpaper-extension.c
parent363093d7d32d5f60f66d2ca7f9193dd684c2ccd1 (diff)
downloadcaja-extensions-cf3fd47515e2950da24c0f6eb1be96a3b520fab4.tar.bz2
caja-extensions-cf3fd47515e2950da24c0f6eb1be96a3b520fab4.tar.xz
Remove trailing whitespaces
Diffstat (limited to 'wallpaper/caja-wallpaper-extension.c')
-rw-r--r--wallpaper/caja-wallpaper-extension.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c
index 12e9d65..f25f097 100644
--- a/wallpaper/caja-wallpaper-extension.c
+++ b/wallpaper/caja-wallpaper-extension.c
@@ -21,7 +21,7 @@
* Authors: Adam Israel <[email protected]>
* Stefano Karapetsas <[email protected]>
*/
-
+
#include <config.h>
#include <string.h>
#include <gio/gio.h>
@@ -60,7 +60,7 @@ set_wallpaper_callback (CajaMenuItem *item,
g_object_unref (settings);
g_free (filename);
g_free (uri);
-
+
}
static gboolean
@@ -68,14 +68,14 @@ is_image (CajaFileInfo *file)
{
gchar *mimeType;
gboolean isImage;
-
+
mimeType = caja_file_info_get_mime_type (file);
-
+
isImage = g_str_has_prefix (caja_file_info_get_mime_type (file), "image/");
-
+
g_free (mimeType);
-
- return isImage;
+
+ return isImage;
}
@@ -109,11 +109,11 @@ caja_cwe_get_file_items (CajaMenuProvider *provider,
_("Set as wallpaper"),
_("Set image as the current wallpaper"),
NULL);
- g_signal_connect (item,
+ g_signal_connect (item,
"activate",
G_CALLBACK (set_wallpaper_callback),
provider);
- g_object_set_data_full (G_OBJECT (item),
+ g_object_set_data_full (G_OBJECT (item),
"files",
caja_file_info_list_copy (files),
(GDestroyNotify) caja_file_info_list_free);
@@ -123,14 +123,14 @@ caja_cwe_get_file_items (CajaMenuProvider *provider,
}
-static void
+static void
caja_cwe_menu_provider_iface_init (CajaMenuProviderIface *iface)
{
iface->get_file_items = caja_cwe_get_file_items;
}
-static void
+static void
caja_cwe_instance_init (CajaCwe *cwe)
{
}
@@ -147,7 +147,7 @@ static GType cwe_type = 0;
GType
-caja_cwe_get_type (void)
+caja_cwe_get_type (void)
{
return cwe_type;
}
@@ -161,7 +161,7 @@ caja_cwe_register_type (GTypeModule *module)
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) caja_cwe_class_init,
- NULL,
+ NULL,
NULL,
sizeof (CajaCwe),
0,