diff options
Diffstat (limited to 'app-dicts/ebview/files/ebview-0.3.6-gtk28.diff')
-rw-r--r-- | app-dicts/ebview/files/ebview-0.3.6-gtk28.diff | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/app-dicts/ebview/files/ebview-0.3.6-gtk28.diff b/app-dicts/ebview/files/ebview-0.3.6-gtk28.diff deleted file mode 100644 index d0c0c6f9a054..000000000000 --- a/app-dicts/ebview/files/ebview-0.3.6-gtk28.diff +++ /dev/null @@ -1,31 +0,0 @@ ---- src/preference.c.orig 2005-10-05 09:41:23.000000000 +0900 -+++ src/preference.c 2005-10-05 10:11:16.000000000 +0900 -@@ -400,7 +400,7 @@ void calculate_font_size(){ - PangoFontDescription* desc; - PangoLanguage* lang; - PangoFontMap* fontmap; --#ifndef __WIN32__ -+#if !GTK_CHECK_VERSION(2,8,0) && !defined(__WIN32__) - Display *display; - #endif - PangoContext *context; -@@ -420,6 +420,9 @@ void calculate_font_size(){ - desc = pango_font_description_from_string(fontset_normal); - lang = pango_language_from_string("ja"); - -+#if GTK_CHECK_VERSION(2,8,0) -+ fontmap = pango_cairo_font_map_get_default(); -+#else - #ifdef __WIN32__ - fontmap = pango_win32_font_map_for_display(); - #else -@@ -430,7 +433,8 @@ void calculate_font_size(){ - } - - fontmap = pango_x_font_map_for_display(display); --#endif -+#endif /* __WIN32__ */ -+#endif /* GTK_CHECK_VERSION(2,8,0) */ - - if(fontmap == NULL){ - LOG(LOG_INFO, "fontmap == NULL"); |