summaryrefslogtreecommitdiff
path: root/glib/src/varianttype.ccg
Commit message (Collapse)AuthorAgeFilesLines
* VariantType: Fix typo in VARIANT_TYPE_BYTESTRING_ARRAY.glibmm-2-34Murray Cumming2014-04-141-1/+1
| | | | | | | * gio/src/varianttype.ccg: VARIANT_TYPE_BYTESTRING_ARRAY was set to G_VARIANT_TYPE_STRING_ARRAY instead of G_VARIANT_TYPE_BYTESTRING_ARRAY, causing VariantDict::lookup_value() to fail on an array of filenames when given a vector<std::string>.
* Strip trailing whitespace.Mark Vender2012-11-051-2/+2
| | | | | | | * gio/giomm/*.[h|cc]: * gio/src/*.[hg|ccg]: * glib/glibmm/*.[h|cc]: * glib/src/*.[hg|ccg]: Strip trailing whitespace. Bug #681072.
* Wrap g_variant_type_peek_string() by hand.Krzesimir Nowak2012-07-221-0/+5
| | | | | | | | * glib/src/gvarianttype.hg: * glib/src/gvarianttype.ccg: The wrapped function does not return a C string (it is not NULL terminated), so std::string(str, size) constructor needs to be used. I wonder how glibmm_variant test passed through all distchecks so far...
* Do not include glib/gvarianttype.h.Murray Cumming2011-10-131-1/+1
| | | | | * glib/src/thread.hg: Include glib.h instead. The recent glib version has a pragma that complains about this.
* VariantType: Capitalize the standard types.Murray Cumming2011-03-281-2/+2
| | | | | | | * glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead of VariantTypeString. This seems more appropriate for a constant and is the style used by gtkmm's STOCK_* items, which this is based on. * glib/src/variant.ccg: Adapt.
* VariantType: Capitalize the standard types.Murray Cumming2011-03-281-25/+25
| | | | | | | * glib/src/varianttype.[hg|ccg]: Use, for instance VARIANT_TYPE_STRING instead of VariantTypeString. This seems more appropriate for a constant and is the style used by gtkmm's STOCK_* items, which this is based on. * glib/src/variant.ccg: Adapt.
* VariantTypeMurray Cumming2010-07-291-0/+5
| | | | | | | | * glib/src/glib_functions.defs: Regenerated, manually changing some define-method lines to define-function lines. * glib/src/varianttype.[hg|ccg]: Added create_*() methods and a (std::string) constructor. * tools/m4/convert_glib.m4: Added a conversion.
* VariantType: Add more appropriate constructor and add Gtk::Stock-like types.Murray Cumming2010-07-291-0/+99
* glib/src/varianttype.[hg|ccg]: Add a cobject constructor that always copies, and an operator= to match. Add VariantType* objects to match the G_VARIANT_TYPE_* defines in C.