[gtk+] Revert "stack: respect gtk-enable-animations setting"
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Revert "stack: respect gtk-enable-animations setting"
- Date: Tue, 19 Nov 2013 23:46:02 +0000 (UTC)
commit da0ebcb7da89c7a5130641458800e37ed24eea88
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Nov 19 18:38:12 2013 -0500
Revert "stack: respect gtk-enable-animations setting"
It already respected enable-animations.
This reverts commit fb9ff442997f02ee2d6ad0eae0321a961e96f56f.
gtk/gtkstack.c | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/gtk/gtkstack.c b/gtk/gtkstack.c
index a284a66..1f0da9e 100644
--- a/gtk/gtkstack.c
+++ b/gtk/gtkstack.c
@@ -45,9 +45,6 @@
* These animations respect the #GtkSettings::gtk-enable-animations
* setting.
*
- * These animations respect the #GtkSettings::gtk-enable-animations
- * setting.
- *
* The GtkStack widget was added in GTK+ 3.10.
*/
@@ -830,14 +827,6 @@ static GtkStackTransitionType
effective_transition_type (GtkStack *stack,
GtkStackTransitionType transition_type)
{
- gboolean animations_enabled;
-
- g_object_get (gtk_widget_get_settings (GTK_WIDGET (stack)),
- "gtk-enable-animations", &animations_enabled,
- NULL);
- if (!animations_enabled)
- return GTK_STACK_TRANSITION_TYPE_NONE;
-
if (gtk_widget_get_direction (GTK_WIDGET (stack)) == GTK_TEXT_DIR_RTL)
{
if (transition_type == GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]