aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-10 05:06:58 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-10 05:06:58 +0800
commit8566eedace4bc9ffe440e3bd057b08a9f3810d09 (patch)
treeae2f0fe08a3d5cd2eaf28def4106a4bfa422da7e /libempathy
parentb14a2d1a15a4fa17acd02afb6958ff57a8e0c6d6 (diff)
downloadgsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar.gz
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar.bz2
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar.lz
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar.xz
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.tar.zst
gsoc2013-empathy-8566eedace4bc9ffe440e3bd057b08a9f3810d09.zip
Do not export symbols outside the empathy_ namespace.
svn path=/trunk/; revision=613
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/Makefile.am13
-rw-r--r--libempathy/empathy-chandler.c2
-rw-r--r--libempathy/empathy-contact-list.c6
-rw-r--r--libempathy/empathy-filter.c4
-rw-r--r--libempathy/empathy-tp-chat.c4
-rw-r--r--libempathy/empathy-tp-group.c8
6 files changed, 19 insertions, 18 deletions
diff --git a/libempathy/Makefile.am b/libempathy/Makefile.am
index 3c87db37c..a114ad7c8 100644
--- a/libempathy/Makefile.am
+++ b/libempathy/Makefile.am
@@ -11,7 +11,8 @@ BUILT_SOURCES = \
empathy-enum-types.h \
empathy-enum-types.c \
empathy-filter-glue.h \
- empathy-chandler-glue.h
+ empathy-chandler-glue.h \
+ tp-stream-engine-gen.h
lib_LTLIBRARIES = libempathy.la
@@ -49,7 +50,8 @@ libempathy_la_LIBADD = \
$(LIBEMPATHY_LIBS)
libempathy_la_LDFLAGS = \
- -version-info ${LIBEMPATHY_CURRENT}:${LIBEMPATHY_REVISION}:${LIBEMPATHY_AGE}
+ -version-info ${LIBEMPATHY_CURRENT}:${LIBEMPATHY_REVISION}:${LIBEMPATHY_AGE} \
+ -export-symbols-regex ^empathy_
libempathy_headers = \
empathy-avatar.h \
@@ -75,8 +77,7 @@ libempathy_headers = \
empathy-chandler.h \
empathy-filter.h \
empathy-idle.h \
- empathy-log-manager.h \
- tp-stream-engine-gen.h
+ empathy-log-manager.h
libempathy_includedir = $(includedir)/libempathy/
libempathy_include_HEADERS = \
@@ -84,11 +85,11 @@ libempathy_include_HEADERS = \
empathy-enum-types.h
%-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
echo "#include \"empathy-marshal.h\"" > $@ && \
- $(GLIB_GENMARSHAL) --body --prefix=$(subst -,_,$*)_marshal $< >> $*-marshal.c
+ $(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c
empathy-chandler-glue.h: empathy-chandler.xml Makefile
$(LIBTOOL) --mode=execute $(DBUS_BINDING_TOOL) --prefix=empathy_chandler --mode=glib-server --output=$@ $<
diff --git a/libempathy/empathy-chandler.c b/libempathy/empathy-chandler.c
index 2ebbde968..a91e55dc9 100644
--- a/libempathy/empathy-chandler.c
+++ b/libempathy/empathy-chandler.c
@@ -62,7 +62,7 @@ empathy_chandler_class_init (EmpathyChandlerClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT,
+ _empathy_marshal_VOID__OBJECT_OBJECT,
G_TYPE_NONE,
2, TELEPATHY_CONN_TYPE, TELEPATHY_CHAN_TYPE);
}
diff --git a/libempathy/empathy-contact-list.c b/libempathy/empathy-contact-list.c
index 510e41957..c34dc5334 100644
--- a/libempathy/empathy-contact-list.c
+++ b/libempathy/empathy-contact-list.c
@@ -59,7 +59,7 @@ contact_list_base_init (gpointer klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING_BOOLEAN,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING_BOOLEAN,
G_TYPE_NONE,
5, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT,
G_TYPE_UINT, G_TYPE_STRING, G_TYPE_BOOLEAN);
@@ -69,7 +69,7 @@ contact_list_base_init (gpointer klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING_BOOLEAN,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING_BOOLEAN,
G_TYPE_NONE,
5, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT,
G_TYPE_UINT, G_TYPE_STRING, G_TYPE_BOOLEAN);
@@ -79,7 +79,7 @@ contact_list_base_init (gpointer klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_STRING_BOOLEAN,
+ _empathy_marshal_VOID__OBJECT_STRING_BOOLEAN,
G_TYPE_NONE,
3, EMPATHY_TYPE_CONTACT, G_TYPE_STRING, G_TYPE_BOOLEAN);
diff --git a/libempathy/empathy-filter.c b/libempathy/empathy-filter.c
index 700f9819b..fb8a5208e 100644
--- a/libempathy/empathy-filter.c
+++ b/libempathy/empathy-filter.c
@@ -78,7 +78,7 @@ empathy_filter_class_init (EmpathyFilterClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT,
+ _empathy_marshal_VOID__OBJECT_OBJECT,
G_TYPE_NONE,
2, TELEPATHY_CONN_TYPE, TELEPATHY_CHAN_TYPE);
@@ -88,7 +88,7 @@ empathy_filter_class_init (EmpathyFilterClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__UINT_BOOLEAN,
+ _empathy_marshal_VOID__UINT_BOOLEAN,
G_TYPE_NONE,
2, G_TYPE_UINT, G_TYPE_BOOLEAN);
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c
index 7a7f8dfec..5e166cac9 100644
--- a/libempathy/empathy-tp-chat.c
+++ b/libempathy/empathy-tp-chat.c
@@ -302,7 +302,7 @@ empathy_tp_chat_class_init (EmpathyTpChatClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_UINT,
+ _empathy_marshal_VOID__OBJECT_UINT,
G_TYPE_NONE,
2, EMPATHY_TYPE_MESSAGE, G_TYPE_UINT);
@@ -312,7 +312,7 @@ empathy_tp_chat_class_init (EmpathyTpChatClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_UINT,
+ _empathy_marshal_VOID__OBJECT_UINT,
G_TYPE_NONE,
2, EMPATHY_TYPE_CONTACT, G_TYPE_UINT);
diff --git a/libempathy/empathy-tp-group.c b/libempathy/empathy-tp-group.c
index 30a0097c6..c20bf2053 100644
--- a/libempathy/empathy-tp-group.c
+++ b/libempathy/empathy-tp-group.c
@@ -501,7 +501,7 @@ empathy_tp_group_class_init (EmpathyTpGroupClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
G_TYPE_NONE,
4, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT, G_TYPE_UINT, G_TYPE_STRING);
@@ -511,7 +511,7 @@ empathy_tp_group_class_init (EmpathyTpGroupClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
G_TYPE_NONE,
4, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT, G_TYPE_UINT, G_TYPE_STRING);
@@ -521,7 +521,7 @@ empathy_tp_group_class_init (EmpathyTpGroupClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
G_TYPE_NONE,
4, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT, G_TYPE_UINT, G_TYPE_STRING);
@@ -531,7 +531,7 @@ empathy_tp_group_class_init (EmpathyTpGroupClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
+ _empathy_marshal_VOID__OBJECT_OBJECT_UINT_STRING,
G_TYPE_NONE,
4, EMPATHY_TYPE_CONTACT, EMPATHY_TYPE_CONTACT, G_TYPE_UINT, G_TYPE_STRING);