[gtk+/places-sidebar] Add some missing annotations



commit a8f3465181a9eedf16efb8eb5e6e6cce041526fe
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Jan 21 18:23:25 2013 -0500

    Add some missing annotations

 gtk/gtkplacessidebar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index a0a1ed9..e0b3236 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -3927,7 +3927,7 @@ gtk_places_sidebar_get_open_flags (GtkPlacesSidebar *sidebar)
 /**
  * gtk_places_sidebar_set_location:
  * @sidebar: a places sidebar
- * @location: location to select, or #NULL for no current path
+ * @location: (allow-none): location to select, or #NULL for no current path
  *
  * Sets the location that is being shown in the widgets surrounding the
  * @sidebar, for example, in a folder view in a file manager.  In turn, the
@@ -3992,7 +3992,7 @@ gtk_places_sidebar_set_location (GtkPlacesSidebar *sidebar, GFile *location)
  * function to get the location that is being referred to during the callbacks
  * for your menu items.
  *
- * Returns: a GFile with the selected location, or #NULL if nothing is visually
+ * Returns: (transfer full): a GFile with the selected location, or #NULL if nothing is visually
  * selected.
  *
  * Since: 3.8



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]