guile-gtk-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: entries and guile-gui


From: Kevin Ryde
Subject: Re: entries and guile-gui
Date: Thu, 22 Feb 2007 10:06:43 +1100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

This time without bumping C-c C-c ...

Neil Jerram <address@hidden> writes:
>
> /usr/local/bin/guile: relocation error: /usr/local/lib/libguilegtk-2.0.so.0: 
> undefined symbol: g_object_ref_sink

A slightly old glib, I'm about the check in the following, if you'd
like to give it a try.

--- guile-gtk.c.~1.123.~        2006-12-22 19:45:08.000000000 +1100
+++ guile-gtk.c 2007-02-17 12:05:32.000000000 +1100
@@ -37,6 +37,17 @@
 #include "compat.h"
 
 
+#if ! HAVE_G_OBJECT_REF_SINK  /* new in glib some time post 2.6 */
+static gpointer
+g_object_ref_sink (gpointer object)
+{
+  g_object_ref (G_OBJECT (object));
+  gtk_object_sink (GTK_OBJECT (object));
+  return object;
+}
+#endif
+
+
 /* Define this to enable some output during GC and other interesting
    actions. */
 #undef DEBUG_PRINT

reply via email to

[Prev in Thread] Current Thread [Next in Thread]