diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-06-18 21:45:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-07-08 18:34:43 (GMT) |
commit | 6aa139281feca7cbe806efffe4ee787891d87d00 (patch) | |
tree | e1871fd21a210ced8b0ad5da67ffdd5c59790e77 /src/glibext/gwidthtracker.c | |
parent | 24f4b449d22c918d8f0e6c8fc059e0fa1fa485ff (diff) |
Improved reference tracking for widget disposing.
Diffstat (limited to 'src/glibext/gwidthtracker.c')
-rw-r--r-- | src/glibext/gwidthtracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glibext/gwidthtracker.c b/src/glibext/gwidthtracker.c index 50b99eb..3d39316 100644 --- a/src/glibext/gwidthtracker.c +++ b/src/glibext/gwidthtracker.c @@ -239,7 +239,7 @@ static void g_width_update_init(GWidthUpdate *update) static void g_width_update_dispose(GWidthUpdate *update) { - g_object_unref(G_OBJECT(update->tracker)); + g_clear_object(&update->tracker); G_OBJECT_CLASS(g_width_update_parent_class)->dispose(G_OBJECT(update)); |