Mercurial > pidgin.yaz
comparison src/gtkimhtml.c @ 3396:7c26704c141a
[gaim-migrate @ 3415]
malcommit
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 16 Aug 2002 01:25:03 +0000 |
parents | c731327dbc47 |
children | 66c7cca774f5 |
comparison
equal
deleted
inserted
replaced
3395:c731327dbc47 | 3396:7c26704c141a |
---|---|
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 | |
293 GdkFont *font; | 290 GdkFont *font; |
294 #endif | |
295 GdkColor *fore; | 291 GdkColor *fore; |
296 GdkColor *back; | 292 GdkColor *back; |
297 GdkColor *bg; | 293 GdkColor *bg; |
298 gboolean underline; | 294 gboolean underline; |
299 gboolean strike; | 295 gboolean strike; |
1444 | 1440 |
1445 static gint | 1441 static gint |
1446 gtk_imhtml_tip_paint (GtkIMHtml *imhtml) | 1442 gtk_imhtml_tip_paint (GtkIMHtml *imhtml) |
1447 { | 1443 { |
1448 GtkStyle *style; | 1444 GtkStyle *style; |
1449 #if GTK_CHECK_VERSION(1,3,0) | |
1450 PangoFontDescription *font; | |
1451 #else | |
1452 GdkFont *font; | 1445 GdkFont *font; |
1453 #endif | |
1454 gint y, baseline_skip, gap; | 1446 gint y, baseline_skip, gap; |
1455 | 1447 |
1456 style = imhtml->tip_window->style; | 1448 style = imhtml->tip_window->style; |
1457 font = GTK_IMHTML_GET_STYLE_FONT (style); | 1449 font = GTK_IMHTML_GET_STYLE_FONT (style); |
1458 | 1450 |