Migrate to gtk3.0



Hi,

i'm trying to migrate from gtk2.0 to gtk3.0 and i'm following gnome 
tutorial 
https://developer.gnome.org/gtk3/stable/gtk-migrating-2-to-3.html#id-1.6.3.3

When i put

make CFLAGS+="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"

to don't use deprecated symbols I get this  errors:

/opt/x-tools/rootfs/rpi/usr/include/gtkextra-3.0/gtkextra/gtkdirtree.h:54:3: 
error: unknown type name ‘GtkCTree’
    GtkCTree ctree;
    ^
/opt/x-tools/rootfs/rpi/usr/include/gtkextra-3.0/gtkextra/gtkdirtree.h:73:3: 
error: unknown type name ‘GtkCTreeClass’
    GtkCTreeClass parent_class;

I put CFLAGS in Eclipse, Project proprieties -> Cross GCC Compiler -> 
Preprocessor -> Defined Symbols (-D)

->GTK_DISABLE_SINGLE_INCLUDES

->GTK_DISABLE_DEPRECATED

->GDK_DISABLE_DEPRECATED

I can't use gtkextra-3.0 for gtk3 ??

Thanks




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