`GtkAccelGroup' vs `GtkAcceleratorTable'



-----BEGIN PGP SIGNED MESSAGE-----

Hi,

in gtk+, `GtkAcceleratorTable' has been replaced with `GtkAccelGroup'
(from the ChangeLog) and `gtkfeatures.h' no longer #defines
`GTK_HAVE_ACCEL_GROUP'.

Well, sometimes there's something like this which does no longer work
(this is from gnome-utils/mini-utils/grun):

#ifdef GTK_HAVE_ACCEL_GROUP
        GtkAccelGroup *accel;
#else
        GtkAcceleratorTable *accel;
#endif

Since `GTK_HAVE_ACCEL_GROUP' is no longer defined, this will not work
anymore - but what is the correct way to fix this ?

Martin

- -----------------------------------------------------------------
   Martin Baulig - Angewandte Mathematik - Universitaet Trier

   baulig@castor.uni-trier.de, http://www.home-of-linux.org/
   Key: 1024-bit key with ID C8178435 created 1997/01/24 
   ID:  67 C1 84 A0 47 F5 11 C5  5F 68 4C 84 99 05 C3 92
   Finger me for public key or fetch finger.txt from the url above
- ------------------------------------------------------------------


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv

iQCVAwUBNb8bfIA8K7jIF4Q1AQGVSwQAtf7bFZ9NsgFB98UiZ4A9a816hyO0A6tv
lO1u38KKfDHaaoTbtqcQ3Sb2XkVl6VkqjylzLNUa0yaYaK8ADCiZjw6y5keOmfQY
F+1iWBdj3NOkclVhFeS45dBtddBP0sR7q/VnHcv2mrYkZVKv1pSY3x6/l2gYIh/4
wBayDtUHZWk=
=7FEG
-----END PGP SIGNATURE-----



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