Hi,
Please review these changes and apply them as you see fit.
I am not entirely sure about the correctness of this patch so
review it, please.
I could not come up with something better due to my limited
C knowledge.
Thanks!
Cheers,
Joao
Index: glib/src/rbgobj_type.c
— glib/src/rbgobj_type.c (revisão 3447)
+++ glib/src/rbgobj_type.c (cópia de trabalho)
@@ -28,6 +28,7 @@
static ID id_superclass;
static VALUE gtype_to_cinfo;
static VALUE klass_to_cinfo;
+static VALUE rb_thread_critical;
static GHashTable* dynamic_gtype_list;
typedef struct {
Index: glib/src/rbgcompat.h
— glib/src/rbgcompat.h (revisão 3447)
+++ glib/src/rbgcompat.h (cópia de trabalho)
@@ -25,6 +25,8 @@
extern void rbgobj_fund_define_fundamental(RGFundamental *fundamental);
+#define rb_progname (rb_argv0)
+
G_END_DECLS
#endif