utils: add necessary header and footer to have right calling convention
authorJussi Laako <jussi.laako@linux.intel.com>
Wed, 11 Jun 2014 11:57:16 +0000 (14:57 +0300)
committerJussi Laako <jussi.laako@linux.intel.com>
Wed, 11 Jun 2014 11:57:16 +0000 (14:57 +0300)
with c++ code

libgsignon-glib/signon-utils.h

index dec722c..d7d5eca 100644 (file)
@@ -28,6 +28,8 @@
 
 #include <glib-object.h>
 
+G_BEGIN_DECLS
+
 #define SIGNON_IS_NOT_CANCELLED(error) \
         (error == NULL || \
         error->domain != G_IO_ERROR || \
@@ -40,4 +42,6 @@ void signon_gvalue_free (gpointer val);
 GHashTable *signon_hash_table_from_variant (GVariant *variant);
 GVariant *signon_hash_table_to_variant (GHashTable *hash_table);
 
+G_END_DECLS
+
 #endif //_SIGNON_UTILS_H_