lib/remote: Export ostree_remote_get_type symbol
authorDan Nicholson <nicholson@endlessm.com>
Thu, 9 Nov 2017 13:34:16 +0000 (13:34 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 10 Nov 2017 10:03:44 +0000 (10:03 +0000)
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
src/libostree/libostree-experimental.sym

index 309d07fb3af78f956dbf3fa46b2fc8830c5c42f8..fc383922d1fc0ce434cb9bad15dae8ff79aa4169 100644 (file)
@@ -19,6 +19,8 @@ OstreeRemote
 ostree_remote_ref
 ostree_remote_unref
 ostree_remote_get_name
+<SUBSECTION Standard>
+ostree_remote_get_type
 </SECTION>
 
 <SECTION>
index cbe373cf6688ee0cf5420da7fb9ff05476a1d888..3b991c42641f79c9bb5a565c412277e128b4da65 100644 (file)
@@ -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;