diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index 2ec212cf81..bc7eaf9536 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -67,7 +67,7 @@ struct _GtkFileChooserEntry GtkFileChooserAction action; GtkFileSystem *file_system; - const GSList *root_uris; + GSList *root_uris; GFile *base_folder; GFile *current_folder_file; gchar *file_part; @@ -2019,7 +2019,7 @@ _gtk_file_chooser_entry_get_local_only (GtkFileChooserEntry *chooser_entry) void _gtk_file_chooser_entry_set_root_uris (GtkFileChooserEntry *chooser_entry, - const GSList *root_uris) + GSList *root_uris) { /* This doesn't need its own copy. */ chooser_entry->root_uris = root_uris; diff --git a/gtk/gtkfilechooserentry.h b/gtk/gtkfilechooserentry.h index 480759fb98..3fb34ac402 100644 --- a/gtk/gtkfilechooserentry.h +++ b/gtk/gtkfilechooserentry.h @@ -52,7 +52,7 @@ void _gtk_file_chooser_entry_set_local_only (GtkFileChooserEnt gboolean local_only); gboolean _gtk_file_chooser_entry_get_local_only (GtkFileChooserEntry *chooser_entry); void _gtk_file_chooser_entry_set_root_uris (GtkFileChooserEntry *chooser_entry, - const GSList *root_uris); + GSList *root_uris); G_END_DECLS diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index d7ead93e02..6c3bdcf160 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -1455,7 +1455,7 @@ static ButtonType find_button_type (GtkPathBar *path_bar, GFile *file) { - const GSList *l; + GSList *l; if (path_bar->root_file != NULL && g_file_equal (file, path_bar->root_file)) @@ -1857,8 +1857,8 @@ _gtk_path_bar_set_file_system (GtkPathBar *path_bar, } void -_gtk_path_bar_set_root_uris (GtkPathBar *path_bar, - const GSList *root_uris) +_gtk_path_bar_set_root_uris (GtkPathBar *path_bar, + GSList *root_uris) { g_return_if_fail (GTK_IS_PATH_BAR (path_bar)); diff --git a/gtk/gtkpathbar.h b/gtk/gtkpathbar.h index b27ceecb63..efe1f460de 100644 --- a/gtk/gtkpathbar.h +++ b/gtk/gtkpathbar.h @@ -45,7 +45,7 @@ struct _GtkPathBar GFile *home_file; GFile *desktop_file; - const GSList *root_uris; + GSList *root_uris; GCancellable *get_info_cancellable; @@ -91,7 +91,7 @@ gboolean _gtk_path_bar_set_file (GtkPathBar *path_bar, gboolean keep_trail, GError **error); void _gtk_path_bar_set_root_uris (GtkPathBar *path_bar, - const GSList *root_uris); + GSList *root_uris); void _gtk_path_bar_up (GtkPathBar *path_bar); void _gtk_path_bar_down (GtkPathBar *path_bar);