working on this to have gtk3 installed.
2) The compat flags:
- -DGTK_DISABLE_SINGLE_INCLUDES [works]
- -DGSEAL_ENABLE
- -DGDK_DISABLE_DEPRECATED
- -DGTK_DISABLE_DEPRECATED [works if building with UI_MANAGER code]
+ -DGTK_DISABLE_SINGLE_INCLUDES [works and is enabled]
+ -DGSEAL_ENABLE [works and is enabled]
+ -DGDK_DISABLE_DEPRECATED [not yet enabled, see below]
+ -DGTK_DISABLE_DEPRECATED [works if building with UI_MANAGER code, see below]
+
Gtk2 offers several compile time flags, so if you run a sufficiently new
version of gtk2 and turn on one or more of these flags, you can find many
things that are not gtk3 compatible yet.
This is a subset of what breaks when compiling with Gtk3/Gdk3.
-Some statistics (as of rev 38217)
+ With Gdk3, (at least) the following structs used in Wireshark are gone:
+ - GdkColormap
+ - GdkPixmap
--DGSEAL_ENABLE
- grep error: make.log| cut -d: -f5 | sort | uniq -c
- 1 ‘GtkDialog’ has no member named ‘vbox’
- 4 ‘GtkTreeViewColumn’ has no member named ‘button’
- 1 ‘GtkWidget’ has no member named ‘window’
+Some statistics (as of rev 38283)
-DGDK_DISABLE_DEPRECATED
grep error: make.log| grep -v assignment | cut -d: -f5 | sort | uniq -c
2 implicit declaration of function ‘gdk_draw_arc’
1 implicit declaration of function ‘gdk_draw_drawable’
9 implicit declaration of function ‘gdk_draw_layout’
- 6 implicit declaration of function ‘gdk_draw_line’
+ 5 implicit declaration of function ‘gdk_draw_line’
1 implicit declaration of function ‘gdk_draw_pixbuf’
- 4 implicit declaration of function ‘gdk_draw_pixmap’
+ 3 implicit declaration of function ‘gdk_draw_pixmap’
1 implicit declaration of function ‘gdk_draw_polygon’
- 5 implicit declaration of function ‘gdk_draw_rectangle’
+ 4 implicit declaration of function ‘gdk_draw_rectangle’
5 implicit declaration of function ‘gdk_gc_new’
1 implicit declaration of function ‘gdk_gc_set_fill’
2 implicit declaration of function ‘gdk_gc_set_foreground’