From 633b2bc6113e06c4977cfa2c27bcbb5623bf07a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Fri, 8 Oct 2010 17:21:53 +0200 Subject: [PATCH] gtypemodule: Mention g_object_run_dispose correctly in a warning https://bugzilla.gnome.org/show_bug.cgi?id=630797 (cherry picked from commit 5fa7a1e9cedb33d32049c54f13adc3504d723573) --- gobject/gtypemodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gobject/gtypemodule.c b/gobject/gtypemodule.c index 116dafe60..76d675aa2 100644 --- a/gobject/gtypemodule.c +++ b/gobject/gtypemodule.c @@ -108,8 +108,8 @@ g_type_module_dispose (GObject *object) if (module->type_infos || module->interface_infos) { - g_warning (G_STRLOC ": unsolicitated invocation of g_object_dispose() on GTypeModule"); - + g_warning (G_STRLOC ": unsolicitated invocation of g_object_run_dispose() on GTypeModule"); + g_object_ref (object); }