diff --git a/ChangeLog b/ChangeLog index b61905ebf8..ed7e604c96 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-12-05 Matthias Clasen + * gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event + after sending it to the search entry. (#323209, Crispin Flowerday) + * README.in: Add a note about GTK_FLOATING. * gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b61905ebf8..ed7e604c96 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-12-05 Matthias Clasen + * gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event + after sending it to the search entry. (#323209, Crispin Flowerday) + * README.in: Add a note about GTK_FLOATING. * gtk/gtkobject.h (GTK_OBJECT_FLOATING): Use g_object_is_floating. diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index eca3f2c188..71cd603f0b 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -4464,6 +4464,7 @@ gtk_tree_view_key_press (GtkWidget *widget, * during this event, we will set priv->imcontext_changed */ tree_view->priv->imcontext_changed = FALSE; retval = gtk_widget_event (tree_view->priv->search_entry, new_event); + gdk_event_free (new_event); gtk_widget_hide (tree_view->priv->search_window); g_signal_handler_disconnect (tree_view->priv->search_entry,