tag 977187 + patch
thanks

Hello,

The attached patch fix the compilation with glade 3.38. It still compiling fine with the previous version

The patch is inspired from an upstream one, see https://gitlab.gnome.org/GNOME/libhandy/-/issues/335

Can you apply it? Otherwise I'll do NMU in the following days as I really would like to have the last version of glade in unstable

Kind regards,

Laurent Bigonville

--- a/src/handy.h
+++ b/src/handy.h
@@ -24,6 +24,16 @@ G_BEGIN_DECLS
 #error    libhandy is unstable API. You must define HANDY_USE_UNSTABLE_API before including handy.h
 #endif
 
+#ifdef HANDY_COMPILATION
+#ifndef GWA_GET_CLASS
+#define GWA_GET_CLASS GLADE_WIDGET_ADAPTOR_GET_ADAPTOR_CLASS
+#endif
+
+#ifndef GPC_OBJECT_DELIMITER
+#define GPC_OBJECT_DELIMITER GLADE_PROPERTY_DEF_OBJECT_DELIMITER
+#endif
+#endif
+
 #include "hdy-version.h"
 #include "hdy-action-row.h"
 #include "hdy-animation.h"

Reply via email to