From a256b2d1a3bcf5e04ea99ed508fe7ddc797de32c Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Thu, 9 Nov 2017 13:34:16 +0000 Subject: [PATCH] lib/remote: Export ostree_remote_get_type symbol Without this, you can't really use OstreeRemote as a GObject, which is a requirement for bindings. This was found when attempting to include OstreeRemote in the GIR, and g-ir-scanner wasn't able to link it's temporary object due to an "undefined reference to `ostree_remote_get_type'" error. Closes: #1337 Approved by: pwithnall --- apidoc/ostree-experimental-sections.txt | 2 ++ src/libostree/libostree-experimental.sym | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/apidoc/ostree-experimental-sections.txt b/apidoc/ostree-experimental-sections.txt index 309d07fb..fc383922 100644 --- a/apidoc/ostree-experimental-sections.txt +++ b/apidoc/ostree-experimental-sections.txt @@ -19,6 +19,8 @@ OstreeRemote ostree_remote_ref ostree_remote_unref ostree_remote_get_name + +ostree_remote_get_type
diff --git a/src/libostree/libostree-experimental.sym b/src/libostree/libostree-experimental.sym index cbe373cf..3b991c42 100644 --- a/src/libostree/libostree-experimental.sym +++ b/src/libostree/libostree-experimental.sym @@ -89,3 +89,8 @@ global: ostree_repo_finder_override_get_type; ostree_repo_finder_override_new; } LIBOSTREE_2017.12_EXPERIMENTAL; + +LIBOSTREE_2017.14_EXPERIMENTAL { +global: + ostree_remote_get_type; +} LIBOSTREE_2017.13_EXPERIMENTAL;