Re: `GtkAccelGroup' vs `GtkAcceleratorTable'
- From: Michael Lausch <mla gams co at>
- To: Martin Baulig <martin home-of-linux org>
- cc: Gnome Mailing List <gnome-list gnome org>
- Subject: Re: `GtkAccelGroup' vs `GtkAcceleratorTable'
- Date: Wed, 29 Jul 1998 16:10:09 +0200
>>>>> "mb" == Martin Baulig <martin@home-of-linux.org>
>>>>> wrote the following on Wed, 29 Jul 1998 14:54:17 +0200 (CEST)
mb> Hi,
mb> in gtk+, `GtkAcceleratorTable' has been replaced with `GtkAccelGroup'
mb> (from the ChangeLog) and `gtkfeatures.h' no longer #defines
mb> `GTK_HAVE_ACCEL_GROUP'.
mb> Well, sometimes there's something like this which does no longer work
mb> (this is from gnome-utils/mini-utils/grun):
mb> #ifdef GTK_HAVE_ACCEL_GROUP
mb> GtkAccelGroup *accel;
mb> #else
mb> GtkAcceleratorTable *accel;
mb> #endif
mb> Since `GTK_HAVE_ACCEL_GROUP' is no longer defined, this will not work
mb> anymore - but what is the correct way to fix this ?
mb> Martin
i think:
s/GTK_HAVE_ACCEL_GROUP/GTK_HAVE_FEATURE_1_1_0/g
is the correct way.
--
Michael Lausch/g.a.m.s. edv dienstleistungen gmbh
See my web page <http://www.gams.net/~mla> or query PGP key server for PGP key.
"Reality is that which, when you stop believing in it, doesn't go away".
-- Philip K. Dick
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]