[empathy/mc5: 396/483] Set gui to NULL after unreffing it



commit 07a2794768ee8fbfb2d7b5a71ea22a9ea17d7b43
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date:   Mon Aug 17 17:56:53 2009 +0100

    Set gui to NULL after unreffing it

 libempathy-gtk/empathy-account-widget.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index feb5b6d..2ba38d6 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -837,6 +837,7 @@ do_constructed (GObject *obj)
       G_CALLBACK (account_widget_destroy_cb), self);
 
   empathy_builder_unref_and_keep_widget (self->ui_details->gui, self->ui_details->widget);
+  self->ui_details->gui = NULL;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]