From c12c8bc3450ae3a1f72fcf73336b0a9185ae6763 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 10 Oct 2016 15:50:58 -0700 Subject: [PATCH] visualizer-ticks: remove GdkWindow from ticks widget This is preventing us from selecting using the region where the ticks are drawn. This allows the GtkOverlay pass-through child property to work. --- lib/sp-visualizer-ticks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sp-visualizer-ticks.c b/lib/sp-visualizer-ticks.c index bb0ea255..fb3b638a 100644 --- a/lib/sp-visualizer-ticks.c +++ b/lib/sp-visualizer-ticks.c @@ -309,6 +309,8 @@ static void sp_visualizer_ticks_init (SpVisualizerTicks *self) { self->end_time = G_GINT64_CONSTANT (1000000000) * 60; + + gtk_widget_set_has_window (GTK_WIDGET (self), FALSE); } GtkWidget *