2014-07-25 Kjell Ahlstedt <
[email protected]>
Gio::Menu: Allow detailed_action == null
* gio/src/menu.hg: insert/prepend/append(): Make it possible to pass
detailed_action == 0 to the glib/gio functions. Bug #733203.
2014-07-21 Kjell Ahlstedt <
[email protected]>
Make custom interface properties instance data
* glib/glibmm/class.cc: Copy the default values of the interface properties
to the class's iface_properties_quark.
* glib/glibmm/property.cc: custom_set_property_callback(): Copy the
default values to object-specific data.
custom_get_property_callback(): Get object-specific value if it exists, else
class-specific default value. Bug #732746.
2014-07-19 Juan R. García Blanco <
[email protected]>
Add Gio::SimplePermission
* gio/giomm.h: Add giomm/simplepermission.h.
* gio/src/simplepermission.[hg|ccg]: New files.
* gio/src/filelist.am: Add simplepermission.hg.
* tools/extra_defs_gen/generate_defs_gio.cc: Add
G_TYPE_SIMPLE_PERMISSION (although SimplePermission has no
signals nor properties).
* See
https://bugzilla.gnome.org/show_bug.cgi?id=732436
2014-07-19 Juan R. García Blanco <
[email protected]>
Add Gio::Permission
* gio/giomm.h: Add giomm/permission.h.
* gio/src/filelist.am: Add permission.hg.
* gio/src/gio_signals.defs: Add allowed, can-acquire, and
can-acquire properties.
* gio/src/gio_vfuncs.defs: Add vfuncs.
* gio/src/permission.[hg|ccg]: New files.
* tools/extra_defs_gen/generate_defs_gio.cc: Add
G_TYPE_PERMISSION.
* See
https://bugzilla.gnome.org/show_bug.cgi?id=732436
2014-07-07 Povilas Kanapickas <
[email protected]>
PropertyBase: Use g_object_notify_by_pspec() instead of g_object_notify()
This approach is faster and recommended by GLib. Bug #731484.
2014-07-07 Povilas Kanapickas <
[email protected]>
Rename ambiguously named overridden property variable and type
* glib/glibmm/class.[cc|h]:
* glib/glibmm/interface.cc:
* glib/glibmm/property.cc: Rename properties_quark and properties_type to
iface_properties_quark and iface_properties_type.
As custom_[set|get]_property_callback() in property.cc also sets and gets
user-defined properties, this naming choice may be confusing.
These names are intended for use by glibmm only. Renaming is not an
ABI/API break. Bug #731484.
2014-07-05 Juan R. García Blanco <
[email protected]>
Add support for GtkContainer child properties
2014-06-28 Kjell Ahlstedt <
[email protected]>
gmmproc: _WRAP_METHOD: Allow multi-word parameter types (unsigned int)
* tools/pm/Function.pm: parse_param(): Allow multi-word parameter types,
as in _WRAP_METHOD(void set_button(unsigned int button = 0),
gtk_gesture_single_set_button).
Affects _WRAP_METHOD, _WRAP_SIGNAL, _WRAP_CTOR, _WRAP_CREATE, _WRAP_VFUNC.