Remove the GError from the shortcut-related functions
See https://bugzilla.gnome.org/show_bug.cgi?id=650363#c8 and the next comment; this argument just makes the API harder to use without real benefit. Signed-off-by: Federico Mena Quintero <federico@gnome.org>
This commit is contained in:
		| @ -72,8 +72,8 @@ void gtk_places_sidebar_set_show_cwd (GtkPlacesSidebar *sidebar, gboolean show_c | ||||
|  | ||||
| void gtk_places_sidebar_set_accept_uri_drops (GtkPlacesSidebar *sidebar, gboolean accept_uri_drops); | ||||
|  | ||||
| gboolean gtk_places_sidebar_add_shortcut (GtkPlacesSidebar *sidebar, GFile *location, GError **error); | ||||
| gboolean gtk_places_sidebar_remove_shortcut (GtkPlacesSidebar *sidebar, GFile *location, GError **error); | ||||
| void gtk_places_sidebar_add_shortcut (GtkPlacesSidebar *sidebar, GFile *location); | ||||
| void gtk_places_sidebar_remove_shortcut (GtkPlacesSidebar *sidebar, GFile *location); | ||||
| GSList *gtk_places_sidebar_list_shortcuts (GtkPlacesSidebar *sidebar); | ||||
|  | ||||
| GFile *gtk_places_sidebar_get_nth_bookmark (GtkPlacesSidebar *sidebar, int n); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Federico Mena Quintero
					Federico Mena Quintero