[sysprof/wip/visualizers] visualizer-view: use queue_resize instead of queue_draw
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/visualizers] visualizer-view: use queue_resize instead of queue_draw
- Date: Tue, 4 Oct 2016 19:34:07 +0000 (UTC)
commit 6d9656e6fe82c744221c40350e74f37d1356184f
Author: Christian Hergert <chergert redhat com>
Date: Tue Oct 4 12:29:50 2016 -0700
visualizer-view: use queue_resize instead of queue_draw
We need everything to update from this widget down the widget
hierarchy so they all get redrawn. Queuing a resize will ensure
that happens.
lib/sp-visualizer-view.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/sp-visualizer-view.c b/lib/sp-visualizer-view.c
index ed2bd9f..c8a4b69 100644
--- a/lib/sp-visualizer-view.c
+++ b/lib/sp-visualizer-view.c
@@ -411,6 +411,6 @@ sp_visualizer_view_set_zoom_manager (SpVisualizerView *self,
}
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ZOOM_MANAGER]);
- gtk_widget_queue_draw (GTK_WIDGET (self));
+ gtk_widget_queue_resize (GTK_WIDGET (self));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]