fbd-dev-led: Turn into a GObject

This is just the minimal changes to switch to a derivable GObject
This commit is contained in:
Guido Günther
2023-02-10 15:15:12 +00:00
committed by Guido Gunther
parent f17ca72c1b
commit f7ec08497e
3 changed files with 133 additions and 37 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ fbd_dev_leds_dispose (GObject *object)
FbdDevLeds *self = FBD_DEV_LEDS (object);
g_clear_object (&self->client);
g_slist_free_full (self->leds, (GDestroyNotify)fbd_dev_led_free);
g_slist_free_full (self->leds, (GDestroyNotify)g_object_unref);
self->leds = NULL;
G_OBJECT_CLASS (fbd_dev_leds_parent_class)->dispose (object);