summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-16 09:48:03 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2011-05-16 09:48:03 +0100
commit2174e77334ff2cdd82d45e85abf157a2db3314c8 (patch)
tree53bc2eafdeb959a5a35a8fcc5964a0657c199b6f
parent28d3db1f6ef2481ddeb40bb3b141b3f68070a1dc (diff)
parent42360d0d279037ca3e3c1bc9f5c8692ff3252da9 (diff)
Merge branch 'telepathy-glib-0.14'
-rw-r--r--telepathy-glib/base-connection.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/telepathy-glib/base-connection.c b/telepathy-glib/base-connection.c
index 8e5e0762..ad05abbf 100644
--- a/telepathy-glib/base-connection.c
+++ b/telepathy-glib/base-connection.c
@@ -2875,7 +2875,6 @@ tp_base_connection_change_status (TpBaseConnection *self,
}
prev_status = self->status;
- self->status = status;
/* make appropriate assertions about our state */
switch (status)
@@ -2902,6 +2901,10 @@ tp_base_connection_change_status (TpBaseConnection *self,
return;
}
+ /* now that we've finished return_if_fail'ing, we can start to make
+ * the actual changes */
+ self->status = status;
+
/* ref self in case user callbacks unref us */
g_object_ref (self);