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
Just to confirm that your patch fixes the build error with gtk3 GUI
on xubunt-14.04.4.
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);
^
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.