bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Win32 build 021224


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Win32 build 021224
Date: Wed, 25 Dec 2002 23:47:08 +0000
User-agent: Mutt/1.4i

On Wed, Dec 25, 2002 at 02:47:36PM +0100, Nardy Pillards wrote
> While compiling:
> warnings from gtkprefs.c:
> gtkprefs.c:(several lines): warning: passing arg 4 of
> `gtk_signal_connect_object' from incompatible pointer type
> 
> While running GNU Backgammon:
> Settings / Appearance pops up a command window with:
> (gnubg-0212244.exe:4294544341): Gtk-WARNING **: gtk_signal_connect_object():
> could not find signal "changed" in the `GtkOptionMenu' class ancestry

Can you try the following (untestet):

gtkprefs.c line 596 is:

    gtk_signal_connect_object( GTK_OBJECT( pwWoodType ), "changed",
                               GTK_SIGNAL_FUNC( UpdatePreview ),
                               pwPreview + PI_BORDER );

since a GtkMenu doesn't have a "changed" signal in Gtk 1.2 try changing to:

#if GTK_CHECK_VERSION(2,0,0)
    gtk_signal_connect_object( GTK_OBJECT( pwWoodType ), "changed",
                               GTK_SIGNAL_FUNC( UpdatePreview ),
                               pwPreview + PI_BORDER );
#else
    gtk_signal_connect_object( GTK_OBJECT( pwWoodMenu ), "selection-done",
                               GTK_SIGNAL_FUNC( UpdatePreview ),
                               pwPreview + PI_BORDER );
#endif

This might work :-)

> 
> Changing a color, clicking 'OK' gives:
> (gnubg-0212244.exe:4294544341): Gdk-WARNING **: gdk_property_delete: General
> case not implemented

Hmm, I've no idea what that means.

> 
> (Same with Settings / Analysis, Settings / Evaluation, Settings / Players,
> Settings / RollOuts but "gtk_signal_connect" those times)

Can you post exactly what the warning is, please?

Jørn



reply via email to

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