Fix all remaining GTK3 issues.
Work around the issue of GnomeCanvasItem amending its own flags to GtkObject::flags (which is sealed) by giving it its own flags field. This breaks libgnomecanvas ABI and API, but I see no other way. This commit didn't work the first time because gnome-pilot libraries were still pulling in the system-wide libgnomecanvas, and that was interfereing with our bundled version which has a different ABI. But gnome-pilot integration was dropped in the previous commit, so everything is now using the bundled libgnomecanvas.
This commit is contained in:
@ -14,6 +14,7 @@
|
||||
#define gdk_drag_context_get_suggested_action(context) (context)->suggested_action
|
||||
#define gdk_drag_context_get_selected_action(context) (context)->action
|
||||
#define gdk_drag_context_list_targets(context) (context)->targets
|
||||
#define gdk_visual_get_depth(visual) (visual)->depth
|
||||
|
||||
#define gtk_accessible_get_widget(accessible) \
|
||||
(GTK_ACCESSIBLE (accessible)->widget)
|
||||
|
||||
Reference in New Issue
Block a user