telepathy-salut: Fix the build with --enable-olpc by removing unused variables

Simon McVittie smcv at kemper.freedesktop.org
Fri May 3 03:56:20 PDT 2013


Module: telepathy-salut
Branch: master
Commit: c66a97155085dfd6229452daf1cf0609d929e6ad
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=c66a97155085dfd6229452daf1cf0609d929e6ad

Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Fri Jan  4 12:14:19 2013 +0000

Fix the build with --enable-olpc by removing unused variables

Yet another instance of "things that aren't tested don't work"...

---

 src/olpc-activity.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/src/olpc-activity.c b/src/olpc-activity.c
index 2af6cb1..47e88c2 100644
--- a/src/olpc-activity.c
+++ b/src/olpc-activity.c
@@ -182,8 +182,6 @@ salut_olpc_activity_dispose (GObject *object)
 {
   SalutOlpcActivity *self = SALUT_OLPC_ACTIVITY (object);
   SalutOlpcActivityPrivate *priv = SALUT_OLPC_ACTIVITY_GET_PRIVATE (self);
-  TpHandleRepoIface *room_repo = tp_base_connection_get_handles
-    ((TpBaseConnection *) self->connection, TP_HANDLE_TYPE_ROOM);
 
   if (priv->dispose_has_run)
     return;
@@ -424,9 +422,6 @@ salut_olpc_activity_update (SalutOlpcActivity *self,
                             gboolean is_private)
 {
   SalutOlpcActivityPrivate *priv = SALUT_OLPC_ACTIVITY_GET_PRIVATE (self);
-  TpBaseConnection *base_conn = (TpBaseConnection *) (self->connection);
-  TpHandleRepoIface *room_repo = tp_base_connection_get_handles (base_conn,
-       TP_HANDLE_TYPE_ROOM);
   gboolean changed = FALSE;
   GError *error = NULL;
   gboolean become_valid = FALSE;



More information about the telepathy-commits mailing list