[sysprof] visualizer-ticks: remove GdkWindow from ticks widget



commit c12c8bc3450ae3a1f72fcf73336b0a9185ae6763
Author: Christian Hergert <chergert redhat com>
Date:   Mon Oct 10 15:50:58 2016 -0700

    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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/sp-visualizer-ticks.c b/lib/sp-visualizer-ticks.c
index bb0ea25..fb3b638 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 *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]