summaryrefslogtreecommitdiff
path: root/libcaja-extension/caja-location-widget-provider.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-23 16:02:36 +0300
committermonsta <[email protected]>2016-08-23 16:02:36 +0300
commitfafdebc5741aef1b6eb64db0a0447eb0210ee186 (patch)
treecc8f3ba2885fc12f4bd614865e5a68ab7c5f231b /libcaja-extension/caja-location-widget-provider.c
parent3b62e6d5d6fe861e8be862b0a20ba32fdf05e701 (diff)
downloadcaja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.bz2
caja-fafdebc5741aef1b6eb64db0a0447eb0210ee186.tar.xz
libcaja-extension: fix docs generation and fix some indent
docs are still far from perfect, but most build warnings are gone
Diffstat (limited to 'libcaja-extension/caja-location-widget-provider.c')
-rw-r--r--libcaja-extension/caja-location-widget-provider.c22
1 files changed, 15 insertions, 7 deletions
diff --git a/libcaja-extension/caja-location-widget-provider.c b/libcaja-extension/caja-location-widget-provider.c
index b605dd43..aebf870f 100644
--- a/libcaja-extension/caja-location-widget-provider.c
+++ b/libcaja-extension/caja-location-widget-provider.c
@@ -27,6 +27,16 @@
#include <glib-object.h>
+/**
+ * SECTION:caja-location-widget-provider
+ * @title: CajaLocationWidgetProvider
+ * @short_description: Interface to provide additional location widgets
+ * @include: libcaja-extension/caja-location-widget-provider.h
+ *
+ * #CajaLocationWidgetProvider allows extension to provide additional location
+ * widgets in the file manager views.
+ */
+
static void
caja_location_widget_provider_base_init (gpointer g_class)
{
@@ -37,10 +47,8 @@ caja_location_widget_provider_get_type (void)
{
static GType type = 0;
- if (!type)
- {
- const GTypeInfo info =
- {
+ if (!type) {
+ const GTypeInfo info = {
sizeof (CajaLocationWidgetProviderIface),
caja_location_widget_provider_base_init,
NULL,
@@ -70,9 +78,9 @@ caja_location_widget_provider_get_type (void)
* Returns: (transfer none): the location widget for @provider at @uri
*/
GtkWidget *
-caja_location_widget_provider_get_widget (CajaLocationWidgetProvider *provider,
- const char *uri,
- GtkWidget *window)
+caja_location_widget_provider_get_widget (CajaLocationWidgetProvider *provider,
+ const char *uri,
+ GtkWidget *window)
{
g_return_val_if_fail (CAJA_IS_LOCATION_WIDGET_PROVIDER (provider), NULL);