From 77a5e4877d3ffdcfe9503c5db66e7f656ddab86e Mon Sep 17 00:00:00 2001 From: Kristian Rietveld Date: Fri, 23 Dec 2005 14:32:57 +0000 Subject: [PATCH] change the GtkFileInfo argument of the GetInfoCallback to be const. 2005-12-23 Kristian Rietveld * gtk/gtkfilesystem.h: change the GtkFileInfo argument of the GetInfoCallback to be const. * gtk/gtkfilechooserbutton.c, gtk/gtkfilechooserdefault.c, gtk/gtkpathbar.c: changes functions to reflect the above change. --- ChangeLog | 8 ++++++++ ChangeLog.pre-2-10 | 8 ++++++++ gtk/gtkfilechooserbutton.c | 10 +++++----- gtk/gtkfilechooserdefault.c | 18 +++++++++--------- gtk/gtkpathbar.c | 4 ++-- 5 files changed, 32 insertions(+), 16 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a2d32ea3c..9c70ca9c59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-12-23 Kristian Rietveld + + * gtk/gtkfilesystem.h: change the GtkFileInfo argument of the + GetInfoCallback to be const. + + * gtk/gtkfilechooserbutton.c, gtk/gtkfilechooserdefault.c, + gtk/gtkpathbar.c: changes functions to reflect the above change. + 2005-12-23 Kristian Rietveld * gtk/gtkfilechooserdefault.c, gtk/gtkfilechooserprivate.h: keep track diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5a2d32ea3c..9c70ca9c59 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,11 @@ +2005-12-23 Kristian Rietveld + + * gtk/gtkfilesystem.h: change the GtkFileInfo argument of the + GetInfoCallback to be const. + + * gtk/gtkfilechooserbutton.c, gtk/gtkfilechooserdefault.c, + gtk/gtkpathbar.c: changes functions to reflect the above change. + 2005-12-23 Kristian Rietveld * gtk/gtkfilechooserdefault.c, gtk/gtkfilechooserprivate.h: keep track diff --git a/gtk/gtkfilechooserbutton.c b/gtk/gtkfilechooserbutton.c index 4eca5b9556..8772dfc185 100644 --- a/gtk/gtkfilechooserbutton.c +++ b/gtk/gtkfilechooserbutton.c @@ -957,7 +957,7 @@ struct DndSelectFolderData static void dnd_select_folder_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -1171,7 +1171,7 @@ struct ChangeIconThemeData static void change_icon_theme_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -1373,7 +1373,7 @@ struct SetDisplayNameData static void set_info_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer callback_data) { @@ -1540,7 +1540,7 @@ model_free_row_data (GtkFileChooserButton *button, static void model_add_special_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -2077,7 +2077,7 @@ update_combo_box (GtkFileChooserButton *button) /* Button */ static void update_label_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer data) { diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c index 57e128bb48..7f1aff3381 100644 --- a/gtk/gtkfilechooserdefault.c +++ b/gtk/gtkfilechooserdefault.c @@ -1099,7 +1099,7 @@ struct ReloadIconsData static void shortcuts_reload_icons_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -1330,7 +1330,7 @@ struct ShortcutsInsertRequest static void get_file_info_finished (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer data) { @@ -3616,7 +3616,7 @@ struct FileListDragData static void file_list_drag_data_received_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -5751,7 +5751,7 @@ struct UpdateCurrentFolderData static void update_current_folder_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -6326,7 +6326,7 @@ struct AddShortcutData static void add_shortcut_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -6768,7 +6768,7 @@ struct GetDisplayNameData static void confirmation_confirm_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -6893,7 +6893,7 @@ struct SaveEntryData static void save_entry_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -7388,7 +7388,7 @@ struct ShortcutsActivateData static void shortcuts_activate_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -7897,7 +7897,7 @@ struct UpdateFromEntryData static void update_from_entry_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *file_info, + const GtkFileInfo *file_info, const GError *error, gpointer user_data) { diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index 912839b143..9eaf3d0277 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -997,7 +997,7 @@ struct SetButtonImageData static void set_button_image_get_info_cb (GtkFileSystemHandle *handle, - GtkFileInfo *info, + const GtkFileInfo *info, const GError *error, gpointer user_data) { @@ -1440,7 +1440,7 @@ gtk_path_bar_set_path_finish (struct SetPathInfo *info, static void gtk_path_bar_get_info_callback (GtkFileSystemHandle *handle, - GtkFileInfo *file_info, + const GtkFileInfo *file_info, const GError *error, gpointer data) {