[evolution-data-server/wip/mcrha/libical-glib] Do not export deprecated symbols into libedata-book and libebackend .gir
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/wip/mcrha/libical-glib] Do not export deprecated symbols into libedata-book and libebackend .gir
- Date: Tue, 30 Apr 2019 18:32:01 +0000 (UTC)
commit 8e91c3aa01c08db98aa8f0285bbda6dfd76608a9
Author: Milan Crha <mcrha redhat com>
Date: Tue Apr 30 20:30:14 2019 +0200
Do not export deprecated symbols into libedata-book and libebackend .gir
src/addressbook/libedata-book/CMakeLists.txt | 1 +
src/libebackend/CMakeLists.txt | 1 +
src/libebackend/e-offline-listener.c | 3 ++-
3 files changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/addressbook/libedata-book/CMakeLists.txt b/src/addressbook/libedata-book/CMakeLists.txt
index ae405abb0..f0faeef70 100644
--- a/src/addressbook/libedata-book/CMakeLists.txt
+++ b/src/addressbook/libedata-book/CMakeLists.txt
@@ -206,6 +206,7 @@ set(gir_identifies_prefixes E)
set(gir_includes GObject-2.0 GLib-2.0 Gio-2.0 libxml2-2.0)
set(gir_cflags
-DLIBEDATA_BOOK_COMPILATION
+ -DEDS_DISABLE_DEPRECATED=1
-I${CMAKE_BINARY_DIR}/src/addressbook
-I${CMAKE_BINARY_DIR}/src/addressbook/libedata-book
-I${CMAKE_SOURCE_DIR}/src/addressbook
diff --git a/src/libebackend/CMakeLists.txt b/src/libebackend/CMakeLists.txt
index 592b69968..ec9cdf072 100644
--- a/src/libebackend/CMakeLists.txt
+++ b/src/libebackend/CMakeLists.txt
@@ -144,6 +144,7 @@ set(gir_identifies_prefixes E)
set(gir_includes GObject-2.0 Gio-2.0 Soup-2.4 libxml2-2.0)
set(gir_cflags
-DLIBEBACKEND_COMPILATION
+ -DEDS_DISABLE_DEPRECATED=1
)
set(gir_libdirs
${CMAKE_BINARY_DIR}/src/private
diff --git a/src/libebackend/e-offline-listener.c b/src/libebackend/e-offline-listener.c
index b4b5b5149..019d83148 100644
--- a/src/libebackend/e-offline-listener.c
+++ b/src/libebackend/e-offline-listener.c
@@ -62,7 +62,8 @@ e_offline_listener_class_init (EOfflineListenerClass *class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EOfflineListenerClass, changed),
NULL, NULL, NULL,
- G_TYPE_NONE, 0);
+ G_TYPE_NONE, 1,
+ G_TYPE_INT);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]