[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] GTK+ 2.0.5 incompatability (resend)
From: |
Gary Wong |
Subject: |
Re: [Bug-gnubg] GTK+ 2.0.5 incompatability (resend) |
Date: |
Tue, 2 Jul 2002 11:41:58 -0400 |
User-agent: |
Mutt/1.3.25i |
On Tue, Jul 02, 2002 at 10:20:33AM +0200, Phillip Skelton wrote:
> I tried to compile gnubg-0.12 using the latest version of GTK+ (2.0.5).
> There was one problem. The function gtk_accel_group_attach is private
> and no longer accessible to programmers, and is supposed to be replaced
> with gtk_window_add_accel_group. The private function is only used once,
> in gtkgame.c line 2206. I replaced
>
> gtk_accel_group_attach( pag, GTK_OBJECT( pwDialog ) );
>
> with
>
> gtk_windows_add_accel_group( GTK_WINDOW( pwDialog ), pag );
>
> at line 2206, which compiled and appeared to run well enough. I don't
> know exactly which part of the interface is affected by this, so I don't
> know if my correction works or not.
Thanks for the bug report. This seems to be fixed in the latest snapshot;
the only reference I can find to gtk_accel_group_attach() in the current
code is:
#if GTK_CHECK_VERSION(1,3,15)
gtk_window_add_accel_group( GTK_WINDOW( pwDialog ), pag );
#else
gtk_accel_group_attach( pag, GTK_OBJECT( pwDialog ) );
#endif
which ought to work under GTK+ 1.2.x as well as 2.0.5. Please let me know
if the same problem occurs with a snapshot dated 020701 or later.
Cheers,
Gary.
--
Gary Wong address@hidden http://www.cs.arizona.edu/~gary/