Martin Blanchard 156d32cb80 gobject: new g_set_weak_pointer() & g_clear_weak_pointer() helpers
Weak-pointers are currently lacking g_set_object() & g_clear_object()
helpers equivalent. New functions (and macros, both are provided) are
convenient in many case, especially for the property's notify-on-set
pattern:

  if (g_set_weak_pointer (...))
    g_object_notify (...)

Inspired by Christian Hergert's original implementation for
gnome-builder.

https://bugzilla.gnome.org/show_bug.cgi?id=749527
2017-12-21 09:59:30 +00:00
..
2015-10-23 11:28:03 -04:00
2014-05-30 10:22:35 -04:00
2017-05-24 11:58:19 +02:00
2016-08-27 22:54:39 -04:00
2013-05-29 08:37:08 -04:00