Hi, 2015/11/30 Mon 8:01:10 UTC+9 Tony Mechelynck wrote: > When compiling 7.4.944, huge, with GTK2/Gnome2 GUI (i don't know > exactly at which changeset it appeared): > > gcc -c -I. [...] -o objects/gui_gtk.o gui_gtk.c > gui_gtk.c: In function ‘add_stock_icon’: > gui_gtk.c:152:5: warning: ‘gdk_pixbuf_new_from_inline’ is deprecated > (declared at /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:314) > [-Wdeprecated-declarations] > pixbuf = gdk_pixbuf_new_from_inline(data_length, inline_data, FALSE, > NULL); > ^ > > I don't know if we can do something about it now; but as everyone > knows, "deprecated in one release may mean removed in the next > release" and if and when that happens we'll be in trouble.
The gdk-pixbuf's manual says: https://developer.gnome.org/gdk-pixbuf/2.31/gdk-pixbuf-Image-Data-in-Memory.html#gdk-pixbuf-new-from-inline > gdk_pixbuf_new_from_inline has been deprecated since version 2.32 and > should not be used in newly-written code. > Use GResource instead. But I don't know how to use GResource... Regards, Ken Takata -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
