aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-08-27 21:04:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-08-27 21:04:45 +0800
commit193bab8c8e34147380151f5ae6553a11f0c87ecc (patch)
treef5e1c7cf434e0200211eed0d89a804d153edb3d8 /libempathy-gtk
parent8e469695ba831e673aa3fbbd856a5e2495f75089 (diff)
downloadgsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar.gz
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar.bz2
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar.lz
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar.xz
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.tar.zst
gsoc2013-empathy-193bab8c8e34147380151f5ae6553a11f0c87ecc.zip
Make sure to not unref tooltop_widget more than once
svn path=/trunk/; revision=1396
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 97fd84d16..868cc9ccb 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -122,8 +122,8 @@ contact_list_view_tooltip_destroy_cb (GtkWidget *widget,
if (priv->tooltip_widget) {
DEBUG ("Tooltip destroyed");
- g_object_unref (priv->tooltip_widget);
priv->tooltip_widget = NULL;
+ g_object_unref (widget);
}
}
@@ -982,7 +982,7 @@ contact_list_view_finalize (GObject *object)
g_object_unref (priv->store);
}
if (priv->tooltip_widget) {
- g_object_unref (priv->tooltip_widget);
+ gtk_widget_destroy (priv->tooltip_widget);
}
G_OBJECT_CLASS (empathy_contact_list_view_parent_class)->finalize (object);