Don'e export marshaller symbols
authorAlberto Mardegan <alberto.mardegan@nokia.com>
Thu, 7 Oct 2010 07:15:36 +0000 (10:15 +0300)
committerAlberto Mardegan <alberto.mardegan@nokia.com>
Thu, 7 Oct 2010 07:15:36 +0000 (10:15 +0300)
If they don't start by "signon_", they won't be exported.

libsignon-glib/Makefile.am
libsignon-glib/signon-auth-session.c

index 6b2538273234ab2ef3c8ac980989f8d274ed9a3e..4e47932edb1043da93b4de58e8611b678f42550f 100644 (file)
@@ -59,10 +59,10 @@ signon-identity-glib-gen.h: $(DBUS_INTERFACES_DIR)/com.nokia.SingleSignOn.Identi
        dbus-binding-tool --prefix=signon-identity-glib --mode=glib-client $< > $@
 
 %-marshal.h: %-marshal.list Makefile
-       glib-genmarshal --header --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.h
+       glib-genmarshal --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h
 
 %-marshal.c: %-marshal.list Makefile
-       glib-genmarshal --body --prefix=$(subst -,_,$*)_marshal $< > $*-marshal.c
+       glib-genmarshal --body --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.c
 
 signon-enum-types.h: stamp-signon-enum-types.h
        @true
index 78d14d94c9b37ebf511e9278a823f43de4e5baec..cfbaf39fbbd5ba633c03610dfee0bf98a7a2ea85 100644 (file)
@@ -210,7 +210,7 @@ signon_auth_session_class_init (SignonAuthSessionClass *klass)
                           0,
                           NULL,
                           NULL,
-                          signon_marshal_VOID__INT_STRING,
+                          _signon_marshal_VOID__INT_STRING,
                           G_TYPE_NONE, 2,
                           G_TYPE_INT,
                           G_TYPE_STRING);
@@ -399,7 +399,7 @@ auth_session_get_object_path_reply (DBusGProxy *proxy, char * object_path,
                                                    SIGNOND_AUTH_SESSION_INTERFACE,
                                                    object_path);
 
-        dbus_g_object_register_marshaller (signon_marshal_VOID__INT_STRING,
+        dbus_g_object_register_marshaller (_signon_marshal_VOID__INT_STRING,
                                            G_TYPE_NONE,
                                            G_TYPE_INT,
                                            G_TYPE_STRING,