Migrate to gtk3.0
- From: Rúben Rodrigues <ruben_gr live com pt>
- To: "gtk-app-devel-list gnome org" <gtk-app-devel-list gnome org>
- Subject: Migrate to gtk3.0
- Date: Fri, 10 Mar 2017 15:11:03 +0000
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]