From 5997f7cc83b37c16a09af7f2bbe526f115dbe514 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 27 Sep 2023 06:15:42 -0400 Subject: [PATCH] signal: Stop using g_type_class_ref/unref These are just wrappers for g_type_class_get/nothing now. --- gobject/gsignal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gsignal.c b/gobject/gsignal.c index 1a2051fa4..cdde8ca47 100644 --- a/gobject/gsignal.c +++ b/gobject/gsignal.c @@ -1304,7 +1304,7 @@ g_signal_stop_emission_by_name (gpointer instance, * Also tries the ancestors of the given type. * * The type class passed as @itype must already have been instantiated (for - * example, using g_type_class_ref()) for this function to work, as signals are + * example, using g_type_class_get()) for this function to work, as signals are * always installed during class initialization. * * See g_signal_new() for details on allowed signal names.