Skip to content
Commit 8b05dc90 authored by Daniel Boles's avatar Daniel Boles
Browse files

Gio::Action: #include <glibmm/variant.h> in hg

Currently, it is included indirectly, via 3 other headers. This is
brittle. Without that, users of action.h would have to manually include
variant.h to use methods returning the forward-declared VariantBase,
which isn’t very helpful. Plus, the header uses types like Variant<>
templates and VariantContainerBase, which were never forward-declared.

Including it directly makes the dependency more obvious and less brittle
and spares us from having to write a bunch more forward-declarations.

https://bugzilla.gnome.org/show_bug.cgi?id=777953
parent 9baaa16d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment