[gtk+] style: Use _gtk_pango_fill_layout()
- From: Benjamin Otte <otte src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+] style: Use _gtk_pango_fill_layout()
 
- Date: Tue, 10 Aug 2010 19:20:25 +0000 (UTC)
 
commit 709e05cdb20fd6d2360b7158286d6c3176c300c0
Author: Benjamin Otte <otte redhat com>
Date:   Sat Aug 7 02:18:06 2010 +0200
    style: Use _gtk_pango_fill_layout()
 gtk/gtkstyle.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index 853aa8b..d7d2ba4 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -4232,8 +4232,7 @@ gtk_default_draw_layout (GtkStyle        *style,
       cairo_save (cr);
       gdk_cairo_set_source_color (cr, &style->white);
       cairo_move_to (cr, 1, 1);
-      pango_cairo_layout_path (cr, layout);
-      cairo_fill (cr);
+      _gtk_pango_fill_layout (cr, layout);
       cairo_restore (cr);
     }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]