Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70897 Details for
Bug 109654
ebview-0.3.6 fails to emerge with GTK+-2.8.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch to fix the error
ebview-0.3.6_pango_with_cairo.patch (text/plain), 925 bytes, created by
Hiroyuki Ikezoe
on 2005-10-17 18:13:23 UTC
(
hide
)
Description:
a patch to fix the error
Filename:
MIME Type:
Creator:
Hiroyuki Ikezoe
Created:
2005-10-17 18:13:23 UTC
Size:
925 bytes
patch
obsolete
>--- 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");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109654
: 70897