summaryrefslogtreecommitdiff
path: root/gtk/gtkselection.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkselection.c')
-rw-r--r--gtk/gtkselection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkselection.c b/gtk/gtkselection.c
index e3d27de7a9..e7309382f3 100644
--- a/gtk/gtkselection.c
+++ b/gtk/gtkselection.c
@@ -401,6 +401,7 @@ gtk_selection_remove_all (GtkWidget *widget)
selection_handlers = gtk_object_get_data (GTK_OBJECT (widget),
gtk_selection_handler_key);
+ gtk_object_remove_data (GTK_OBJECT (widget), gtk_selection_handler_key);
tmp_list = selection_handlers;
while (tmp_list)