]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/binding/binding.h
Use libsigrok C++ bindings (patch version 7).
[pulseview.git] / pv / prop / binding / binding.h
index cce8ebf8a15cfe86d174aa5641fa9d514880bcea..9d52731d778556835239af38acffa7c8a17ed3ca 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef PULSEVIEW_PV_PROP_BINDING_BINDING_H
 #define PULSEVIEW_PV_PROP_BINDING_BINDING_H
 
-#include <glib.h>
+#include <glibmm-2.4/glibmm.h>
 
 #include <vector>
 #include <memory>
@@ -51,7 +51,7 @@ public:
        QWidget* get_property_form(QWidget *parent,
                bool auto_commit = false) const;
 
-       static QString print_gvariant(GVariant *const gvar);
+       static QString print_gvariant(Glib::VariantBase gvar);
 
 protected:
        std::vector< std::shared_ptr<Property> > _properties;