[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: entries and guile-gui
From: |
Neil Jerram |
Subject: |
Re: entries and guile-gui |
Date: |
Thu, 22 Feb 2007 08:11:25 +0000 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> I wrote:
>>
>> I'm about the check in the following,
>
> Actually, I guess it needs to check for GtkObject, since there's a few
> GObject derived bits in gdk.
Thanks, this diff fixes the relocation error.
Now to look at Paul's symptoms, which I am seeing also.
Neil
> --- guile-gtk.c.~1.123.~ 2006-12-22 19:45:08.000000000 +1100
> +++ guile-gtk.c 2007-02-22 10:40:57.000000000 +1100
> @@ -37,6 +37,20 @@
> #include "compat.h"
>
>
> +/* g_object_ref_sink is new in glib some time post 2.6.
> + In the past the floating reference stuff was only within GtkObject. */
> +#if ! HAVE_G_OBJECT_REF_SINK
> +static gpointer
> +g_object_ref_sink (gpointer object)
> +{
> + g_object_ref (G_OBJECT (object));
> + if (GTK_IS_OBJECT (object) && GTK_OBJECT_FLOATING (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
>
- guile-gtk-2.0 strangeness..?, Paul Emsley, 2007/02/07
- Re: guile-gtk-2.0 strangeness..?, Paul Emsley, 2007/02/07
- Re: guile-gtk-2.0 strangeness..?, Kevin Ryde, 2007/02/08
- entries and guile-gui [was guile-gtk-2.0 strangeness..?], Paul Emsley, 2007/02/09
- Re: entries and guile-gui, Kevin Ryde, 2007/02/09
- Re: entries and guile-gui, Neil Jerram, 2007/02/18
- Message not available
- Re: entries and guile-gui, Neil Jerram, 2007/02/21
- Re: entries and guile-gui, Kevin Ryde, 2007/02/21
- Re: entries and guile-gui, Kevin Ryde, 2007/02/21
- Re: entries and guile-gui, Kevin Ryde, 2007/02/21
- Re: entries and guile-gui,
Neil Jerram <=
- Re: entries and guile-gui, Neil Jerram, 2007/02/22
- Re: entries and guile-gui, Neil Jerram, 2007/02/22
- Re: entries and guile-gui, Neil Jerram, 2007/02/24
- Re: entries and guile-gui, Kevin Ryde, 2007/02/25
- Re: entries and guile-gui, Neil Jerram, 2007/02/26
- Re: entries and guile-gui, Kevin Ryde, 2007/02/26
- Re: entries and guile-gui, Neil Jerram, 2007/02/28
- Re: entries and guile-gui, Neil Jerram, 2007/02/22