summaryrefslogtreecommitdiff
path: root/src/plugins/TransitionsInterfaces.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-07-09 12:10:38 +0200
commit709e2d6f5652ec90c194a4ec2b530bebc6f952cb (patch)
tree496b2f3899e1d5728ee9ae76095cc5056c317447 /src/plugins/TransitionsInterfaces.c
parentf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (diff)
parent5c8be07095cc04a6d8a95204b0504fd7ab030154 (diff)
Merge branch 'release/0.28.3-1'0.28.3-1
Diffstat (limited to 'src/plugins/TransitionsInterfaces.c')
-rw-r--r--src/plugins/TransitionsInterfaces.c1010
1 files changed, 658 insertions, 352 deletions
diff --git a/src/plugins/TransitionsInterfaces.c b/src/plugins/TransitionsInterfaces.c
index 0e06742..248a2e9 100644
--- a/src/plugins/TransitionsInterfaces.c
+++ b/src/plugins/TransitionsInterfaces.c
@@ -1,4 +1,4 @@
-/* TransitionsInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* TransitionsInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from TransitionsInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
@@ -31,6 +32,16 @@
typedef struct _SpitTransitionsVisuals SpitTransitionsVisuals;
typedef struct _SpitTransitionsVisualsClass SpitTransitionsVisualsClass;
typedef struct _SpitTransitionsVisualsPrivate SpitTransitionsVisualsPrivate;
+enum {
+ SPIT_TRANSITIONS_VISUALS_0_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_NUM_PROPERTIES
+};
+static GParamSpec* spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define SPIT_TRANSITIONS_TYPE_MOTION (spit_transitions_motion_get_type ())
@@ -43,6 +54,16 @@ typedef struct _SpitTransitionsVisualsPrivate SpitTransitionsVisualsPrivate;
typedef struct _SpitTransitionsMotion SpitTransitionsMotion;
typedef struct _SpitTransitionsMotionClass SpitTransitionsMotionClass;
typedef struct _SpitTransitionsMotionPrivate SpitTransitionsMotionPrivate;
+enum {
+ SPIT_TRANSITIONS_MOTION_0_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_FPS_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_NUM_PROPERTIES
+};
+static GParamSpec* spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_NUM_PROPERTIES];
#define SPIT_TYPE_PLUGGABLE (spit_pluggable_get_type ())
#define SPIT_PLUGGABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_TYPE_PLUGGABLE, SpitPluggable))
@@ -226,21 +247,27 @@ static gpointer spit_transitions_motion_parent_class = NULL;
GType spit_transitions_direction_get_type (void) G_GNUC_CONST;
GType spit_transitions_visuals_get_type (void) G_GNUC_CONST;
#define SPIT_TRANSITIONS_VISUALS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisualsPrivate))
-enum {
- SPIT_TRANSITIONS_VISUALS_DUMMY_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY
-};
-SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color);
-SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color);
-static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value);
-static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self, GdkRectangle * value);
-static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value);
-static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self, GdkRectangle * value);
-static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self, GdkRGBA * value);
+SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color);
+SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type,
+ GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color);
+static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value);
+static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value);
+static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value);
+static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value);
+static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * value);
void spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self);
static void spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self);
void spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self);
@@ -258,31 +285,43 @@ static void spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* sel
void spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self);
static void spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self);
GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self);
-void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRectangle * result);
-static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1, const cairo_rectangle_int_t * s2);
+void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result);
+static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1,
+ const cairo_rectangle_int_t * s2);
GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self);
-void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRectangle * result);
-void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGBA * result);
-static gboolean _gdk_rgba_equal (const GdkRGBA * s1, const GdkRGBA * s2);
+void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result);
+void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * result);
+static gboolean _gdk_rgba_equal (const GdkRGBA * s1,
+ const GdkRGBA * s2);
static void spit_transitions_visuals_finalize (GObject * obj);
-static void _vala_spit_transitions_visuals_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
-static void _vala_spit_transitions_visuals_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
+static void _vala_spit_transitions_visuals_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec);
+static void _vala_spit_transitions_visuals_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec);
GType spit_transitions_motion_get_type (void) G_GNUC_CONST;
#define SPIT_TRANSITIONS_MOTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotionPrivate))
-enum {
- SPIT_TRANSITIONS_MOTION_DUMMY_PROPERTY,
- SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY,
- SPIT_TRANSITIONS_MOTION_FPS_PROPERTY,
- SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY,
- SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY,
- SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY
-};
-SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction, gint fps, gint duration_msec);
-SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type, SpitTransitionsDirection direction, gint fps, gint duration_msec);
-static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self, SpitTransitionsDirection value);
-static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self, gint value);
-static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self, gint value);
-gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self, gint frame_number);
+SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec);
+SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type,
+ SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec);
+static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self,
+ SpitTransitionsDirection value);
+static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self,
+ gint value);
+static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self,
+ gint value);
+gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self,
+ gint frame_number);
gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self);
void spit_transitions_motion_reserved0 (SpitTransitionsMotion* self);
static void spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self);
@@ -305,18 +344,26 @@ gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self);
gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self);
gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self);
static void spit_transitions_motion_finalize (GObject * obj);
-static void _vala_spit_transitions_motion_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
-static void _vala_spit_transitions_motion_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
+static void _vala_spit_transitions_motion_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec);
+static void _vala_spit_transitions_motion_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
+void spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_host_interface_get_type (void) G_GNUC_CONST;
GType spit_transitions_effect_get_type (void) G_GNUC_CONST;
GType spit_transitions_descriptor_get_type (void) G_GNUC_CONST;
-SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self, SpitHostInterface* host);
+SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self,
+ SpitHostInterface* host);
void spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self);
void spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self);
@@ -333,11 +380,24 @@ void spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self);
void spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self);
-void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired_fps, gint* min_fps);
-void spit_transitions_effect_start (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion);
+void spit_transitions_effect_get_fps (SpitTransitionsEffect* self,
+ gint* desired_fps,
+ gint* min_fps);
+void spit_transitions_effect_start (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion);
gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self);
-void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number);
-void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number);
+void spit_transitions_effect_paint (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number);
+void spit_transitions_effect_advance (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number);
void spit_transitions_effect_cancel (SpitTransitionsEffect* self);
void spit_transitions_effect_reserved0 (SpitTransitionsEffect* self);
static void spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self);
@@ -367,7 +427,9 @@ static void spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self)
*
* UP, DOWN, and diagonals may be added at some point.
*/
-GType spit_transitions_direction_get_type (void) {
+GType
+spit_transitions_direction_get_type (void)
+{
static volatile gsize spit_transitions_direction_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_direction_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_TRANSITIONS_DIRECTION_LEFT, "SPIT_TRANSITIONS_DIRECTION_LEFT", "left"}, {SPIT_TRANSITIONS_DIRECTION_RIGHT, "SPIT_TRANSITIONS_DIRECTION_RIGHT", "right"}, {SPIT_TRANSITIONS_DIRECTION_FORWARD, "SPIT_TRANSITIONS_DIRECTION_FORWARD", "forward"}, {SPIT_TRANSITIONS_DIRECTION_BACKWARD, "SPIT_TRANSITIONS_DIRECTION_BACKWARD", "backward"}, {0, NULL, NULL}};
@@ -379,13 +441,18 @@ GType spit_transitions_direction_get_type (void) {
}
-SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color) {
+SpitTransitionsVisuals*
+spit_transitions_visuals_construct (GType object_type,
+ GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color)
+{
SpitTransitionsVisuals * self = NULL;
- GdkPixbuf* _tmp0_;
+ GdkRectangle _tmp0_;
GdkRectangle _tmp1_;
- GdkPixbuf* _tmp2_;
- GdkRectangle _tmp3_;
- GdkRGBA _tmp4_;
+ GdkRGBA _tmp2_;
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail ((from_pixbuf == NULL) || GDK_IS_PIXBUF (from_pixbuf), NULL);
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -399,143 +466,179 @@ SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, G
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = (SpitTransitionsVisuals*) g_object_new (object_type, NULL);
#line 96 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = from_pixbuf;
-#line 96 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_from_pixbuf (self, _tmp0_);
+ spit_transitions_visuals_set_from_pixbuf (self, from_pixbuf);
#line 97 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = *from_pos;
+ _tmp0_ = *from_pos;
#line 97 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_from_pos (self, &_tmp1_);
-#line 98 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = to_pixbuf;
+ spit_transitions_visuals_set_from_pos (self, &_tmp0_);
#line 98 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_to_pixbuf (self, _tmp2_);
+ spit_transitions_visuals_set_to_pixbuf (self, to_pixbuf);
#line 99 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp3_ = *to_pos;
+ _tmp1_ = *to_pos;
#line 99 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_to_pos (self, &_tmp3_);
+ spit_transitions_visuals_set_to_pos (self, &_tmp1_);
#line 100 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp4_ = *bg_color;
+ _tmp2_ = *bg_color;
#line 100 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_bg_color (self, &_tmp4_);
+ spit_transitions_visuals_set_bg_color (self, &_tmp2_);
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self;
-#line 424 "TransitionsInterfaces.c"
+#line 487 "TransitionsInterfaces.c"
}
-SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color) {
+SpitTransitionsVisuals*
+spit_transitions_visuals_new (GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color)
+{
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return spit_transitions_visuals_construct (SPIT_TRANSITIONS_TYPE_VISUALS, from_pixbuf, from_pos, to_pixbuf, to_pos, bg_color);
-#line 431 "TransitionsInterfaces.c"
+#line 500 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self)
+{
#line 106 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 106 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved0 (self);
-#line 444 "TransitionsInterfaces.c"
+#line 517 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved1 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved1 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self)
+{
#line 107 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 107 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved1 (self);
-#line 457 "TransitionsInterfaces.c"
+#line 534 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved2 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved2 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved2 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved2 (SpitTransitionsVisuals* self)
+{
#line 108 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 108 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved2 (self);
-#line 470 "TransitionsInterfaces.c"
+#line 551 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved3 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved3 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved3 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved3 (SpitTransitionsVisuals* self)
+{
#line 109 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 109 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved3 (self);
-#line 483 "TransitionsInterfaces.c"
+#line 568 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved4 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved4 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved4 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved4 (SpitTransitionsVisuals* self)
+{
#line 110 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 110 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved4 (self);
-#line 496 "TransitionsInterfaces.c"
+#line 585 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved5 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved5 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved5 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved5 (SpitTransitionsVisuals* self)
+{
#line 111 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 111 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved5 (self);
-#line 509 "TransitionsInterfaces.c"
+#line 602 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved6 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved6 (SpitTransitionsVisuals* self)
+{
#line 112 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 112 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved6 (self);
-#line 522 "TransitionsInterfaces.c"
+#line 619 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self)
+{
#line 113 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 113 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved7 (self);
-#line 535 "TransitionsInterfaces.c"
+#line 636 "TransitionsInterfaces.c"
}
-GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self) {
+GdkPixbuf*
+spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self)
+{
GdkPixbuf* result;
GdkPixbuf* _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -546,41 +649,46 @@ GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* sel
result = _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 550 "TransitionsInterfaces.c"
+#line 653 "TransitionsInterfaces.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self ? g_object_ref (self) : NULL;
-#line 557 "TransitionsInterfaces.c"
+#line 662 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value) {
+static void
+spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value)
+{
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_visuals_get_from_pixbuf (self) != value) {
-#line 566 "TransitionsInterfaces.c"
+#line 674 "TransitionsInterfaces.c"
GdkPixbuf* _tmp0_;
- GdkPixbuf* _tmp1_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
-#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (value);
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_g_object_unref0 (self->priv->_from_pixbuf);
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_from_pixbuf = _tmp1_;
+ self->priv->_from_pixbuf = _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "from-pixbuf");
-#line 579 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY]);
+#line 684 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRectangle * result) {
+void
+spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result)
+{
GdkRectangle _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -590,79 +698,87 @@ void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRec
*result = _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 594 "TransitionsInterfaces.c"
+#line 702 "TransitionsInterfaces.c"
}
-static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1, const cairo_rectangle_int_t * s2) {
+static gboolean
+_cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1,
+ const cairo_rectangle_int_t * s2)
+{
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == s2) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 603 "TransitionsInterfaces.c"
+#line 714 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == NULL) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 609 "TransitionsInterfaces.c"
+#line 720 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s2 == NULL) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 615 "TransitionsInterfaces.c"
+#line 726 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->x != s2->x) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 621 "TransitionsInterfaces.c"
+#line 732 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->y != s2->y) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 627 "TransitionsInterfaces.c"
+#line 738 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->width != s2->width) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 633 "TransitionsInterfaces.c"
+#line 744 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->height != s2->height) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 639 "TransitionsInterfaces.c"
+#line 750 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 643 "TransitionsInterfaces.c"
+#line 754 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self, GdkRectangle * value) {
+static void
+spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value)
+{
GdkRectangle old_value;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_cairo_rectangle_int_equal (value, (spit_transitions_visuals_get_from_pos (self, &old_value), &old_value)) != TRUE) {
-#line 653 "TransitionsInterfaces.c"
+#line 767 "TransitionsInterfaces.c"
GdkRectangle _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_from_pos = _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "from-pos");
-#line 661 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY]);
+#line 775 "TransitionsInterfaces.c"
}
}
-GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self) {
+GdkPixbuf*
+spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self)
+{
GdkPixbuf* result;
GdkPixbuf* _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -673,34 +789,37 @@ GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self)
result = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 677 "TransitionsInterfaces.c"
+#line 793 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value) {
+static void
+spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value)
+{
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_visuals_get_to_pixbuf (self) != value) {
-#line 686 "TransitionsInterfaces.c"
+#line 805 "TransitionsInterfaces.c"
GdkPixbuf* _tmp0_;
- GdkPixbuf* _tmp1_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
-#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (value);
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_g_object_unref0 (self->priv->_to_pixbuf);
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_to_pixbuf = _tmp1_;
+ self->priv->_to_pixbuf = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "to-pixbuf");
-#line 699 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY]);
+#line 815 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRectangle * result) {
+void
+spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result)
+{
GdkRectangle _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -710,30 +829,36 @@ void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRecta
*result = _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 714 "TransitionsInterfaces.c"
+#line 833 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self, GdkRectangle * value) {
+static void
+spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value)
+{
GdkRectangle old_value;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_cairo_rectangle_int_equal (value, (spit_transitions_visuals_get_to_pos (self, &old_value), &old_value)) != TRUE) {
-#line 724 "TransitionsInterfaces.c"
+#line 846 "TransitionsInterfaces.c"
GdkRectangle _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_to_pos = _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "to-pos");
-#line 732 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY]);
+#line 854 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGBA * result) {
+void
+spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * result)
+{
GdkRGBA _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -743,79 +868,87 @@ void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGB
*result = _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 747 "TransitionsInterfaces.c"
+#line 872 "TransitionsInterfaces.c"
}
-static gboolean _gdk_rgba_equal (const GdkRGBA * s1, const GdkRGBA * s2) {
+static gboolean
+_gdk_rgba_equal (const GdkRGBA * s1,
+ const GdkRGBA * s2)
+{
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == s2) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 756 "TransitionsInterfaces.c"
+#line 884 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == NULL) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 762 "TransitionsInterfaces.c"
+#line 890 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s2 == NULL) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 768 "TransitionsInterfaces.c"
+#line 896 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->red != s2->red) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 774 "TransitionsInterfaces.c"
+#line 902 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->green != s2->green) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 780 "TransitionsInterfaces.c"
+#line 908 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->blue != s2->blue) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 786 "TransitionsInterfaces.c"
+#line 914 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->alpha != s2->alpha) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 792 "TransitionsInterfaces.c"
+#line 920 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 796 "TransitionsInterfaces.c"
+#line 924 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self, GdkRGBA * value) {
+static void
+spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * value)
+{
GdkRGBA old_value;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_gdk_rgba_equal (value, (spit_transitions_visuals_get_bg_color (self, &old_value), &old_value)) != TRUE) {
-#line 806 "TransitionsInterfaces.c"
+#line 937 "TransitionsInterfaces.c"
GdkRGBA _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_bg_color = _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "bg-color");
-#line 814 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY]);
+#line 945 "TransitionsInterfaces.c"
}
}
-static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * klass) {
+static void
+spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * klass)
+{
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_parent_class = g_type_class_peek_parent (klass);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -842,56 +975,60 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
G_OBJECT_CLASS (klass)->set_property = _vala_spit_transitions_visuals_set_property;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (klass)->finalize = spit_transitions_visuals_finalize;
-#line 846 "TransitionsInterfaces.c"
+#line 979 "TransitionsInterfaces.c"
/**
* Returns the starting pixbuf (the pixbuf currently on the display).
*
* If transitioning from a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY, g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 854 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY] = g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 987 "TransitionsInterfaces.c"
/**
* Returns the position of the starting pixbuf on the display.
*
* If transitioning from a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY, g_param_spec_boxed ("from-pos", "from-pos", "from-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 862 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY] = g_param_spec_boxed ("from-pos", "from-pos", "from-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 995 "TransitionsInterfaces.c"
/**
* Returns the ending pixbuf (the pixbuf that the transition should result in).
*
* If transitioning to a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY, g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 870 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY] = g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1003 "TransitionsInterfaces.c"
/**
* Returns the position of the ending pixbuf on the display.
*
* If transitioning to a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY, g_param_spec_boxed ("to-pos", "to-pos", "to-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 878 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY] = g_param_spec_boxed ("to-pos", "to-pos", "to-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1011 "TransitionsInterfaces.c"
/**
* Returns the background color of the viewport.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY, g_param_spec_boxed ("bg-color", "bg-color", "bg-color", gdk_rgba_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 884 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY] = g_param_spec_boxed ("bg-color", "bg-color", "bg-color", gdk_rgba_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1017 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_instance_init (SpitTransitionsVisuals * self) {
+static void
+spit_transitions_visuals_instance_init (SpitTransitionsVisuals * self)
+{
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv = SPIT_TRANSITIONS_VISUALS_GET_PRIVATE (self);
-#line 891 "TransitionsInterfaces.c"
+#line 1026 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_finalize (GObject * obj) {
+static void
+spit_transitions_visuals_finalize (GObject * obj)
+{
SpitTransitionsVisuals * self;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
@@ -901,7 +1038,7 @@ static void spit_transitions_visuals_finalize (GObject * obj) {
_g_object_unref0 (self->priv->_to_pixbuf);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (spit_transitions_visuals_parent_class)->finalize (obj);
-#line 905 "TransitionsInterfaces.c"
+#line 1042 "TransitionsInterfaces.c"
}
@@ -919,7 +1056,9 @@ static void spit_transitions_visuals_finalize (GObject * obj) {
* zeroed. Like the prior case, the transition should move toward a blank screen of the background
* color.
*/
-GType spit_transitions_visuals_get_type (void) {
+GType
+spit_transitions_visuals_get_type (void)
+{
static volatile gsize spit_transitions_visuals_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_visuals_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsVisualsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spit_transitions_visuals_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpitTransitionsVisuals), 0, (GInstanceInitFunc) spit_transitions_visuals_instance_init, NULL };
@@ -931,7 +1070,12 @@ GType spit_transitions_visuals_get_type (void) {
}
-static void _vala_spit_transitions_visuals_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_visuals_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsVisuals * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -944,14 +1088,14 @@ static void _vala_spit_transitions_visuals_get_property (GObject * object, guint
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY:
-#line 948 "TransitionsInterfaces.c"
+#line 1092 "TransitionsInterfaces.c"
{
GdkRectangle boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_from_pos (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 955 "TransitionsInterfaces.c"
+#line 1099 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
@@ -963,42 +1107,47 @@ static void _vala_spit_transitions_visuals_get_property (GObject * object, guint
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY:
-#line 967 "TransitionsInterfaces.c"
+#line 1111 "TransitionsInterfaces.c"
{
GdkRectangle boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_to_pos (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 974 "TransitionsInterfaces.c"
+#line 1118 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY:
-#line 980 "TransitionsInterfaces.c"
+#line 1124 "TransitionsInterfaces.c"
{
GdkRGBA boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_bg_color (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 987 "TransitionsInterfaces.c"
+#line 1131 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 991 "TransitionsInterfaces.c"
+#line 1135 "TransitionsInterfaces.c"
default:
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 997 "TransitionsInterfaces.c"
+#line 1141 "TransitionsInterfaces.c"
}
}
-static void _vala_spit_transitions_visuals_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_visuals_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsVisuals * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1033,46 +1182,46 @@ static void _vala_spit_transitions_visuals_set_property (GObject * object, guint
spit_transitions_visuals_set_bg_color (self, g_value_get_boxed (value));
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1037 "TransitionsInterfaces.c"
+#line 1186 "TransitionsInterfaces.c"
default:
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1043 "TransitionsInterfaces.c"
+#line 1192 "TransitionsInterfaces.c"
}
}
-SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type, SpitTransitionsDirection direction, gint fps, gint duration_msec) {
+SpitTransitionsMotion*
+spit_transitions_motion_construct (GType object_type,
+ SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec)
+{
SpitTransitionsMotion * self = NULL;
- SpitTransitionsDirection _tmp0_;
- gint _tmp1_;
- gint _tmp2_;
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = (SpitTransitionsMotion*) g_object_new (object_type, NULL);
#line 158 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = direction;
-#line 158 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_direction (self, _tmp0_);
+ spit_transitions_motion_set_direction (self, direction);
#line 159 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = fps;
-#line 159 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_fps (self, _tmp1_);
-#line 160 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = duration_msec;
+ spit_transitions_motion_set_fps (self, fps);
#line 160 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_duration_msec (self, _tmp2_);
+ spit_transitions_motion_set_duration_msec (self, duration_msec);
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self;
-#line 1069 "TransitionsInterfaces.c"
+#line 1214 "TransitionsInterfaces.c"
}
-SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction, gint fps, gint duration_msec) {
+SpitTransitionsMotion*
+spit_transitions_motion_new (SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec)
+{
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return spit_transitions_motion_construct (SPIT_TRANSITIONS_TYPE_MOTION, direction, fps, duration_msec);
-#line 1076 "TransitionsInterfaces.c"
+#line 1225 "TransitionsInterfaces.c"
}
@@ -1080,132 +1229,166 @@ SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection dir
* Returns a value from 0.0 to 1.0 that represents the percentage of the transition's completion
* for the specified frame.
*/
-gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self, gint frame_number) {
+gdouble
+spit_transitions_motion_get_alpha (SpitTransitionsMotion* self,
+ gint frame_number)
+{
gdouble result = 0.0;
gint _tmp0_;
gint _tmp1_;
- gint _tmp2_;
#line 167 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_MOTION (self), 0.0);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = frame_number;
+ _tmp0_ = spit_transitions_motion_get_total_frames (self);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = spit_transitions_motion_get_total_frames (self);
+ _tmp1_ = _tmp0_;
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = _tmp1_;
-#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- result = ((gdouble) _tmp0_) / ((gdouble) _tmp2_);
+ result = ((gdouble) frame_number) / ((gdouble) _tmp1_);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1101 "TransitionsInterfaces.c"
+#line 1250 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved0 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved0 (SpitTransitionsMotion* self)
+{
#line 174 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 174 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved0 (self);
-#line 1114 "TransitionsInterfaces.c"
+#line 1267 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved1 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved1 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved1 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved1 (SpitTransitionsMotion* self)
+{
#line 175 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 175 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved1 (self);
-#line 1127 "TransitionsInterfaces.c"
+#line 1284 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved2 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved2 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved2 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved2 (SpitTransitionsMotion* self)
+{
#line 176 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 176 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved2 (self);
-#line 1140 "TransitionsInterfaces.c"
+#line 1301 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved3 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved3 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved3 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved3 (SpitTransitionsMotion* self)
+{
#line 177 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 177 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved3 (self);
-#line 1153 "TransitionsInterfaces.c"
+#line 1318 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved4 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved4 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved4 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved4 (SpitTransitionsMotion* self)
+{
#line 178 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 178 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved4 (self);
-#line 1166 "TransitionsInterfaces.c"
+#line 1335 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved5 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved5 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved5 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved5 (SpitTransitionsMotion* self)
+{
#line 179 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 179 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved5 (self);
-#line 1179 "TransitionsInterfaces.c"
+#line 1352 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved6 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved6 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved6 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved6 (SpitTransitionsMotion* self)
+{
#line 180 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 180 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved6 (self);
-#line 1192 "TransitionsInterfaces.c"
+#line 1369 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved7 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved7 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved7 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved7 (SpitTransitionsMotion* self)
+{
#line 181 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 181 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved7 (self);
-#line 1205 "TransitionsInterfaces.c"
+#line 1386 "TransitionsInterfaces.c"
}
-SpitTransitionsDirection spit_transitions_motion_get_direction (SpitTransitionsMotion* self) {
+SpitTransitionsDirection
+spit_transitions_motion_get_direction (SpitTransitionsMotion* self)
+{
SpitTransitionsDirection result;
SpitTransitionsDirection _tmp0_;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1216,29 +1399,30 @@ SpitTransitionsDirection spit_transitions_motion_get_direction (SpitTransitionsM
result = _tmp0_;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1220 "TransitionsInterfaces.c"
+#line 1403 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self, SpitTransitionsDirection value) {
+static void
+spit_transitions_motion_set_direction (SpitTransitionsMotion* self,
+ SpitTransitionsDirection value)
+{
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_direction (self) != value) {
-#line 1229 "TransitionsInterfaces.c"
- SpitTransitionsDirection _tmp0_;
-#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_direction = _tmp0_;
+ self->priv->_direction = value;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "direction");
-#line 1237 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY]);
+#line 1419 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_fps (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1249,29 +1433,30 @@ gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self) {
result = _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1253 "TransitionsInterfaces.c"
+#line 1437 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self, gint value) {
+static void
+spit_transitions_motion_set_fps (SpitTransitionsMotion* self,
+ gint value)
+{
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_fps (self) != value) {
-#line 1262 "TransitionsInterfaces.c"
- gint _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
+ self->priv->_fps = value;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_fps = _tmp0_;
-#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "fps");
-#line 1270 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_FPS_PROPERTY]);
+#line 1453 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1282,29 +1467,30 @@ gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self) {
result = _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1286 "TransitionsInterfaces.c"
+#line 1471 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self, gint value) {
+static void
+spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self,
+ gint value)
+{
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_duration_msec (self) != value) {
-#line 1295 "TransitionsInterfaces.c"
- gint _tmp0_;
-#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_duration_msec = _tmp0_;
+ self->priv->_duration_msec = value;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "duration-msec");
-#line 1303 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY]);
+#line 1487 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
gint _tmp1_;
@@ -1318,11 +1504,13 @@ gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self) {
result = (gint) (((gdouble) _tmp0_) * (((gdouble) _tmp1_) / 1000.0));
#line 144 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1322 "TransitionsInterfaces.c"
+#line 1508 "TransitionsInterfaces.c"
}
-gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 152 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1333,11 +1521,13 @@ gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self) {
result = (gint) (1000.0 / ((gdouble) _tmp0_));
#line 153 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1337 "TransitionsInterfaces.c"
+#line 1525 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_class_init (SpitTransitionsMotionClass * klass) {
+static void
+spit_transitions_motion_class_init (SpitTransitionsMotionClass * klass)
+{
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_motion_parent_class = g_type_class_peek_parent (klass);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1364,55 +1554,59 @@ static void spit_transitions_motion_class_init (SpitTransitionsMotionClass * kla
G_OBJECT_CLASS (klass)->set_property = _vala_spit_transitions_motion_set_property;
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (klass)->finalize = spit_transitions_motion_finalize;
-#line 1368 "TransitionsInterfaces.c"
+#line 1558 "TransitionsInterfaces.c"
/**
* Returns the direction the transition should occur in (if pertinent to the {@link Effect}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY, g_param_spec_enum ("direction", "direction", "direction", SPIT_TRANSITIONS_TYPE_DIRECTION, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1374 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY] = g_param_spec_enum ("direction", "direction", "direction", SPIT_TRANSITIONS_TYPE_DIRECTION, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1564 "TransitionsInterfaces.c"
/**
* Returns the frames per second of the {@link Effect}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_FPS_PROPERTY, g_param_spec_int ("fps", "fps", "fps", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1380 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_FPS_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_FPS_PROPERTY] = g_param_spec_int ("fps", "fps", "fps", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1570 "TransitionsInterfaces.c"
/**
* Returns the amount of time the transition should take (in milliseconds).
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY, g_param_spec_int ("duration-msec", "duration-msec", "duration-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1386 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY] = g_param_spec_int ("duration-msec", "duration-msec", "duration-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1576 "TransitionsInterfaces.c"
/**
* Returns the number of frames that should be required to perform the transition in the
* expected {@link duration_msec}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY, g_param_spec_int ("total-frames", "total-frames", "total-frames", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1393 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY] = g_param_spec_int ("total-frames", "total-frames", "total-frames", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1583 "TransitionsInterfaces.c"
/**
* Returns the approximate time between each frame draw (in milliseconds).
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY, g_param_spec_int ("tick-msec", "tick-msec", "tick-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1399 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY] = g_param_spec_int ("tick-msec", "tick-msec", "tick-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1589 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_instance_init (SpitTransitionsMotion * self) {
+static void
+spit_transitions_motion_instance_init (SpitTransitionsMotion * self)
+{
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv = SPIT_TRANSITIONS_MOTION_GET_PRIVATE (self);
-#line 1406 "TransitionsInterfaces.c"
+#line 1598 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_finalize (GObject * obj) {
+static void
+spit_transitions_motion_finalize (GObject * obj)
+{
SpitTransitionsMotion * self;
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (spit_transitions_motion_parent_class)->finalize (obj);
-#line 1416 "TransitionsInterfaces.c"
+#line 1610 "TransitionsInterfaces.c"
}
@@ -1422,7 +1616,9 @@ static void spit_transitions_motion_finalize (GObject * obj) {
* Some of Motion's information may not apply to a transition effect (such as Direction for a
* fade effect).
*/
-GType spit_transitions_motion_get_type (void) {
+GType
+spit_transitions_motion_get_type (void)
+{
static volatile gsize spit_transitions_motion_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_motion_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsMotionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spit_transitions_motion_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpitTransitionsMotion), 0, (GInstanceInitFunc) spit_transitions_motion_instance_init, NULL };
@@ -1434,7 +1630,12 @@ GType spit_transitions_motion_get_type (void) {
}
-static void _vala_spit_transitions_motion_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_motion_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsMotion * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1469,18 +1670,23 @@ static void _vala_spit_transitions_motion_get_property (GObject * object, guint
g_value_set_int (value, spit_transitions_motion_get_tick_msec (self));
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1473 "TransitionsInterfaces.c"
+#line 1674 "TransitionsInterfaces.c"
default:
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1479 "TransitionsInterfaces.c"
+#line 1680 "TransitionsInterfaces.c"
}
}
-static void _vala_spit_transitions_motion_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_motion_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsMotion * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1503,13 +1709,13 @@ static void _vala_spit_transitions_motion_set_property (GObject * object, guint
spit_transitions_motion_set_duration_msec (self, g_value_get_int (value));
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1507 "TransitionsInterfaces.c"
+#line 1713 "TransitionsInterfaces.c"
default:
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1513 "TransitionsInterfaces.c"
+#line 1719 "TransitionsInterfaces.c"
}
}
@@ -1517,120 +1723,157 @@ static void _vala_spit_transitions_motion_set_property (GObject * object, guint
/**
* Returns an instance of the {@link Effect} this descriptor represents.
*/
-SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self, SpitHostInterface* host) {
+SpitTransitionsEffect*
+spit_transitions_descriptor_create (SpitTransitionsDescriptor* self,
+ SpitHostInterface* host)
+{
#line 191 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self), NULL);
#line 191 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->create (self, host);
-#line 1526 "TransitionsInterfaces.c"
+#line 1735 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self)
+{
#line 196 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 196 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved0 (self);
-#line 1539 "TransitionsInterfaces.c"
+#line 1752 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved1 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved1 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self)
+{
#line 197 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 197 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved1 (self);
-#line 1552 "TransitionsInterfaces.c"
+#line 1769 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved2 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved2 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved2 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved2 (SpitTransitionsDescriptor* self)
+{
#line 198 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 198 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved2 (self);
-#line 1565 "TransitionsInterfaces.c"
+#line 1786 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved3 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved3 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved3 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved3 (SpitTransitionsDescriptor* self)
+{
#line 199 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 199 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved3 (self);
-#line 1578 "TransitionsInterfaces.c"
+#line 1803 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved4 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved4 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved4 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved4 (SpitTransitionsDescriptor* self)
+{
#line 200 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 200 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved4 (self);
-#line 1591 "TransitionsInterfaces.c"
+#line 1820 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved5 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved5 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved5 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved5 (SpitTransitionsDescriptor* self)
+{
#line 201 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 201 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved5 (self);
-#line 1604 "TransitionsInterfaces.c"
+#line 1837 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self)
+{
#line 202 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 202 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved6 (self);
-#line 1617 "TransitionsInterfaces.c"
+#line 1854 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self)
+{
#line 203 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 203 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved7 (self);
-#line 1630 "TransitionsInterfaces.c"
+#line 1871 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIface * iface) {
+static void
+spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIface * iface)
+{
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
static gboolean initialized = FALSE;
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1653,7 +1896,7 @@ static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIfac
iface->reserved6 = spit_transitions_descriptor_real_reserved6;
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
iface->reserved7 = spit_transitions_descriptor_real_reserved7;
-#line 1657 "TransitionsInterfaces.c"
+#line 1900 "TransitionsInterfaces.c"
}
}
@@ -1661,7 +1904,9 @@ static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIfac
/**
* A Descriptor offers a factory method for creating {@link Effect} instances.
*/
-GType spit_transitions_descriptor_get_type (void) {
+GType
+spit_transitions_descriptor_get_type (void)
+{
static volatile gsize spit_transitions_descriptor_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_descriptor_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsDescriptorIface), (GBaseInitFunc) spit_transitions_descriptor_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1685,12 +1930,16 @@ GType spit_transitions_descriptor_get_type (void) {
* @param min_fps The minimum FPS before the effect is consider "ruined".
* Return zero if any FPS is acceptable.
*/
-void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired_fps, gint* min_fps) {
+void
+spit_transitions_effect_get_fps (SpitTransitionsEffect* self,
+ gint* desired_fps,
+ gint* min_fps)
+{
#line 240 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 240 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->get_fps (self, desired_fps, min_fps);
-#line 1694 "TransitionsInterfaces.c"
+#line 1943 "TransitionsInterfaces.c"
}
@@ -1699,24 +1948,30 @@ void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired
*
* All state should be reset. The frame number, which is not supplied, is one.
*/
-void spit_transitions_effect_start (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion) {
+void
+spit_transitions_effect_start (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion)
+{
#line 247 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 247 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->start (self, visuals, motion);
-#line 1708 "TransitionsInterfaces.c"
+#line 1961 "TransitionsInterfaces.c"
}
/**
* Return true if the Effect needs the background cleared prior to calling {@link paint}.
*/
-gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self) {
+gboolean
+spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self)
+{
#line 252 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self), FALSE);
#line 252 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->needs_clear_background (self);
-#line 1720 "TransitionsInterfaces.c"
+#line 1975 "TransitionsInterfaces.c"
}
@@ -1731,12 +1986,20 @@ gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect*
* @param height The height (in pixels) of the Cairo surface.
* @param frame_number The ''one-based'' frame being drawn.
*/
-void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number) {
+void
+spit_transitions_effect_paint (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number)
+{
#line 265 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 265 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->paint (self, visuals, motion, ctx, width, height, frame_number);
-#line 1740 "TransitionsInterfaces.c"
+#line 2003 "TransitionsInterfaces.c"
}
@@ -1749,12 +2012,17 @@ void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitions
*
* @param frame_number The ''one-based'' frame being advanced to.
*/
-void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number) {
+void
+spit_transitions_effect_advance (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number)
+{
#line 277 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 277 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->advance (self, visuals, motion, frame_number);
-#line 1758 "TransitionsInterfaces.c"
+#line 2026 "TransitionsInterfaces.c"
}
@@ -1763,120 +2031,156 @@ void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitio
*
* It only needs to reset state if {@link start} is called again.
*/
-void spit_transitions_effect_cancel (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_cancel (SpitTransitionsEffect* self)
+{
#line 284 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 284 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->cancel (self);
-#line 1772 "TransitionsInterfaces.c"
+#line 2042 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved0 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved0 (SpitTransitionsEffect* self)
+{
#line 289 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 289 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved0 (self);
-#line 1785 "TransitionsInterfaces.c"
+#line 2059 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved1 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved1 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved1 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved1 (SpitTransitionsEffect* self)
+{
#line 290 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 290 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved1 (self);
-#line 1798 "TransitionsInterfaces.c"
+#line 2076 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved2 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved2 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved2 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved2 (SpitTransitionsEffect* self)
+{
#line 291 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 291 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved2 (self);
-#line 1811 "TransitionsInterfaces.c"
+#line 2093 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved3 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved3 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved3 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved3 (SpitTransitionsEffect* self)
+{
#line 292 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 292 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved3 (self);
-#line 1824 "TransitionsInterfaces.c"
+#line 2110 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved4 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved4 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved4 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved4 (SpitTransitionsEffect* self)
+{
#line 293 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 293 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved4 (self);
-#line 1837 "TransitionsInterfaces.c"
+#line 2127 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved5 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved5 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved5 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved5 (SpitTransitionsEffect* self)
+{
#line 294 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 294 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved5 (self);
-#line 1850 "TransitionsInterfaces.c"
+#line 2144 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved6 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved6 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved6 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved6 (SpitTransitionsEffect* self)
+{
#line 295 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 295 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved6 (self);
-#line 1863 "TransitionsInterfaces.c"
+#line 2161 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved7 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved7 (SpitTransitionsEffect* self)
+{
#line 296 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 296 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved7 (self);
-#line 1876 "TransitionsInterfaces.c"
+#line 2178 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * iface) {
+static void
+spit_transitions_effect_base_init (SpitTransitionsEffectIface * iface)
+{
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
static gboolean initialized = FALSE;
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1899,7 +2203,7 @@ static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * ifac
iface->reserved6 = spit_transitions_effect_real_reserved6;
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
iface->reserved7 = spit_transitions_effect_real_reserved7;
-#line 1903 "TransitionsInterfaces.c"
+#line 2207 "TransitionsInterfaces.c"
}
}
@@ -1927,7 +2231,9 @@ static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * ifac
*
* An instance may be reused and should be prepared for restarts.
*/
-GType spit_transitions_effect_get_type (void) {
+GType
+spit_transitions_effect_get_type (void)
+{
static volatile gsize spit_transitions_effect_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_effect_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsEffectIface), (GBaseInitFunc) spit_transitions_effect_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };