]> Pileus Git - ~andy/gtk/commit
Don't call button_data_free() explicitly; the button is weak-reffed and
authorFederico Mena Quintero <federico@ximian.com>
Thu, 6 Jan 2005 01:46:39 +0000 (01:46 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Thu, 6 Jan 2005 01:46:39 +0000 (01:46 +0000)
commitfaaee051d1aa76ce24c25eebcda7a656062a1002
tree158ce1214c3022dc32d585435abb3a40407b67ef
parent47a5564ab37427cb3f54e8692d0ed6190743b2cc
Don't call button_data_free() explicitly; the button is weak-reffed and

2005-01-05  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't call
button_data_free() explicitly; the button is weak-reffed and the
callback will free the button data.  Fixes #163010.
(_gtk_path_bar_set_path): Don't ref/sink the button.  And for the
failure case, call gtk_widget_destroy() on it.

* gtk/gtkfilechooserdefault.c (check_is_folder): Use
gtk_file_system_get_folder() again (see the ChangeLog entry from
2004-08-25).  We can't first get the parent folder and then
request the info for the path in question, as the parent folder
may not be readable.  See bug #162617.
(gtk_file_chooser_default_set_current_folder): Assert that the
passed-in path is not null.
(shortcuts_find_current_folder): Likewise.
(shortcuts_add_current_folder): Likewise.
(set_list_model): Likewise.
(gtk_file_chooser_default_map): Only reload the current folder if
it exists.
(bookmarks_check_add_sensitivity): Check for the current folder
being NULL.
(browse_files_select_first_row): Don't set the cursor if there is
no model loaded.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c
gtk/gtkpathbar.c