URL:
  <http://gna.org/patch/?7162>

                 Summary: avoid gtk warnings about pango font specifiers
                 Project: Freeciv
            Submitted by: aldot
            Submitted on: Thu 28 Apr 2016 21:10:31 UTC
                Category: client-gtk-3+
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 

    _______________________________________________________

Details:

Gets rid of warnings like:                                                    
 
(freeciv-gtk3x:25363): Gtk-WARNING **: Theme parsing error: <data>:1:29: not a
number
                                                                              
 
(freeciv-gtk3x:25363): Gtk-WARNING **: Theme parsing error: <data>:1:42: Using
Pango syntax for the font: style property is deprecated; please use CSS
syntax

If direct use of pango is to be avoided in gtk3x then something like the
attached hack^Wpatch would do the trick.

When usage of pango is ok then pango may have means to extract the font-family
and font-size out of a pango font specifier but admittedly i didn't look.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Apr 2016 21:10:31 UTC  Name:
0004-avoid-gtk-warnings-about-pango-font-specifiers.patch  Size: 2kB   By:
aldot

<http://gna.org/patch/download.php?file_id=27235>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?7162>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to