summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gtkext/gtkbufferdisplay.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c
index b7af1d6..d8061d7 100644
--- a/src/gtkext/gtkbufferdisplay.c
+++ b/src/gtkext/gtkbufferdisplay.c
@@ -525,8 +525,6 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr)
}
- cairo_restore(cr);
-
/* Curseur clignotant ? */
if (gtk_widget_is_focus(widget))
@@ -534,8 +532,16 @@ static gboolean gtk_buffer_display_draw(GtkWidget *widget, cairo_t *cr)
cairo_restore(cr);
+ cairo_restore(cr);
+
+ cairo_restore(cr);
+
/* Dessin des composants contenus */
+ cairo_save(cr);
+
+ cairo_scale(cr, parent->scale, parent->scale);
+
GTK_WIDGET_CLASS(gtk_buffer_display_parent_class)->draw(widget, cr);
cairo_restore(cr);