[gtk+/wip/baedert/stack-size-interpolate: 10/11] GtkStack: Remove some useless function calls
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/stack-size-interpolate: 10/11] GtkStack: Remove some useless function calls
- Date: Mon, 25 May 2015 14:57:09 +0000 (UTC)
commit fac1b3e5f99703fabb9081a73534c3c4ff9002ea
Author: Timm Bäder <mail baedert org>
Date: Sun May 24 21:20:48 2015 +0200
GtkStack: Remove some useless function calls
We will call gtk_widget_queue_resize anyway later when finishing the
(maybe non-running) transition, which will also cause the stack to be
repainted.
gtk/gtkstack.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index f36026d..02525c6 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -1110,9 +1110,6 @@ set_visible_child (GtkStack *stack,
transition_type = get_simple_transition_type (i_first, transition_type);
}
- gtk_widget_queue_resize (GTK_WIDGET (stack));
- gtk_widget_queue_draw (GTK_WIDGET (stack));
-
g_object_notify_by_pspec (G_OBJECT (stack), stack_props[PROP_VISIBLE_CHILD]);
g_object_notify_by_pspec (G_OBJECT (stack),
stack_props[PROP_VISIBLE_CHILD_NAME]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]