empathy r1396 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1396 - trunk/libempathy-gtk
- Date: Wed, 27 Aug 2008 13:04:45 +0000 (UTC)
Author: xclaesse
Date: Wed Aug 27 13:04:45 2008
New Revision: 1396
URL: http://svn.gnome.org/viewvc/empathy?rev=1396&view=rev
Log:
Make sure to not unref tooltop_widget more than once
Modified:
trunk/libempathy-gtk/empathy-contact-list-view.c
Modified: trunk/libempathy-gtk/empathy-contact-list-view.c
==============================================================================
--- trunk/libempathy-gtk/empathy-contact-list-view.c (original)
+++ trunk/libempathy-gtk/empathy-contact-list-view.c Wed Aug 27 13:04:45 2008
@@ -122,8 +122,8 @@
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 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]