daemon: fix compilation warning
authorAlexander Kanavin <alexander.kanavin@intel.com>
Wed, 27 Mar 2013 14:21:20 +0000 (16:21 +0200)
committerAlexander Kanavin <alexander.kanavin@intel.com>
Wed, 27 Mar 2013 14:21:20 +0000 (16:21 +0200)
.gitignore
src/daemon/dbus/gsignond-dbus-identity-adapter.c

index 4cae300..b93f130 100644 (file)
@@ -26,6 +26,7 @@ build-aux
 *dbus*gen*
 src/daemon/gsignond
 test/common/commontest
+test/daemon/daemontest
 test/db/dbtest
 test/plugins/passwordplugintest
 test/plugins/pluginproxytest
index f761729..8552f4c 100644 (file)
@@ -76,7 +76,7 @@ G_DEFINE_TYPE (GSignondDbusIdentityAdapter, gsignond_dbus_identity_adapter, GSIG
 static gboolean _handle_request_credentials_update (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, const gchar*, gpointer);
 static gboolean _handle_get_info (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, gpointer);
 static gboolean _handle_get_auth_session (GSignondDbusIdentityAdapter *self, GDBusMethodInvocation *invocation, const gchar *method, gpointer user_data);
-static gboolean _handle_verify_user (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, const GVariant *, gpointer);
+static gboolean _handle_verify_user (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, GVariant *, gpointer);
 static gboolean _handle_verify_secret (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, const gchar *, gpointer);
 static gboolean _handle_remove (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, gpointer);
 static gboolean _handle_sign_out (GSignondDbusIdentityAdapter *, GDBusMethodInvocation *, gpointer);
@@ -369,7 +369,7 @@ _on_user_verfied (GSignondIdentityIface *identity, gboolean res, const GError *e
 static gboolean
 _handle_verify_user (GSignondDbusIdentityAdapter *self,
                      GDBusMethodInvocation *invocation,
-                     const GVariant *params,
+                     GVariant *params,
                      gpointer user_data)
 {
     gboolean res = FALSE;