[gtk+/wip/gbsneto/places-view: 1/4] placessidebar: fix documentation



commit 6d20d810a4059dbf061d5f12a3f442f15bf36ef2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Jul 27 16:47:40 2015 -0300

    placessidebar: fix documentation
    
    Use the same explanation of why GtkPlacesSidebar::show-connect-server
    was deprecated and its replacements on getter and setter.
    
    Also, fix a mistakenly deprecated function.

 gtk/gtkplacessidebar.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 08e28b6..e86dd4d 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -4707,7 +4707,8 @@ gtk_places_sidebar_set_show_connect_to_server (GtkPlacesSidebar *sidebar,
  *
  * Returns: %TRUE if the sidebar will display a “Connect to Server” item.
  *
- * Deprecated: 3.18: use gtk_places_sidebar_get_show_other_locations() instead.
+ * Deprecated: 3.18: It is recommended to group this functionality with the drives
+ *     and network location under the new 'Other Location' item
  */
 gboolean
 gtk_places_sidebar_get_show_connect_to_server (GtkPlacesSidebar *sidebar)
@@ -4729,7 +4730,7 @@ gtk_places_sidebar_get_show_connect_to_server (GtkPlacesSidebar *sidebar)
  * If you enable this, you should connect to the
  * #GtkPlacesSidebar::show-enter-location signal.
  *
- * Deprecated: 3.18: use gtk_places_sidebar_set_show_other_locations() instead.
+ * Since: 3.14
  */
 void
 gtk_places_sidebar_set_show_enter_location (GtkPlacesSidebar *sidebar,


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