diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-09-17 01:28:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-09-17 01:28:39 -0400 |
commit | 6aa56979dc28c8e1bb87b081f4307bbcb670c231 (patch) | |
tree | ea36d5df5b037cd8cfa552c96e8d09af7c6ca663 /gtk/gtkplacessidebar.c | |
parent | 41f8ad5384681b837544616676a68c64d5580904 (diff) | |
download | gtk+-6aa56979dc28c8e1bb87b081f4307bbcb670c231.tar.gz |
More documentation fixes
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r-- | gtk/gtkplacessidebar.c | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index da6592e3c4..7e84cb4235 100644 --- a/gtk/gtkplacessidebar.c +++ b/gtk/gtkplacessidebar.c @@ -4207,9 +4207,15 @@ gtk_places_sidebar_class_init (GtkPlacesSidebarClass *class) /** * gtk_places_sidebar_new: * - * Creates a new #GtkPlacesSidebar widget. The application should connect - * to at least the #GtkPlacesSidebar::open-location signal to be notified + * Creates a new #GtkPlacesSidebar widget. + * + * The application should connect to at least the + * #GtkPlacesSidebar::open-location signal to be notified * when the user makes a selection in the sidebar. + * + * Returns: a newly created #GtkPlacesSidebar + * + * Since: 3.10 */ GtkWidget * gtk_places_sidebar_new (void) @@ -4332,6 +4338,16 @@ gtk_places_sidebar_set_open_flags (GtkPlacesSidebar *sidebar, GtkPlacesOpenFlags } } +/** + * gtk_places_sidebar_get_open_flags: + * @sidebar: a #GtkPlacesSidebar + * + * Gets the open flags. + * + * Returns: the #GtkPlacesOpenFlags of @sidebar + * + * Since: 3.10 + */ GtkPlacesOpenFlags gtk_places_sidebar_get_open_flags (GtkPlacesSidebar *sidebar) { @@ -4602,8 +4618,11 @@ gtk_places_sidebar_remove_shortcut (GtkPlacesSidebar *sidebar, GFile *location) * gtk_places_sidebar_list_shortcuts: * @sidebar: a places sidebar * - * Return value: (element-type GFile) (transfer full): A #GSList of #GFile of the locations - * that have been added as application-specific shortcuts with gtk_places_sidebar_add_shortcut(). + * Gets the list of shortcuts. + * + * Return value: (element-type GFile) (transfer full): + * A #GSList of #GFile of the locations that have been added as + * application-specific shortcuts with gtk_places_sidebar_add_shortcut(). * To free this list, you can use * |[ * g_slist_free_full (list, (GDestroyNotify) g_object_unref); |