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



commit f36c41fd152db284ad43753695be3fdd719b1110
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]