Mercurial > pidgin
comparison src/gtkimhtml.c @ 3395:c731327dbc47
[gaim-migrate @ 3414]
Thanks to Timothy Lee and Dan Colascione for gettiing perl 5.8 to work.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 16 Aug 2002 01:18:01 +0000 |
parents | e9a89676d120 |
children | 7c26704c141a |
comparison
equal
deleted
inserted
replaced
3394:bc71eb7428ef | 3395:c731327dbc47 |
---|---|
285 gchar *text; | 285 gchar *text; |
286 struct im_image *img; | 286 struct im_image *img; |
287 GdkPixmap *pm; | 287 GdkPixmap *pm; |
288 GdkBitmap *bm; | 288 GdkBitmap *bm; |
289 | 289 |
290 #if GTK_CHECK_VERSION(1,3,0) | |
291 PangoFontDescription *font; | |
292 #else | |
290 GdkFont *font; | 293 GdkFont *font; |
294 #endif | |
291 GdkColor *fore; | 295 GdkColor *fore; |
292 GdkColor *back; | 296 GdkColor *back; |
293 GdkColor *bg; | 297 GdkColor *bg; |
294 gboolean underline; | 298 gboolean underline; |
295 gboolean strike; | 299 gboolean strike; |
1440 | 1444 |
1441 static gint | 1445 static gint |
1442 gtk_imhtml_tip_paint (GtkIMHtml *imhtml) | 1446 gtk_imhtml_tip_paint (GtkIMHtml *imhtml) |
1443 { | 1447 { |
1444 GtkStyle *style; | 1448 GtkStyle *style; |
1449 #if GTK_CHECK_VERSION(1,3,0) | |
1450 PangoFontDescription *font; | |
1451 #else | |
1445 GdkFont *font; | 1452 GdkFont *font; |
1453 #endif | |
1446 gint y, baseline_skip, gap; | 1454 gint y, baseline_skip, gap; |
1447 | 1455 |
1448 style = imhtml->tip_window->style; | 1456 style = imhtml->tip_window->style; |
1449 font = GTK_IMHTML_GET_STYLE_FONT (style); | 1457 font = GTK_IMHTML_GET_STYLE_FONT (style); |
1450 | 1458 |