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.
This commit is contained in:
Georges Basile Stavracas Neto 2015-07-27 16:47:40 -03:00
parent df50858dfd
commit ea3a80c19f

View File

@ -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,