diff options
author | monsta <[email protected]> | 2016-08-23 16:02:36 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-08-23 16:02:36 +0300 |
commit | fafdebc5741aef1b6eb64db0a0447eb0210ee186 (patch) | |
tree | cc8f3ba2885fc12f4bd614865e5a68ab7c5f231b /libcaja-extension/caja-location-widget-provider.c | |
parent | 3b62e6d5d6fe861e8be862b0a20ba32fdf05e701 (diff) | |
download | caja-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.c | 22 |
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); |