From e2838a7e06508cd412592e621572d7fda27130ec Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Tue, 27 Aug 2013 13:47:19 -0700 Subject: [PATCH] Remove an explicit destroy to the ClutterText actor This is the same as the previous commit, but for StEntry. We don't have any need to explicitly destroy this actor in our dispose implementation, and doing so breaks the assumption that we can access the clutter_text from within destroy. https://bugzilla.gnome.org/show_bug.cgi?id=783483 --- src/st/st-entry.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/st/st-entry.c b/src/st/st-entry.c index 264f95657..0fa928767 100644 --- a/src/st/st-entry.c +++ b/src/st/st-entry.c @@ -230,12 +230,6 @@ st_entry_dispose (GObject *object) StEntryPrivate *priv = ST_ENTRY_PRIV (entry); GdkKeymap *keymap; - if (priv->entry) - { - clutter_actor_destroy (priv->entry); - priv->entry = NULL; - } - keymap = gdk_keymap_get_for_display (gdk_display_get_default ()); g_signal_handlers_disconnect_by_func (keymap, keymap_state_changed, entry);