mono / gtk-sharp

Gtk# is a Mono/.NET binding to the cross platform Gtk+ GUI toolkit and the foundation of most GUI apps built with Mono
http://www.mono-project.com/GtkSharp
Other
429 stars 140 forks source link

glib: Add GVariant to fundamental types #103

Closed sundermann closed 10 years ago

sundermann commented 10 years ago

GVariant is a fundamental type since 2.26, this commit adds it to the fundamental type list and adds operators to construct and convert from and to a GValue.

https://github.com/GNOME/glib/blob/master/gobject/gtype.h#L196

knocte commented 10 years ago

What happens if someone compiled glib-sharp (including this PR) having an older version of glib than 2.26?

sundermann commented 10 years ago

The docs say that gtk# targets 2.28, so this is no problem

knocte commented 10 years ago

:+1:

bl8 commented 10 years ago

Thanks for the patch, I've committed it to git master.