diff options
Diffstat (limited to 'wallpaper')
-rw-r--r-- | wallpaper/caja-wallpaper-command.c | 6 | ||||
-rw-r--r-- | wallpaper/caja-wallpaper-extension.c | 26 | ||||
-rw-r--r-- | wallpaper/caja-wallpaper-extension.h | 2 |
3 files changed, 17 insertions, 17 deletions
diff --git a/wallpaper/caja-wallpaper-command.c b/wallpaper/caja-wallpaper-command.c index 09f63d8..9d6e3b2 100644 --- a/wallpaper/caja-wallpaper-command.c +++ b/wallpaper/caja-wallpaper-command.c @@ -18,7 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * Authors: Adam Israel <[email protected]> + * Authors: Adam Israel <[email protected]> * Stefano Karapetsas <[email protected]> */ @@ -39,11 +39,11 @@ caja_module_shutdown (void) { } -void +void caja_module_list_types (const GType **types, int *num_types) { static GType type_list[1]; - + type_list[0] = CAJA_TYPE_CWE; *types = type_list; *num_types = 1; 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, diff --git a/wallpaper/caja-wallpaper-extension.h b/wallpaper/caja-wallpaper-extension.h index 9040043..ddd2ce0 100644 --- a/wallpaper/caja-wallpaper-extension.h +++ b/wallpaper/caja-wallpaper-extension.h @@ -21,7 +21,7 @@ * Authors: Adam Israel <[email protected]> * Stefano Karapetsas <[email protected]> */ - + #ifndef CAJA_WALLPAPER_EXTENSION_H #define CAJA_WALLPAPER_EXTENSION_H |