[Xfce4-commits] [apps/parole] 01/01: Now that the controlbar fills the bottom, only stroke the top border

noreply at xfce.org noreply at xfce.org
Sun Jun 29 00:16:26 CEST 2014


This is an automated email from the git hooks/post-receive script.

ochosi pushed a commit to branch master
in repository apps/parole.

commit c8735eab2b6ff0dc9311adaf4919786d7f7052bb
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Jun 29 00:16:19 2014 +0200

    Now that the controlbar fills the bottom, only stroke the top border
---
 src/parole-player.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index 6873910..d0c5f9b 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2916,10 +2916,12 @@ parole_overlay_expose_event (GtkWidget *widget, cairo_t *cr, gpointer user_data)
     gtk_style_context_add_class (context, "osd");
     gtk_style_context_get_background_color (context, GTK_STATE_NORMAL, &acolor);
     gdk_cairo_set_source_rgba (cr, &acolor);
-    cairo_fill_preserve (cr);
+    cairo_fill (cr);
 
     gtk_style_context_get_border_color (context, GTK_STATE_NORMAL, &acolor);
     gdk_cairo_set_source_rgba (cr, &acolor);
+    cairo_move_to (cr, 0, 0);
+    cairo_line_to (cr, allocation->width, 0);
     cairo_stroke (cr);
 
     return FALSE;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list