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
..
2005-04-22 18:34:41 +00:00
2017-07-13 19:03:39 -04:00
2017-10-14 09:15:59 +01:00
2015-09-08 14:14:13 +02:00
2010-06-15 16:06:18 +01:00
2002-11-23 01:37:17 +00:00