Feh, it seems that GTK+ 3.x itself uses deprecated code inside GtkImage (which is not deprecated). e.g.: https://git.gnome.org/browse/gtk+/tree/gtk/gtkimage.c
G_GNUC_BEGIN_IGNORE_DEPRECATIONSG_DEFINE_TYPE_WITH_PRIVATE (GtkImage, gtk_image, GTK_TYPE_MISC) G_GNUC_END_IGNORE_DEPRECATIONS https://git.gnome.org/browse/gtk+/tree/gtk/gtkimage.h #include <gtk/deprecated/gtkmisc.h> Even GtkLabel is like this. I would just do the same thing they do in the GTK+ 3.x widgets. Silence the warnings. Once they actually figure out how to reimplement the GtkMisc derived classes then this can be changed. When will that be 4.0? https://wiki.gnome.org/Projects/GTK+/Roadmap However it seems you still need to port some other things to port the GtkPixcomm widget to 3.x. It's your call if GtkImage is useable enough to replace GtkPixcomm as of GTK+ 3.x. Just my two cents worth... On Wed, Feb 10, 2016 at 9:59 PM, Marko Lindqvist < no-reply.invalid-addr...@gna.org> wrote: > Follow-up Comment #1, patch #6938 (project freeciv): > > The build problem is likely caused by the fact that parent class, GtkMisc, > has > been deprecated. > > See also vasco's comments on mailing list: > http://mail.gna.org/public/freeciv-dev/2016-02/msg00332.html > > _______________________________________________________ > > Reply to this item at: > > <http://gna.org/patch/?6938> > > _______________________________________________ > Message sent via/by Gna! > http://gna.org/ > > > _______________________________________________ > Freeciv-dev mailing list > Freeciv-dev@gna.org > https://mail.gna.org/listinfo/freeciv-dev > -- Vasco Alexandre da Silva Costa PhD in Computer Engineering (Computer Graphics) Instituto Superior Técnico/University of Lisbon, Portugal
_______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev