]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
timer: user-instance: fix closure marshaller for event signal
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 31 May 2022 01:41:31 +0000 (10:41 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 31 May 2022 01:41:31 +0000 (10:41 +0900)
Fixed: 5148d3889783 ("timer: user_instance: add GObject signal to handle event")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/timer/user-instance.c

index c018c293e448699a97cb7fe65908d126af590689..f213e58b51dcbf37ce97cd29842d0d9ab2c23aee 100644 (file)
@@ -96,7 +96,7 @@ static void alsatimer_user_instance_class_init(ALSATimerUserInstanceClass *klass
                      G_SIGNAL_RUN_LAST,
                      G_STRUCT_OFFSET(ALSATimerUserInstanceClass, handle_event),
                      NULL, NULL,
-                     g_cclosure_marshal_VOID__OBJECT,
+                     g_cclosure_marshal_VOID__BOXED,
                      G_TYPE_NONE, 1, ALSATIMER_TYPE_EVENT);
 
     /**