projects
/
platform
/
upstream
/
libgsignon-glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59bfcf
)
tests: fix compiler warnings
author
Alexander Kanavin
<alex.kanavin@gmail.com>
Tue, 4 Mar 2014 14:09:18 +0000
(16:09 +0200)
committer
Alexander Kanavin
<alex.kanavin@gmail.com>
Tue, 4 Mar 2014 14:09:18 +0000
(16:09 +0200)
tests/check_signon.c
patch
|
blob
|
history
diff --git
a/tests/check_signon.c
b/tests/check_signon.c
index
f6b9260
..
afe291e
100644
(file)
--- a/
tests/check_signon.c
+++ b/
tests/check_signon.c
@@
-72,7
+72,9
@@
_run_mainloop ()
static void
_setup ()
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init ();
+#endif
if (main_loop == NULL) {
main_loop = g_main_loop_new (NULL, FALSE);
}
@@
-974,7
+976,7
@@
static gboolean _contains(gchar **mechs, gchar *mech)
return present;
}
-static void identity_info_cb(SignonIdentity *self,
const
SignonIdentityInfo *info, const GError *error, gpointer user_data)
+static void identity_info_cb(SignonIdentity *self, SignonIdentityInfo *info, const GError *error, gpointer user_data)
{
if (error)
{