summaryrefslogtreecommitdiffstats
path: root/print/libgnomeprintmm/files/patch-libgnomeprint_libgnomeprintmm_font.cc
blob: b8b050cf7925eab411c10cc4a09cff67bfb4b93f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- libgnomeprint/libgnomeprintmm/font.cc.orig  Wed Dec 17 19:59:13 2003
+++ libgnomeprint/libgnomeprintmm/font.cc   Wed Dec 17 19:59:29 2003
@@ -180,7 +180,7 @@
 
 Glib::RefPtr<Font> Font::find_closest(const Glib::ustring& family, FontWeight weight, bool italic, double size)
 {
-  return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), static_cast<GnomeFontWeight>(weight), static_cast<int>(italic), size));
+  return Glib::wrap(gnome_font_find_closest_from_weight_slant((const guchar*)family.c_str(), (GnomeFontWeight)(weight), static_cast<int>(italic), size));
 }
 
 Glib::RefPtr<Pango::Font> Font::get_closest_pango_font(const Glib::RefPtr<Pango::FontMap>& map, double dpi) const