Commit 014e448e authored by Kristian Rietveld's avatar Kristian Rietveld Committed by Kristian Rietveld
Browse files

cancel all pending handles in the button list. (Fixes #341035, reported by

2006-05-16  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles
	in the button list. (Fixes #341035, reported by William Jon McCann).
parent c0ec5ced
2006-05-16 Kristian Rietveld <kris@imendio.com>
* gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles
in the button list. (Fixes #341035, reported by William Jon McCann).
2006-05-16 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c
......
2006-05-16 Kristian Rietveld <kris@imendio.com>
* gtk/gtkpathbar.c (gtk_path_bar_dispose): cancel all pending handles
in the button list. (Fixes #341035, reported by William Jon McCann).
2006-05-16 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c
......
......@@ -250,6 +250,7 @@ remove_settings_signal (GtkPathBar *path_bar,
static void
gtk_path_bar_dispose (GObject *object)
{
GList *list;
GtkPathBar *path_bar = GTK_PATH_BAR (object);
remove_settings_signal (path_bar, gtk_widget_get_screen (GTK_WIDGET (object)));
......@@ -258,6 +259,15 @@ gtk_path_bar_dispose (GObject *object)
gtk_file_system_cancel_operation (path_bar->set_path_handle);
path_bar->set_path_handle = NULL;
for (list = path_bar->button_list; list; list = list->next)
{
ButtonData *button_data = BUTTON_DATA (list->data);
if (button_data->handle)
gtk_file_system_cancel_operation (button_data->handle);
button_data->handle = NULL;
}
G_OBJECT_CLASS (gtk_path_bar_parent_class)->dispose (object);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment