[tracker/wip/carlosg/tracker-3.0-api-breaks: 73/79] libtracker-sparql: Ensure to make enum get_type() functions public API



commit 5077ef21f7e0d6951e1f63e523b38c25701de31e
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jan 27 12:24:30 2020 +0100

    libtracker-sparql: Ensure to make enum get_type() functions public API
    
    These need to be explicitly exported now.

 src/libtracker-sparql/tracker-sparql-enum-types.h.template | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libtracker-sparql/tracker-sparql-enum-types.h.template 
b/src/libtracker-sparql/tracker-sparql-enum-types.h.template
index 2d36e768f..c0afe7b37 100644
--- a/src/libtracker-sparql/tracker-sparql-enum-types.h.template
+++ b/src/libtracker-sparql/tracker-sparql-enum-types.h.template
@@ -4,6 +4,7 @@
 #define __TRACKER_NOTIFY_ENUM_TYPES_H__
 
 #include <glib-object.h>
+#include <libtracker-sparql/tracker-version.h>
 
 G_BEGIN_DECLS
 /*** END file-header ***/
@@ -14,6 +15,7 @@ G_BEGIN_DECLS
 /*** END file-production ***/
 
 /*** BEGIN value-header ***/
+TRACKER_AVAILABLE_IN_ALL
 GType @enum_name@_get_type (void) G_GNUC_CONST;
 #define TRACKER_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
 /*** END value-header ***/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]