Mercurial > pidgin.yaz
comparison pidgin/gtkimhtml.c @ 23034:25233b528b66
applied changes from a341780d901f6351a5cf768a08d30c8882d6cf2f
through 677a3855450efcb2a3b51c843ced2d166c018159
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 19 Jun 2008 03:14:34 +0000 |
parents | 900c7b5660d5 |
children | 76ae43c5e745 |
comparison
equal
deleted
inserted
replaced
23033:bf7ce9629402 | 23034:25233b528b66 |
---|---|
459 purple_debug(PURPLE_DEBUG_ERROR, "gtk_imhtml_tip", | 459 purple_debug(PURPLE_DEBUG_ERROR, "gtk_imhtml_tip", |
460 "pango_context_load_font() couldn't load font: '%s'\n", | 460 "pango_context_load_font() couldn't load font: '%s'\n", |
461 tmp); | 461 tmp); |
462 g_free(tmp); | 462 g_free(tmp); |
463 | 463 |
464 g_object_unref(layout); | |
464 return FALSE; | 465 return FALSE; |
465 } | 466 } |
466 | 467 |
467 font_metrics = pango_font_get_metrics(font, NULL); | 468 font_metrics = pango_font_get_metrics(font, NULL); |
468 | 469 |
496 gtk_widget_set_size_request (imhtml->tip_window, w, h); | 497 gtk_widget_set_size_request (imhtml->tip_window, w, h); |
497 gtk_window_move (GTK_WINDOW(imhtml->tip_window), x, y); | 498 gtk_window_move (GTK_WINDOW(imhtml->tip_window), x, y); |
498 gtk_widget_show (imhtml->tip_window); | 499 gtk_widget_show (imhtml->tip_window); |
499 | 500 |
500 pango_font_metrics_unref(font_metrics); | 501 pango_font_metrics_unref(font_metrics); |
502 g_object_unref(font); | |
501 g_object_unref(layout); | 503 g_object_unref(layout); |
502 | 504 |
503 return FALSE; | 505 return FALSE; |
504 } | 506 } |
505 | 507 |