summaryrefslogtreecommitdiff
path: root/gtk/gtkroundedbox.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-08 04:56:31 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-09 18:38:00 +0100
commit0c483cab0c03294bd93af856d01c6fb06ed506fe (patch)
tree9074e3cc06baf4a02abb9734f07eedc7415935b4 /gtk/gtkroundedbox.c
parentc15839f4bec8f4071c8bec02143519f0a949dbee (diff)
downloadgtk+-0c483cab0c03294bd93af856d01c6fb06ed506fe.tar.gz
roundedbox: close path
Just because we do it everywhere else, too.
Diffstat (limited to 'gtk/gtkroundedbox.c')
-rw-r--r--gtk/gtkroundedbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkroundedbox.c b/gtk/gtkroundedbox.c
index 4e7c19d0cd..1aea2eeaae 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