summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Dasmohapatra <vivek@collabora.co.uk>2011-03-24 20:12:53 +0000
committerVivek Dasmohapatra <vivek@collabora.co.uk>2011-04-05 14:19:11 +0100
commit297c55b3e7d4c16cc2af8ee07f14879bd4f7c310 (patch)
treedcf3de921536b1a44dd8c3627ffa34503a1bced5
parent07a391599e392755170b23c15c6301178e6d3961 (diff)
downloadtelepathy-mission-control-297c55b3e7d4c16cc2af8ee07f14879bd4f7c310.tar.gz
Squash some warnings
-rw-r--r--src/mcd-dispatch-operation.c3
-rw-r--r--src/mcd-dispatcher.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mcd-dispatch-operation.c b/src/mcd-dispatch-operation.c
index f68ea7a0..e6b6aeaf 100644
--- a/src/mcd-dispatch-operation.c
+++ b/src/mcd-dispatch-operation.c
@@ -366,7 +366,7 @@ _mcd_dispatch_operation_get_cancelled (McdDispatchOperation *self)
gboolean
_mcd_dispatch_operation_is_internal (McdDispatchOperation *self)
{
- const gchar **handlers = self->priv->possible_handlers;
+ const gchar **handlers = (gchar **) self->priv->possible_handlers;
return (handlers != NULL && !tp_strdiff (CDO_INTERNAL_HANDLER, *handlers));
}
@@ -2174,7 +2174,6 @@ _mcd_dispatch_operation_run_clients (McdDispatchOperation *self)
if (self->priv->channels != NULL)
{
const GList *mini_plugins;
- gchar **possible_handlers = self->priv->possible_handlers;
if (_mcd_dispatch_operation_handlers_can_bypass_observers (self))
{
diff --git a/src/mcd-dispatcher.c b/src/mcd-dispatcher.c
index 04633955..893752b6 100644
--- a/src/mcd-dispatcher.c
+++ b/src/mcd-dispatcher.c
@@ -294,7 +294,7 @@ channel_classes_equals (GHashTable *channel_class1, GHashTable *channel_class2)
}
static GStrv
-mcd_dispatcher_dup_internal_handlers ()
+mcd_dispatcher_dup_internal_handlers (void)
{
const gchar * const internal_handlers[] = { CDO_INTERNAL_HANDLER, NULL };