[next] telepathy-glib: future-account: remove dispose_has_run

Jonny Lamb jonny at kemper.freedesktop.org
Fri May 11 02:41:36 PDT 2012


Module: telepathy-glib
Branch: next
Commit: 234f01647a09e25743c79f0d65ad3863f614c8c6
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=234f01647a09e25743c79f0d65ad3863f614c8c6

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Thu May  3 14:50:40 2012 +0100

future-account: remove dispose_has_run

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 telepathy-glib/future-account.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/telepathy-glib/future-account.c b/telepathy-glib/future-account.c
index fe062c5..d315096 100644
--- a/telepathy-glib/future-account.c
+++ b/telepathy-glib/future-account.c
@@ -107,8 +107,6 @@
  */
 
 struct _TpFutureAccountPrivate {
-  gboolean dispose_has_run;
-
   TpAccountManager *account_manager;
 
   GSimpleAsyncResult *result;
@@ -329,11 +327,6 @@ tp_future_account_dispose (GObject *object)
   TpFutureAccount *self = TP_FUTURE_ACCOUNT (object);
   TpFutureAccountPrivate *priv = self->priv;
 
-  if (priv->dispose_has_run)
-    return;
-
-  priv->dispose_has_run = TRUE;
-
   tp_clear_pointer (&priv->parameters, g_hash_table_unref);
   tp_clear_pointer (&priv->properties, g_hash_table_unref);
 



More information about the telepathy-commits mailing list