[gtk+/rendering-cleanup: 95/95] style: Use _gtk_pango_fill_layout()



commit 95eef8d7901f8cbe8cf051e93f0135ef39b9dc1e
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 12f4f07..6f52225 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -4229,8 +4229,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]