diff options
author | Travis Reitter <treitter@gmail.com> | 2010-07-10 08:41:51 +0800 |
---|---|---|
committer | Travis Reitter <treitter@gmail.com> | 2010-07-21 07:12:37 +0800 |
commit | 784be67cd65bcf43252d1d48067ca909add9b26e (patch) | |
tree | 8e2fd1ad10532fc7c53dbf7d02012a53a926c29b /libempathy-gtk/empathy-individual-view.c | |
parent | 16b9e5e98e4e57896751ee1d37012cd30a8d508a (diff) | |
download | gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar.gz gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar.bz2 gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar.lz gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar.xz gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.tar.zst gsoc2013-empathy-784be67cd65bcf43252d1d48067ca909add9b26e.zip |
Take advantage of tp_clear_object().
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index 360d37e33..7aedea8a9 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -243,8 +243,7 @@ individual_view_tooltip_destroy_cb (GtkWidget *widget, if (priv->tooltip_widget != NULL) { DEBUG ("Tooltip destroyed"); - g_object_unref (priv->tooltip_widget); - priv->tooltip_widget = NULL; + tp_clear_object (&priv->tooltip_widget); } } |