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

Re: GtkTooltips and rawhide



Matthias Clasen wrote:
On Sun, 2007-09-09 at 22:11 +0200, Tanguy Eric wrote:
I try to compile gperiodic for rawhide and it uses GtkTooltips type but
it give an error :
make gperiodic
make[1]: Entering directory `/builddir/build/BUILD/gperiodic-2.0.10'
gcc -c `pkg-config --cflags gtk+-2.0` -I. -DG_DISABLE_DEPRECATED
-DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED  gperiodic.c
In file included from gperiodic.c:37:
gperiodic.h:73: error: expected specifier-qualifier-list before
'GtkTooltips'
gperiodic.c: In function 'main_prog':
gperiodic.c:389: error: 'struct table_entry' has no member named
'tooltip'
gperiodic.c:390: error: 'struct table_entry' has no member named
'tooltip'
gperiodic.c:391: error: 'struct table_entry' has no member named
'tooltip'
make[1]: *** [gperiodic.o] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/gperiodic-2.0.10'

it seems that GtkTooltips type is no longer known. I have to BR a new
package ?


GtkTooltips have been deprecated in favor of a new tooltips
implementation. You need to remove -DGTK_DISABLE_DEPRECATED.

Or even better, write a patch to port to the newer tooltip interface (it's straightforward). See

http://library.gnome.org/devel/gtk/unstable/gtk-migrating-tooltips.html

If you need help with that, let me know.
-denis


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