aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--docs/libempathy-gtk/Makefile.am1
-rw-r--r--docs/libempathy-gtk/libempathy-gtk-docs.sgml1
-rw-r--r--docs/libempathy-gtk/libempathy-gtk.types1
-rw-r--r--libempathy-gtk/Makefile.am3
-rw-r--r--libempathy-gtk/empathy-chat.c2
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c2
-rw-r--r--libempathy-gtk/empathy-presence-chooser.c1
-rw-r--r--libempathy-gtk/empathy-theme.c1
-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
14 files changed, 24 insertions, 25 deletions
diff --git a/docs/libempathy-gtk/Makefile.am b/docs/libempathy-gtk/Makefile.am
index 2e8f2020d..ef71cdc85 100644
--- a/docs/libempathy-gtk/Makefile.am
+++ b/docs/libempathy-gtk/Makefile.am
@@ -21,6 +21,7 @@ CFILE_GLOB=$(top_srcdir)/libempathy-gtk/*.c
IGNORE_HFILES= \
empathy-gtk-enum-types.h \
stamp-empathy-gtk-enum-types.h \
+ ephy-spinner.h \
$(NULL)
# CFLAGS and LDFLAGS for compiling scan program. Only needed
diff --git a/docs/libempathy-gtk/libempathy-gtk-docs.sgml b/docs/libempathy-gtk/libempathy-gtk-docs.sgml
index 774f05146..1fb4c383b 100644
--- a/docs/libempathy-gtk/libempathy-gtk-docs.sgml
+++ b/docs/libempathy-gtk/libempathy-gtk-docs.sgml
@@ -55,7 +55,6 @@
<xi:include href="xml/empathy-status-icon.xml"/>
<xi:include href="xml/empathy-theme-manager.xml"/>
<xi:include href="xml/empathy-ui-utils.xml"/>
- <xi:include href="xml/ephy-spinner.xml"/>
</chapter>
</part>
diff --git a/docs/libempathy-gtk/libempathy-gtk.types b/docs/libempathy-gtk/libempathy-gtk.types
index ed611c993..5cfb7b21a 100644
--- a/docs/libempathy-gtk/libempathy-gtk.types
+++ b/docs/libempathy-gtk/libempathy-gtk.types
@@ -22,5 +22,4 @@ empathy_theme_boxes_get_type
empathy_theme_get_type
empathy_theme_irc_get_type
empathy_theme_manager_get_type
-ephy_spinner_get_type
diff --git a/libempathy-gtk/Makefile.am b/libempathy-gtk/Makefile.am
index 083065f81..987e28f2e 100644
--- a/libempathy-gtk/Makefile.am
+++ b/libempathy-gtk/Makefile.am
@@ -64,7 +64,8 @@ libempathy_gtk_la_LIBADD = \
$(top_builddir)/libempathy/libempathy.la
libempathy_gtk_la_LDFLAGS = \
- -version-info ${LIBEMPATHY_GTK_CURRENT}:${LIBEMPATHY_GTK_REVISION}:${LIBEMPATHY_GTK_AGE}
+ -version-info ${LIBEMPATHY_GTK_CURRENT}:${LIBEMPATHY_GTK_REVISION}:${LIBEMPATHY_GTK_AGE} \
+ -export-symbols-regex ^empathy_
libempathy_gtk_headers = \
empathy-images.h \
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index ad259d2d3..2594ac201 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -279,7 +279,7 @@ empathy_chat_class_init (EmpathyChatClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_BOOLEAN,
+ _empathy_marshal_VOID__OBJECT_BOOLEAN,
G_TYPE_NONE,
2, EMPATHY_TYPE_MESSAGE, G_TYPE_BOOLEAN);
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index 1aea4dce4..7dbc9dd87 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -322,7 +322,7 @@ empathy_contact_list_view_class_init (EmpathyContactListViewClass *klass)
G_SIGNAL_RUN_LAST,
0,
NULL, NULL,
- empathy_marshal_VOID__OBJECT_STRING_STRING,
+ _empathy_marshal_VOID__OBJECT_STRING_STRING,
G_TYPE_NONE,
3, EMPATHY_TYPE_CONTACT, G_TYPE_STRING, G_TYPE_STRING);
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c
index e543a5f1f..dfed7bfc7 100644
--- a/libempathy-gtk/empathy-presence-chooser.c
+++ b/libempathy-gtk/empathy-presence-chooser.c
@@ -37,7 +37,6 @@
#include <libempathy/empathy-idle.h>
#include <libempathy/empathy-utils.h>
#include <libempathy/empathy-debug.h>
-#include <libempathy/empathy-marshal.h>
#include <libempathy/empathy-status-presets.h>
#include "empathy-ui-utils.h"
diff --git a/libempathy-gtk/empathy-theme.c b/libempathy-gtk/empathy-theme.c
index c8a9a0d48..dae690b5c 100644
--- a/libempathy-gtk/empathy-theme.c
+++ b/libempathy-gtk/empathy-theme.c
@@ -26,7 +26,6 @@
#include <libempathy/empathy-debug.h>
#include <libempathy/empathy-utils.h>
-#include <libempathy/empathy-marshal.h>
#include "empathy-chat.h"
#include "empathy-conf.h"
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);