const GSList doesn't make sense
Except to annoy us non-C++ programmers :) Signed-off-by: Federico Mena Quintero <federico@novell.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user