X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fgtk-custom-ruler.c;h=797922f5639b3296bba965a7f6133ac72b767fc3;hb=f9030dd2209b2794cf554f3d9423e6b0454286a6;hp=b66dd68bd3892de4c9a1cff2b259b21ba84efd6c;hpb=bb9cc45cd22af67ac275a5e73accbe14fee664d8;p=ardour.git diff --git a/gtk2_ardour/gtk-custom-ruler.c b/gtk2_ardour/gtk-custom-ruler.c index b66dd68bd3..797922f563 100644 --- a/gtk2_ardour/gtk-custom-ruler.c +++ b/gtk2_ardour/gtk-custom-ruler.c @@ -442,9 +442,9 @@ gtk_custom_ruler_expose (GtkWidget * widget, GdkEventExpose * event) gtk_custom_ruler_draw_ticks (ruler); - gdk_draw_pixmap (widget->window, - ruler->non_gr_exp_gc, - ruler->backing_store, 0, 0, 0, 0, widget->allocation.width, widget->allocation.height); + gdk_draw_drawable (widget->window, + ruler->non_gr_exp_gc, + GDK_DRAWABLE(ruler->backing_store), 0, 0, 0, 0, widget->allocation.width, widget->allocation.height); gtk_custom_ruler_draw_pos (ruler); }