From 84bab3a1309726d5e97df410d37c8c4af0bc244b Mon Sep 17 00:00:00 2001 From: Masao Mutoh Date: Mon, 14 Nov 2005 13:02:28 +0000 Subject: [PATCH] * Fixed problems on Win32. --- glib/src/glib2.def | 1 + glib/src/rbgobject.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/glib/src/glib2.def b/glib/src/glib2.def index 2d8c200aa6..27bb604d49 100644 --- a/glib/src/glib2.def +++ b/glib/src/glib2.def @@ -6,6 +6,7 @@ EXPORTS rbgobj_add_relative rbgobj_add_relative_removable rbgobj_remove_relative + rbgobj_remove_relative_all rbgobj_define_class rbgobj_define_class_dynamic rbgobj_instance_from_ruby_object diff --git a/glib/src/rbgobject.h b/glib/src/rbgobject.h index 3c92d5ce35..8a7cd8062a 100644 --- a/glib/src/rbgobject.h +++ b/glib/src/rbgobject.h @@ -4,7 +4,7 @@ rbgobject.h - $Author: mutoh $ - $Date: 2005/11/06 06:41:14 $ + $Date: 2005/11/14 13:02:28 $ Copyright (C) 2003,2004 Ruby-GNOME2 Project Team Copyright (C) 2002,2003 Masahiro Sakai @@ -50,7 +50,7 @@ extern "C" { #define G_REMOVE_RELATIVE(obj, id, hash_key)\ (rbgobj_remove_relative(obj, id, hash_key)) -extern ID rbgobj_id_children; +RUBY_GLIB2_VAR ID rbgobj_id_children; #define G_CHILD_SET(self, id, child) (rb_ivar_set(self, id, child)) #define G_CHILD_UNSET(self, id) (rb_ivar_set(self, id, Qnil))