[gtk+/gtk-style-context: 189/533] GtkStyleSet: Register the "transition" property.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-style-context: 189/533] GtkStyleSet: Register the "transition" property.
- Date: Wed, 1 Dec 2010 02:21:39 +0000 (UTC)
commit 50f65bfb3dbba2bb64ca606b34b91f14323e2b2e
Author: Carlos Garnacho <carlosg gnome org>
Date: Thu Aug 19 21:49:22 2010 +0200
GtkStyleSet: Register the "transition" property.
gtk/gtkstyleset.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstyleset.c b/gtk/gtkstyleset.c
index 7c42f1f..3158465 100644
--- a/gtk/gtkstyleset.c
+++ b/gtk/gtkstyleset.c
@@ -26,6 +26,7 @@
#include "gtkstyleset.h"
#include "gtkprivate.h"
#include "gtkthemingengine.h"
+#include "gtkanimationdescription.h"
#include "gtkintl.h"
#include "gtkalias.h"
@@ -94,6 +95,11 @@ gtk_style_set_class_init (GtkStyleSetClass *klass)
gtk_style_set_register_property ("engine", GTK_TYPE_THEMING_ENGINE, &val, NULL);
g_value_unset (&val);
+ g_value_init (&val, GTK_TYPE_ANIMATION_DESCRIPTION);
+ g_value_take_boxed (&val, gtk_animation_description_new (0, GTK_TIMELINE_PROGRESS_LINEAR));
+ gtk_style_set_register_property ("transition", GTK_TYPE_ANIMATION_DESCRIPTION, &val, NULL);
+ g_value_unset (&val);
+
g_type_class_add_private (object_class, sizeof (GtkStyleSetPrivate));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]