fix #322, 2nd try: don't pass NULL to gtk_tree_iter_free(), this seems to cause an assert on some GTK versions

svn path=/trunk/; revision=16011
This commit is contained in:
Ulf Lamping 2005-09-26 19:24:06 +00:00
parent 510476e2ea
commit d415c719ae
1 changed files with 2 additions and 1 deletions

View File

@ -1187,7 +1187,8 @@ prefs_main_destroy_all(GtkWidget *dlg)
for (page_num = 0;
(frame = gtk_notebook_get_nth_page(OBJECT_GET_DATA(prefs_w, E_PREFSW_NOTEBOOK_KEY), page_num)) != NULL;
page_num++) {
gtk_tree_iter_free(OBJECT_GET_DATA(frame, E_PAGE_ITER_KEY));
if(OBJECT_GET_DATA(frame, E_PAGE_ITER_KEY))
gtk_tree_iter_free(OBJECT_GET_DATA(frame, E_PAGE_ITER_KEY));
}
#endif