Turn gtk_places_sidebar_set_current_uri() into _set_current_location()

To be consistent with the ::location-selected signal, which emits a GFile, we now also use a GFile
instead of a string URI in the inbound API.

Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
Federico Mena Quintero
2012-11-24 10:41:11 -06:00
parent fc6bfcddde
commit e0b30d013e
2 changed files with 13 additions and 8 deletions

View File

@ -55,7 +55,7 @@ GtkWidget *gtk_places_sidebar_new (void);
/* FIXME: add GObject properties for the following things */
void gtk_places_sidebar_set_current_uri (GtkPlacesSidebar *sidebar, const char *uri);
void gtk_places_sidebar_set_current_location (GtkPlacesSidebar *sidebar, GFile *location);
void gtk_places_sidebar_set_multiple_tabs_supported (GtkPlacesSidebar *sidebar, gboolean supported);