Tests: fix compilation warning
authorAlberto Mardegan <alberto.mardegan@canonical.com>
Tue, 17 Jul 2012 08:02:38 +0000 (11:02 +0300)
committerAlberto Mardegan <alberto.mardegan@canonical.com>
Tue, 17 Jul 2012 08:02:38 +0000 (11:02 +0300)
tests/check_signon.c

index 253c713d441ce667449481041001ba65e4b7465e..d4126fbcb0d3a1371eb803db2a232427124f4742 100644 (file)
@@ -603,7 +603,7 @@ START_TEST(test_get_nonexisting_identity)
     main_loop = g_main_loop_new (NULL, FALSE);
     g_main_loop_run (main_loop);
 
-    GError *error = NULL;
+    const GError *error = NULL;
     error = signon_identity_get_last_error(identity);
     fail_unless (error != NULL);