| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
* gio/src/settings.[hg|ccg]: Add signal_changed(key). Remove connect_changed().
* examples/settings/settings.cc: Test signal_changed(key). Bug #749034.
|
|
|
|
|
|
| |
This reverts commit 9b0554e2c9deca2399e654e7984c9dfe3b67e387.
This was not meant to be in the master branch.
|
| |
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: VariantBase: Added init(), like Value::init().
This just changes the gobject_, with appropriate unref and ref.
* gio/src/settings.[hg|ccg]: get_value(): Use an output parameter for the
VariantBase, instead of a return value, as we do for Value, allowing the
caller to use a derived (templated) type.
* examples/settings/settings.cc: Show how Variant<> can be used.
|
|
|
|
|
| |
* examples/settings/settings.cc: Remove the unnecessary use of
Glib::ustring::raw().
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* glib/src/variant.[hg|ccg]: ValueBase: Wrap some simple functions
with _WRAP_METHOD().
* glib/src/variant_basictypes.h.m4: Syntax changes, and make the castitem
constructor explicit.
* tools/m4/convert_gio.m4: Added necessary conversion.
We need to decide how to use this in get*() methods and add some tests.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* examples/Makefile.am: Do not install the schema file of the settings
example to the user's system. Instead, compile the binary shema cache
in a local directory and have the example use that. As a side effect,
this also resolves the "make distcheck" failure when trying to install
the schema.
* examples/settings/settings.cc (main): Do not try to determine the
schema directory from the executable name, as it depends too much on
the libtool setup with the hidden .libs directory being part of the
path name. Requiring the user to change to the example directory is
good enough. Also, initialize the C++ locale on program startup, and
call Gio::init() instead of Glib::init().
(on_key_changed): Call ustring::raw() to suppress the locale-aware
comparison ustring performs by default.
|
|
|
|
|
| |
* examples/settings/settings.cc: Comment out an unused paramter to
fix a compiler warning, to partly fix the distcheck.
|
|
|