summaryrefslogtreecommitdiff
path: root/wallpaper/caja-wallpaper-extension.c
diff options
context:
space:
mode:
Diffstat (limited to 'wallpaper/caja-wallpaper-extension.c')
-rw-r--r--wallpaper/caja-wallpaper-extension.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/wallpaper/caja-wallpaper-extension.c b/wallpaper/caja-wallpaper-extension.c
index 5f1e143..3119e9f 100644
--- a/wallpaper/caja-wallpaper-extension.c
+++ b/wallpaper/caja-wallpaper-extension.c
@@ -3,6 +3,7 @@
*
* Copyright (C) 2005 Adam Israel
* Copyright (C) 2014 Stefano Karapetsas
+ * Copyright (C) 2014-2021 MATE developers.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -78,7 +79,6 @@ is_image (CajaFileInfo *file)
return isImage;
}
-
static GList *
caja_cwe_get_file_items (CajaMenuProvider *provider,
GtkWidget *window,
@@ -122,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)
{
@@ -166,6 +160,7 @@ caja_cwe_register_type (GTypeModule *module)
sizeof (CajaCwe),
0,
(GInstanceInitFunc) caja_cwe_instance_init,
+ NULL
};
static const GInterfaceInfo menu_provider_iface_info = {