summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-menu-provider.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-extension/caja-menu-provider.c')
-rw-r--r--libcaja-extension/caja-menu-provider.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libcaja-extension/caja-menu-provider.c b/libcaja-extension/caja-menu-provider.c
index fa2fc0ed..0c47dd13 100644
--- a/libcaja-extension/caja-menu-provider.c
+++ b/libcaja-extension/caja-menu-provider.c
@@ -76,6 +76,14 @@ caja_menu_provider_get_type (void)
return type;
}
+/**
+ * caja_menu_provider_get_file_items:
+ * @provider: a #CajaMenuProvider
+ * @window: the parent #GtkWidget window
+ * @files: (element-type CajaFileInfo): a list of #CajaFileInfo
+ *
+ * Returns: (element-type CajaMenuItem) (transfer full): the provided list of #CajaMenuItem
+ */
GList *
caja_menu_provider_get_file_items (CajaMenuProvider *provider,
GtkWidget *window,
@@ -94,6 +102,14 @@ caja_menu_provider_get_file_items (CajaMenuProvider *provider,
}
}
+/**
+ * caja_menu_provider_get_background_items:
+ * @provider: a #CajaMenuProvider
+ * @window: the parent #GtkWidget window
+ * @current_folder: the folder for which background items are requested
+ *
+ * Returns: (element-type CajaMenuItem) (transfer full): the provided list of #CajaMenuItem
+ */
GList *
caja_menu_provider_get_background_items (CajaMenuProvider *provider,
GtkWidget *window,