diff options
Diffstat (limited to 'src/gtkext/gtkbinarystrip.c')
-rw-r--r-- | src/gtkext/gtkbinarystrip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gtkext/gtkbinarystrip.c b/src/gtkext/gtkbinarystrip.c index 2381fd6..4ed5cf9 100644 --- a/src/gtkext/gtkbinarystrip.c +++ b/src/gtkext/gtkbinarystrip.c @@ -311,6 +311,7 @@ static gboolean gtk_binary_strip_draw(GtkWidget *widget, cairo_t *cr) GExeFormat *format; /* Format du binaire */ GBinPortion *portions; /* Portions binaires à dessiner*/ GdkRectangle full; /* Taille totale de la surface */ + GtkStyleContext *context; /* Contexte du thème actuel */ GdkRGBA *color; /* Couleur du curseur */ strip = GTK_BINARY_STRIP(widget); @@ -328,7 +329,9 @@ static gboolean gtk_binary_strip_draw(GtkWidget *widget, cairo_t *cr) full.width = gtk_widget_get_allocated_width(widget); full.height = gtk_widget_get_allocated_height(widget) - 1; - g_binary_portion_draw(portions, cr, &full); + context = gtk_widget_get_style_context(widget); + + g_binary_portion_draw(portions, context, cr, &full); /* Dessin de la position */ |