[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] Win32 build 021224
From: |
Nardy Pillards |
Subject: |
Re: [Bug-gnubg] Win32 build 021224 |
Date: |
Thu, 26 Dec 2002 01:19:00 +0100 |
> > 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 :-)
Yes it did. No warning when Appearance window opens.
> > 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
Settings / Analysis (open):
(gnubg-021225.exe:4294213203): Gtk-WARNING **: gtk_signal_connect(): could
not find signal "changed" in the `GtkOptionMenu' class ancestry
(twice)
Settings / Appearance (open):
no more warning :-)
(close):
(gnubg-021225.exe:4294213203): Gdk-WARNING **: gdk_property_delete: General
case not implemented
Settings / Evaluation (open):
(gnubg-021225.exe:4294213203): Gtk-WARNING **: gtk_signal_connect(): could
not find signal "changed" in the `GtkOptionMenu' class ancestry
(twice)
Settings / Players (open):
(gnubg-021225.exe:4294213203): Gtk-WARNING **: gtk_signal_connect(): could
not find signal "changed" in the `GtkOptionMenu' class ancestry
(4 times)
Settings / RollOuts (open):
(gnubg-021225.exe:4294213203): Gtk-WARNING **: gtk_signal_connect(): could
not find signal "changed" in the `GtkOptionMenu' class ancestry
(many times)
Nardy
- [Bug-gnubg] Win32 build 021224, Nardy Pillards, 2002/12/25
- Re: [Bug-gnubg] Win32 build 021224, Joern Thyssen, 2002/12/25
- Re: [Bug-gnubg] Win32 build 021224,
Nardy Pillards <=
- Re: [Bug-gnubg] Win32 build 021224, Joern Thyssen, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Nardy Pillards, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Gary Wong, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Jim Segrave, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Nardy Pillards, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Jim Segrave, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Gary Wong, 2002/12/26
- Re: [Bug-gnubg] Win32 build 021224 (021226), Nardy Pillards, 2002/12/27
- Re: [Bug-gnubg] Win32 build 021224 (021226), Nardy Pillards, 2002/12/28