[gtk+/wip/css: 166/167] roundedbox: close path



commit 7bb4c1b4fa36a009e46a040ba7d519bd7a98ac0f
Author: Benjamin Otte <otte redhat com>
Date:   Sun Jan 8 04:56:31 2012 +0100

    roundedbox: close path
    
    Just because we do it everywhere else, too.

 gtk/gtkroundedbox.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkroundedbox.c b/gtk/gtkroundedbox.c
index 4e7c19d..1aea2ee 100644
--- a/gtk/gtkroundedbox.c
+++ b/gtk/gtkroundedbox.c
@@ -244,6 +244,8 @@ _gtk_rounded_box_path (const GtkRoundedBox *box,
                    box->corner[GTK_CSS_BOTTOM_LEFT].horizontal,
                    box->corner[GTK_CSS_BOTTOM_LEFT].vertical,
                    G_PI / 2, G_PI);
+
+  cairo_close_path (cr);
 }
 
 double



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]