From fafdebc5741aef1b6eb64db0a0447eb0210ee186 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 23 Aug 2016 16:02:36 +0300 Subject: libcaja-extension: fix docs generation and fix some indent docs are still far from perfect, but most build warnings are gone --- libcaja-extension/caja-location-widget-provider.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'libcaja-extension/caja-location-widget-provider.c') 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 +/** + * 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); -- cgit v1.2.1