From ea3a80c19f38ea25448b932b5ff325e43ebde1c8 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Mon, 27 Jul 2015 16:47:40 -0300 Subject: [PATCH] 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 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c index 08e28b68b0..e86dd4ddba 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,