diff options
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 597b4c4f6..d384d7809 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -163,11 +163,7 @@ individual_view_tooltip_destroy_cb (GtkWidget *widget, { EmpathyIndividualViewPriv *priv = GET_PRIV (view); - if (priv->tooltip_widget != NULL) - { - DEBUG ("Tooltip destroyed"); - tp_clear_object (&priv->tooltip_widget); - } + tp_clear_object (&priv->tooltip_widget); } static gboolean @@ -1984,7 +1980,7 @@ individual_view_dispose (GObject *object) tp_clear_object (&priv->store); tp_clear_object (&priv->filter); - tp_clear_pointer (&priv->tooltip_widget, gtk_widget_destroy); + tp_clear_object (&priv->tooltip_widget); empathy_individual_view_set_live_search (view, NULL); |