2016-07-23 4:22 GMT+09:00 Dominique Pellé <[email protected]>:
> Kazunobu Kuriyama <[email protected]> wrote: > > > Oops, that's my fault (^_^;) > > > > The compiler warning and the linker error are caused by the function > > pango_attr_foreground_alpha_new(), which was newly added to Pango last > > autumn (1.38, 2015-10-12). > > > > Hence the same build failure happens if Pango in use is older than 1.38. > > > > The attached patch fixes that issue by adding version checks against > Pango. > > > > Best, > > Kazunobu Kuriyama > > Hi Kazunobu > Hi Dominique > Just to confirm that your patch fixes the build error with gtk3 GUI > on xubunt-14.04.4. > Thank you for the check! > > Less important: I see these compilation warnings, but they existed > before your patch: > > gui_gtk.c: In function ‘add_stock_icon’: > gui_gtk.c:256:5: warning: ‘gtk_icon_set_new_from_pixbuf’ is deprecated > (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:134) > [-Wdeprecated-declarations] > icon_set = gtk_icon_set_new_from_pixbuf(pixbuf); > ^ > gui_gtk.c:258:5: warning: ‘gtk_icon_factory_add’ is deprecated > (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:76) > [-Wdeprecated-declarations] > gtk_icon_factory_add(factory, stock_id, icon_set); > ^ > gui_gtk.c:260:5: warning: ‘gtk_icon_set_unref’ is deprecated (declared > at /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:139) > [-Wdeprecated-declarations] > gtk_icon_set_unref(icon_set); > ^ > gui_gtk.c: In function ‘gui_gtk_register_stock_icons’: > gui_gtk.c:432:5: warning: ‘gtk_icon_factory_new’ is deprecated > (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:74) > [-Wdeprecated-declarations] > factory = gtk_icon_factory_new(); > ^ > gui_gtk.c:451:5: warning: ‘gtk_icon_factory_add_default’ is deprecated > (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:86) > [-Wdeprecated-declarations] > gtk_icon_factory_add_default(factory); > ^ > Those warnings most likely take place when configure is unable to detect glib-compile-resources in $PATH. So, as a first step to fix the issue, you might want to check if your system has glib-compile-resources in an appropriate directory for executables. In case you find it not installed yet, it's a good idea to have it. That said, since those particular warnings do not imply any noticeable functionality or performance deterioration of gvim, you can safely avoid the installation of glib-compile-resources until the day when those deprecated functions are removed from the gdk-pixbuf API. Best , Kazunobu > Regards > Dominique > > -- > -- > 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. > -- -- 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.
