[gtkmm/fix-88-master] treepath.hg: Export comparison operators




commit adb319f78f086df1a6d20b559a99e2be79c0e348
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Fri Feb 12 11:54:14 2021 +0800

    treepath.hg: Export comparison operators
    
    The 'GTKMM_API' decoration was missed from the '_WRAP_COMPARE' item,
    making the code fail to link for Inkscape on Windows.  Add the needed
    decoration to fix this.
    
    Fixes issue #88.

 gtk/src/treepath.hg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/src/treepath.hg b/gtk/src/treepath.hg
index a65f4b48..c623294e 100644
--- a/gtk/src/treepath.hg
+++ b/gtk/src/treepath.hg
@@ -140,7 +140,7 @@ public:
   _WRAP_METHOD(Glib::ustring to_string() const, gtk_tree_path_to_string)
 
 #m4begin
-  _WRAP_COMPARE(gtk_tree_path_compare)
+  _WRAP_COMPARE(gtk_tree_path_compare, , GTKMM_API)
 #m4end
 
   _IGNORE(gtk_tree_path_append_index) //replaced by push_back()


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