mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 23:10:22 +00:00
GtkStyleSet: Register the "transition" property.
This commit is contained in:
parent
ed840e73e4
commit
114f30b772
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user