[glib/glib-2-26] gtypemodule: Mention g_object_run_dispose correctly in a warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-26] gtypemodule: Mention g_object_run_dispose correctly in a warning
- Date: Fri, 12 Nov 2010 14:08:26 +0000 (UTC)
commit 633b2bc6113e06c4977cfa2c27bcbb5623bf07a9
Author: Javier Jardón <jjardon gnome org>
Date: Fri Oct 8 17:21:53 2010 +0200
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gobject/gtypemodule.c b/gobject/gtypemodule.c
index 116dafe..76d675a 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]