cli,voice: minor coding style fixes

This commit is contained in:
Aleksander Morgado
2015-05-23 17:30:16 +02:00
parent f67cc37956
commit c0e05dbd43
4 changed files with 80 additions and 79 deletions

View File

@@ -1250,12 +1250,13 @@ mmcli_get_call_finish (GAsyncResult *res,
return g_object_ref (ctx->call); return g_object_ref (ctx->call);
} }
void mmcli_get_call (GDBusConnection *connection, void
mmcli_get_call (GDBusConnection *connection,
const gchar *path_or_index, const gchar *path_or_index,
GCancellable *cancellable, GCancellable *cancellable,
GAsyncReadyCallback callback, GAsyncReadyCallback callback,
gpointer user_data) { gpointer user_data)
{
GetVoiceContext *ctx; GetVoiceContext *ctx;
ctx = g_new0 (GetVoiceContext, 1); ctx = g_new0 (GetVoiceContext, 1);
@@ -1272,11 +1273,12 @@ void mmcli_get_call (GDBusConnection *connection,
ctx); ctx);
} }
MMCall *mmcli_get_call_sync (GDBusConnection *connection, MMCall *
mmcli_get_call_sync (GDBusConnection *connection,
const gchar *path_or_index, const gchar *path_or_index,
MMManager **o_manager, MMManager **o_manager,
MMObject **o_object) { MMObject **o_object)
{
MMManager *manager; MMManager *manager;
GList *modems; GList *modems;
GList *l; GList *l;
@@ -1340,7 +1342,6 @@ MMCall *mmcli_get_call_sync (GDBusConnection *connection,
return found; return found;
} }
/* Common options */ /* Common options */
static gchar *modem_str; static gchar *modem_str;
static gchar *bearer_str; static gchar *bearer_str;