summaryrefslogtreecommitdiff
path: root/plugins/shotwell-transitions/StripesEffect.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/shotwell-transitions/StripesEffect.c')
-rw-r--r--plugins/shotwell-transitions/StripesEffect.c568
1 files changed, 281 insertions, 287 deletions
diff --git a/plugins/shotwell-transitions/StripesEffect.c b/plugins/shotwell-transitions/StripesEffect.c
index 53ef18d..d0bac4d 100644
--- a/plugins/shotwell-transitions/StripesEffect.c
+++ b/plugins/shotwell-transitions/StripesEffect.c
@@ -1,4 +1,4 @@
-/* StripesEffect.c generated by valac 0.36.6, the Vala compiler
+/* StripesEffect.c generated by valac 0.40.4, the Vala compiler
* generated from StripesEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
@@ -8,6 +8,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <shotwell-plugin-dev-1.0.h>
@@ -42,6 +43,11 @@ typedef struct _ShotwellTransitionDescriptorPrivate ShotwellTransitionDescriptor
typedef struct _StripesEffectDescriptor StripesEffectDescriptor;
typedef struct _StripesEffectDescriptorClass StripesEffectDescriptorClass;
typedef struct _StripesEffectDescriptorPrivate StripesEffectDescriptorPrivate;
+enum {
+ STRIPES_EFFECT_DESCRIPTOR_0_PROPERTY,
+ STRIPES_EFFECT_DESCRIPTOR_NUM_PROPERTIES
+};
+static GParamSpec* stripes_effect_descriptor_properties[STRIPES_EFFECT_DESCRIPTOR_NUM_PROPERTIES];
#define TYPE_STRIPES_EFFECT (stripes_effect_get_type ())
#define STRIPES_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_STRIPES_EFFECT, StripesEffect))
@@ -53,6 +59,11 @@ typedef struct _StripesEffectDescriptorPrivate StripesEffectDescriptorPrivate;
typedef struct _StripesEffect StripesEffect;
typedef struct _StripesEffectClass StripesEffectClass;
typedef struct _StripesEffectPrivate StripesEffectPrivate;
+enum {
+ STRIPES_EFFECT_0_PROPERTY,
+ STRIPES_EFFECT_NUM_PROPERTIES
+};
+static GParamSpec* stripes_effect_properties[STRIPES_EFFECT_NUM_PROPERTIES];
struct _ShotwellTransitionDescriptor {
GObject parent_instance;
@@ -95,57 +106,71 @@ static SpitTransitionsEffectIface * stripes_effect_spit_transitions_effect_paren
GType shotwell_transition_descriptor_get_type (void) G_GNUC_CONST;
GType stripes_effect_descriptor_get_type (void) G_GNUC_CONST;
-enum {
- STRIPES_EFFECT_DESCRIPTOR_DUMMY_PROPERTY
-};
StripesEffectDescriptor* stripes_effect_descriptor_new (GFile* resource_directory);
-StripesEffectDescriptor* stripes_effect_descriptor_construct (GType object_type, GFile* resource_directory);
-ShotwellTransitionDescriptor* shotwell_transition_descriptor_construct (GType object_type, GFile* resource_directory);
+StripesEffectDescriptor* stripes_effect_descriptor_construct (GType object_type,
+ GFile* resource_directory);
+ShotwellTransitionDescriptor* shotwell_transition_descriptor_construct (GType object_type,
+ GFile* resource_directory);
static const gchar* stripes_effect_descriptor_real_get_id (ShotwellTransitionDescriptor* base);
static const gchar* stripes_effect_descriptor_real_get_pluggable_name (ShotwellTransitionDescriptor* base);
-static SpitTransitionsEffect* stripes_effect_descriptor_real_create (ShotwellTransitionDescriptor* base, SpitHostInterface* host);
+static SpitTransitionsEffect* stripes_effect_descriptor_real_create (ShotwellTransitionDescriptor* base,
+ SpitHostInterface* host);
StripesEffect* stripes_effect_new (void);
StripesEffect* stripes_effect_construct (GType object_type);
GType stripes_effect_get_type (void) G_GNUC_CONST;
#define STRIPES_EFFECT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_STRIPES_EFFECT, StripesEffectPrivate))
-enum {
- STRIPES_EFFECT_DUMMY_PROPERTY
-};
#define STRIPES_EFFECT_DESIRED_FPS 25
#define STRIPES_EFFECT_MIN_FPS 10
#define STRIPES_EFFECT_STRIPE_HEIGHT 100
-static void stripes_effect_real_get_fps (SpitTransitionsEffect* base, gint* desired_fps, gint* min_fps);
-static void stripes_effect_real_start (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion);
+static void stripes_effect_real_get_fps (SpitTransitionsEffect* base,
+ gint* desired_fps,
+ gint* min_fps);
+static void stripes_effect_real_start (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion);
static gboolean stripes_effect_real_needs_clear_background (SpitTransitionsEffect* base);
-static void stripes_effect_real_paint (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number);
-static void stripes_effect_real_advance (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number);
+static void stripes_effect_real_paint (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number);
+static void stripes_effect_real_advance (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number);
static void stripes_effect_real_cancel (SpitTransitionsEffect* base);
static void stripes_effect_finalize (GObject * obj);
-StripesEffectDescriptor* stripes_effect_descriptor_construct (GType object_type, GFile* resource_directory) {
+StripesEffectDescriptor*
+stripes_effect_descriptor_construct (GType object_type,
+ GFile* resource_directory)
+{
StripesEffectDescriptor * self = NULL;
- GFile* _tmp0_;
#line 11 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
g_return_val_if_fail (G_IS_FILE (resource_directory), NULL);
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp0_ = resource_directory;
-#line 12 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- self = (StripesEffectDescriptor*) shotwell_transition_descriptor_construct (object_type, _tmp0_);
+ self = (StripesEffectDescriptor*) shotwell_transition_descriptor_construct (object_type, resource_directory);
#line 11 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return self;
-#line 138 "StripesEffect.c"
+#line 159 "StripesEffect.c"
}
-StripesEffectDescriptor* stripes_effect_descriptor_new (GFile* resource_directory) {
+StripesEffectDescriptor*
+stripes_effect_descriptor_new (GFile* resource_directory)
+{
#line 11 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return stripes_effect_descriptor_construct (TYPE_STRIPES_EFFECT_DESCRIPTOR, resource_directory);
-#line 145 "StripesEffect.c"
+#line 168 "StripesEffect.c"
}
-static const gchar* stripes_effect_descriptor_real_get_id (ShotwellTransitionDescriptor* base) {
+static const gchar*
+stripes_effect_descriptor_real_get_id (ShotwellTransitionDescriptor* base)
+{
StripesEffectDescriptor * self;
const gchar* result = NULL;
#line 15 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -154,11 +179,13 @@ static const gchar* stripes_effect_descriptor_real_get_id (ShotwellTransitionDes
result = "org.yorba.shotwell.transitions.stripes";
#line 16 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return result;
-#line 158 "StripesEffect.c"
+#line 183 "StripesEffect.c"
}
-static const gchar* stripes_effect_descriptor_real_get_pluggable_name (ShotwellTransitionDescriptor* base) {
+static const gchar*
+stripes_effect_descriptor_real_get_pluggable_name (ShotwellTransitionDescriptor* base)
+{
StripesEffectDescriptor * self;
const gchar* result = NULL;
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -167,11 +194,14 @@ static const gchar* stripes_effect_descriptor_real_get_pluggable_name (ShotwellT
result = _ ("Stripes");
#line 20 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return result;
-#line 171 "StripesEffect.c"
+#line 198 "StripesEffect.c"
}
-static SpitTransitionsEffect* stripes_effect_descriptor_real_create (ShotwellTransitionDescriptor* base, SpitHostInterface* host) {
+static SpitTransitionsEffect*
+stripes_effect_descriptor_real_create (ShotwellTransitionDescriptor* base,
+ SpitHostInterface* host)
+{
StripesEffectDescriptor * self;
SpitTransitionsEffect* result = NULL;
StripesEffect* _tmp0_;
@@ -185,11 +215,13 @@ static SpitTransitionsEffect* stripes_effect_descriptor_real_create (ShotwellTra
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TRANSITIONS_TYPE_EFFECT, SpitTransitionsEffect);
#line 24 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return result;
-#line 189 "StripesEffect.c"
+#line 219 "StripesEffect.c"
}
-static void stripes_effect_descriptor_class_init (StripesEffectDescriptorClass * klass) {
+static void
+stripes_effect_descriptor_class_init (StripesEffectDescriptorClass * klass)
+{
#line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
stripes_effect_descriptor_parent_class = g_type_class_peek_parent (klass);
#line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -198,15 +230,19 @@ static void stripes_effect_descriptor_class_init (StripesEffectDescriptorClass *
((ShotwellTransitionDescriptorClass *) klass)->get_pluggable_name = (const gchar* (*) (ShotwellTransitionDescriptor *)) stripes_effect_descriptor_real_get_pluggable_name;
#line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
((ShotwellTransitionDescriptorClass *) klass)->create = (SpitTransitionsEffect* (*) (ShotwellTransitionDescriptor *, SpitHostInterface*)) stripes_effect_descriptor_real_create;
-#line 202 "StripesEffect.c"
+#line 234 "StripesEffect.c"
}
-static void stripes_effect_descriptor_instance_init (StripesEffectDescriptor * self) {
+static void
+stripes_effect_descriptor_instance_init (StripesEffectDescriptor * self)
+{
}
-GType stripes_effect_descriptor_get_type (void) {
+GType
+stripes_effect_descriptor_get_type (void)
+{
static volatile gsize stripes_effect_descriptor_type_id__volatile = 0;
if (g_once_init_enter (&stripes_effect_descriptor_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (StripesEffectDescriptorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) stripes_effect_descriptor_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (StripesEffectDescriptor), 0, (GInstanceInitFunc) stripes_effect_descriptor_instance_init, NULL };
@@ -218,24 +254,32 @@ GType stripes_effect_descriptor_get_type (void) {
}
-StripesEffect* stripes_effect_construct (GType object_type) {
+StripesEffect*
+stripes_effect_construct (GType object_type)
+{
StripesEffect * self = NULL;
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = (StripesEffect*) g_object_new (object_type, NULL);
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return self;
-#line 228 "StripesEffect.c"
+#line 266 "StripesEffect.c"
}
-StripesEffect* stripes_effect_new (void) {
+StripesEffect*
+stripes_effect_new (void)
+{
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return stripes_effect_construct (TYPE_STRIPES_EFFECT);
-#line 235 "StripesEffect.c"
+#line 275 "StripesEffect.c"
}
-static void stripes_effect_real_get_fps (SpitTransitionsEffect* base, gint* desired_fps, gint* min_fps) {
+static void
+stripes_effect_real_get_fps (SpitTransitionsEffect* base,
+ gint* desired_fps,
+ gint* min_fps)
+{
StripesEffect * self;
gint _vala_desired_fps = 0;
gint _vala_min_fps = 0;
@@ -249,23 +293,26 @@ static void stripes_effect_real_get_fps (SpitTransitionsEffect* base, gint* desi
if (desired_fps) {
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
*desired_fps = _vala_desired_fps;
-#line 253 "StripesEffect.c"
+#line 297 "StripesEffect.c"
}
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
if (min_fps) {
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
*min_fps = _vala_min_fps;
-#line 259 "StripesEffect.c"
+#line 303 "StripesEffect.c"
}
}
-static void stripes_effect_real_start (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion) {
+static void
+stripes_effect_real_start (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion)
+{
StripesEffect * self;
- SpitTransitionsVisuals* _tmp0_;
- GdkRectangle _tmp1_ = {0};
- GdkRectangle _tmp2_;
- gint _tmp3_;
+ GdkRectangle _tmp0_ = {0};
+ GdkRectangle _tmp1_;
+ gint _tmp2_;
#line 42 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_STRIPES_EFFECT, StripesEffect);
#line 42 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -273,20 +320,20 @@ static void stripes_effect_real_start (SpitTransitionsEffect* base, SpitTransiti
#line 42 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (motion));
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp0_ = visuals;
-#line 43 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp0_, &_tmp1_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp0_);
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp2_ = _tmp1_;
+ _tmp1_ = _tmp0_;
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp3_ = _tmp2_.height;
+ _tmp2_ = _tmp1_.height;
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- self->priv->stripe_count = (_tmp3_ / STRIPES_EFFECT_STRIPE_HEIGHT) + 1;
-#line 286 "StripesEffect.c"
+ self->priv->stripe_count = (_tmp2_ / STRIPES_EFFECT_STRIPE_HEIGHT) + 1;
+#line 331 "StripesEffect.c"
}
-static gboolean stripes_effect_real_needs_clear_background (SpitTransitionsEffect* base) {
+static gboolean
+stripes_effect_real_needs_clear_background (SpitTransitionsEffect* base)
+{
StripesEffect * self;
gboolean result = FALSE;
#line 46 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -295,22 +342,25 @@ static gboolean stripes_effect_real_needs_clear_background (SpitTransitionsEffec
result = TRUE;
#line 47 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
return result;
-#line 299 "StripesEffect.c"
+#line 346 "StripesEffect.c"
}
-static void stripes_effect_real_paint (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number) {
+static void
+stripes_effect_real_paint (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number)
+{
StripesEffect * self;
gdouble alpha = 0.0;
- SpitTransitionsMotion* _tmp0_;
- gint _tmp1_;
- gdouble _tmp2_;
- SpitTransitionsVisuals* _tmp3_;
- GdkPixbuf* _tmp4_;
- GdkPixbuf* _tmp5_;
- SpitTransitionsVisuals* _tmp21_;
- GdkPixbuf* _tmp22_;
- GdkPixbuf* _tmp23_;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
+ GdkPixbuf* _tmp11_;
+ GdkPixbuf* _tmp12_;
#line 50 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_STRIPES_EFFECT, StripesEffect);
#line 50 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -320,313 +370,245 @@ static void stripes_effect_real_paint (SpitTransitionsEffect* base, SpitTransiti
#line 50 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
g_return_if_fail (ctx != NULL);
#line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp0_ = motion;
-#line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp1_ = frame_number;
-#line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp2_ = spit_transitions_motion_get_alpha (_tmp0_, _tmp1_);
-#line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- alpha = _tmp2_;
-#line 53 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp3_ = visuals;
+ alpha = spit_transitions_motion_get_alpha (motion, frame_number);
#line 53 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp4_ = spit_transitions_visuals_get_from_pixbuf (_tmp3_);
+ _tmp0_ = spit_transitions_visuals_get_from_pixbuf (visuals);
#line 53 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp5_ = _tmp4_;
+ _tmp1_ = _tmp0_;
#line 53 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- if (_tmp5_ != NULL) {
-#line 339 "StripesEffect.c"
- cairo_t* _tmp6_;
- SpitTransitionsVisuals* _tmp7_;
- GdkPixbuf* _tmp8_;
- GdkPixbuf* _tmp9_;
- SpitTransitionsVisuals* _tmp10_;
- GdkRectangle _tmp11_ = {0};
- GdkRectangle _tmp12_;
- gint _tmp13_;
- SpitTransitionsVisuals* _tmp14_;
- GdkRectangle _tmp15_ = {0};
- GdkRectangle _tmp16_;
- gint _tmp17_;
- cairo_t* _tmp18_;
- gdouble _tmp19_;
- gdouble _tmp20_;
+ if (_tmp1_ != NULL) {
+#line 381 "StripesEffect.c"
+ GdkPixbuf* _tmp2_;
+ GdkPixbuf* _tmp3_;
+ GdkRectangle _tmp4_ = {0};
+ GdkRectangle _tmp5_;
+ gint _tmp6_;
+ GdkRectangle _tmp7_ = {0};
+ GdkRectangle _tmp8_;
+ gint _tmp9_;
+ gdouble _tmp10_;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp6_ = ctx;
+ _tmp2_ = spit_transitions_visuals_get_from_pixbuf (visuals);
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp7_ = visuals;
+ _tmp3_ = _tmp2_;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp8_ = spit_transitions_visuals_get_from_pixbuf (_tmp7_);
+ spit_transitions_visuals_get_from_pos (visuals, &_tmp4_);
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp9_ = _tmp8_;
+ _tmp5_ = _tmp4_;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp10_ = visuals;
+ _tmp6_ = _tmp5_.x;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_from_pos (_tmp10_, &_tmp11_);
+ spit_transitions_visuals_get_from_pos (visuals, &_tmp7_);
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp12_ = _tmp11_;
+ _tmp8_ = _tmp7_;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp13_ = _tmp12_.x;
+ _tmp9_ = _tmp8_.y;
#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp14_ = visuals;
-#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_from_pos (_tmp14_, &_tmp15_);
-#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp16_ = _tmp15_;
-#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp17_ = _tmp16_.y;
-#line 54 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- gdk_cairo_set_source_pixbuf (_tmp6_, _tmp9_, (gdouble) _tmp13_, (gdouble) _tmp17_);
-#line 56 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp18_ = ctx;
+ gdk_cairo_set_source_pixbuf (ctx, _tmp3_, (gdouble) _tmp6_, (gdouble) _tmp9_);
#line 56 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp19_ = alpha;
+ _tmp10_ = alpha;
#line 56 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp20_ = fmin ((gdouble) 1, _tmp19_ * 2);
-#line 56 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- cairo_paint_with_alpha (_tmp18_, 1 - _tmp20_);
-#line 389 "StripesEffect.c"
+ cairo_paint_with_alpha (ctx, 1 - fmin ((gdouble) 1, _tmp10_ * 2));
+#line 413 "StripesEffect.c"
}
#line 59 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp21_ = visuals;
-#line 59 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp22_ = spit_transitions_visuals_get_to_pixbuf (_tmp21_);
+ _tmp11_ = spit_transitions_visuals_get_to_pixbuf (visuals);
#line 59 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp23_ = _tmp22_;
+ _tmp12_ = _tmp11_;
#line 59 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- if (_tmp23_ != NULL) {
-#line 399 "StripesEffect.c"
- cairo_t* _tmp24_;
- SpitTransitionsVisuals* _tmp25_;
- GdkPixbuf* _tmp26_;
- GdkPixbuf* _tmp27_;
- SpitTransitionsVisuals* _tmp28_;
- GdkRectangle _tmp29_ = {0};
- GdkRectangle _tmp30_;
- gint _tmp31_;
- SpitTransitionsVisuals* _tmp32_;
- GdkRectangle _tmp33_ = {0};
- GdkRectangle _tmp34_;
- gint _tmp35_;
+ if (_tmp12_ != NULL) {
+#line 421 "StripesEffect.c"
+ GdkPixbuf* _tmp13_;
+ GdkPixbuf* _tmp14_;
+ GdkRectangle _tmp15_ = {0};
+ GdkRectangle _tmp16_;
+ gint _tmp17_;
+ GdkRectangle _tmp18_ = {0};
+ GdkRectangle _tmp19_;
+ gint _tmp20_;
gint x = 0;
- SpitTransitionsVisuals* _tmp36_;
- GdkRectangle _tmp37_ = {0};
- GdkRectangle _tmp38_;
- gint _tmp39_;
+ GdkRectangle _tmp21_ = {0};
+ GdkRectangle _tmp22_;
+ gint _tmp23_;
gint y = 0;
- SpitTransitionsVisuals* _tmp40_;
- GdkRectangle _tmp41_ = {0};
- GdkRectangle _tmp42_;
- gint _tmp43_;
- cairo_t* _tmp79_;
- cairo_t* _tmp80_;
- gdouble _tmp81_;
-#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp24_ = ctx;
+ GdkRectangle _tmp24_ = {0};
+ GdkRectangle _tmp25_;
+ gint _tmp26_;
+ gdouble _tmp55_;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp25_ = visuals;
+ _tmp13_ = spit_transitions_visuals_get_to_pixbuf (visuals);
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp26_ = spit_transitions_visuals_get_to_pixbuf (_tmp25_);
+ _tmp14_ = _tmp13_;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp27_ = _tmp26_;
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp15_);
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp28_ = visuals;
-#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp28_, &_tmp29_);
-#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp30_ = _tmp29_;
-#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp31_ = _tmp30_.x;
+ _tmp16_ = _tmp15_;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp32_ = visuals;
+ _tmp17_ = _tmp16_.x;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp32_, &_tmp33_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp18_);
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp34_ = _tmp33_;
+ _tmp19_ = _tmp18_;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp35_ = _tmp34_.y;
+ _tmp20_ = _tmp19_.y;
#line 60 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- gdk_cairo_set_source_pixbuf (_tmp24_, _tmp27_, (gdouble) _tmp31_, (gdouble) _tmp35_);
-#line 61 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp36_ = visuals;
+ gdk_cairo_set_source_pixbuf (ctx, _tmp14_, (gdouble) _tmp17_, (gdouble) _tmp20_);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp36_, &_tmp37_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp21_);
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp38_ = _tmp37_;
+ _tmp22_ = _tmp21_;
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp39_ = _tmp38_.x;
+ _tmp23_ = _tmp22_.x;
#line 61 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- x = _tmp39_;
-#line 62 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp40_ = visuals;
+ x = _tmp23_;
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp40_, &_tmp41_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp24_);
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp42_ = _tmp41_;
+ _tmp25_ = _tmp24_;
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp43_ = _tmp42_.y;
+ _tmp26_ = _tmp25_.y;
#line 62 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- y = _tmp43_;
-#line 471 "StripesEffect.c"
+ y = _tmp26_;
+#line 473 "StripesEffect.c"
{
gint i = 0;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
i = 0;
-#line 476 "StripesEffect.c"
+#line 478 "StripesEffect.c"
{
- gboolean _tmp44_ = FALSE;
+ gboolean _tmp27_ = FALSE;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp44_ = TRUE;
+ _tmp27_ = TRUE;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
while (TRUE) {
-#line 483 "StripesEffect.c"
- gint _tmp46_;
- gint _tmp47_;
- gint _tmp48_;
- SpitTransitionsMotion* _tmp49_;
- SpitTransitionsDirection _tmp50_;
- SpitTransitionsDirection _tmp51_;
+#line 485 "StripesEffect.c"
+ gint _tmp29_;
+ gint _tmp30_;
+ gint _tmp31_;
+ SpitTransitionsDirection _tmp32_;
+ SpitTransitionsDirection _tmp33_;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- if (!_tmp44_) {
-#line 492 "StripesEffect.c"
- gint _tmp45_;
+ if (!_tmp27_) {
+#line 493 "StripesEffect.c"
+ gint _tmp28_;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp45_ = i;
+ _tmp28_ = i;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- i = _tmp45_ + 1;
-#line 498 "StripesEffect.c"
+ i = _tmp28_ + 1;
+#line 499 "StripesEffect.c"
}
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp44_ = FALSE;
+ _tmp27_ = FALSE;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp46_ = i;
+ _tmp29_ = i;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp47_ = self->priv->stripe_count;
+ _tmp30_ = self->priv->stripe_count;
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- if (!(_tmp46_ <= _tmp47_)) {
+ if (!(_tmp29_ <= _tmp30_)) {
#line 63 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
break;
-#line 510 "StripesEffect.c"
+#line 511 "StripesEffect.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp48_ = i;
+ _tmp31_ = i;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp49_ = motion;
+ _tmp32_ = spit_transitions_motion_get_direction (motion);
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp50_ = spit_transitions_motion_get_direction (_tmp49_);
+ _tmp33_ = _tmp32_;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp51_ = _tmp50_;
-#line 64 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- if ((_tmp48_ % 2) == ((gint) _tmp51_)) {
-#line 522 "StripesEffect.c"
- cairo_t* _tmp52_;
- gint _tmp53_;
- SpitTransitionsVisuals* _tmp54_;
- GdkRectangle _tmp55_ = {0};
- GdkRectangle _tmp56_;
- gint _tmp57_;
- gdouble _tmp58_;
- SpitTransitionsVisuals* _tmp59_;
- GdkRectangle _tmp60_ = {0};
- GdkRectangle _tmp61_;
- gint _tmp62_;
- gint _tmp63_;
- gint _tmp64_;
- gint _tmp65_;
- SpitTransitionsVisuals* _tmp66_;
- GdkRectangle _tmp67_ = {0};
- GdkRectangle _tmp68_;
- gint _tmp69_;
-#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp52_ = ctx;
-#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp53_ = x;
-#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp54_ = visuals;
-#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp54_, &_tmp55_);
+ if ((_tmp31_ % 2) == ((gint) _tmp33_)) {
+#line 521 "StripesEffect.c"
+ gint _tmp34_;
+ GdkRectangle _tmp35_ = {0};
+ GdkRectangle _tmp36_;
+ gint _tmp37_;
+ gdouble _tmp38_;
+ GdkRectangle _tmp39_ = {0};
+ GdkRectangle _tmp40_;
+ gint _tmp41_;
+ gint _tmp42_;
+ gint _tmp43_;
+ gint _tmp44_;
+ GdkRectangle _tmp45_ = {0};
+ GdkRectangle _tmp46_;
+ gint _tmp47_;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp56_ = _tmp55_;
+ _tmp34_ = x;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp57_ = _tmp56_.width;
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp35_);
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp58_ = alpha;
+ _tmp36_ = _tmp35_;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp59_ = visuals;
+ _tmp37_ = _tmp36_.width;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp59_, &_tmp60_);
+ _tmp38_ = alpha;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp61_ = _tmp60_;
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp39_);
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp62_ = _tmp61_.width;
+ _tmp40_ = _tmp39_;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp63_ = y;
+ _tmp41_ = _tmp40_.width;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp64_ = i;
+ _tmp42_ = y;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp65_ = x;
+ _tmp43_ = i;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp66_ = visuals;
+ _tmp44_ = x;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp66_, &_tmp67_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp45_);
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp68_ = _tmp67_;
+ _tmp46_ = _tmp45_;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp69_ = _tmp68_.width;
+ _tmp47_ = _tmp46_.width;
#line 65 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- cairo_rectangle (_tmp52_, (_tmp53_ + _tmp57_) - (_tmp58_ * _tmp62_), (gdouble) (_tmp63_ + (_tmp64_ * STRIPES_EFFECT_STRIPE_HEIGHT)), (gdouble) (_tmp65_ + _tmp69_), (gdouble) STRIPES_EFFECT_STRIPE_HEIGHT);
-#line 579 "StripesEffect.c"
+ cairo_rectangle (ctx, (_tmp34_ + _tmp37_) - (_tmp38_ * _tmp41_), (gdouble) (_tmp42_ + (_tmp43_ * STRIPES_EFFECT_STRIPE_HEIGHT)), (gdouble) (_tmp44_ + _tmp47_), (gdouble) STRIPES_EFFECT_STRIPE_HEIGHT);
+#line 566 "StripesEffect.c"
} else {
- cairo_t* _tmp70_;
- gint _tmp71_;
- gint _tmp72_;
- gint _tmp73_;
- SpitTransitionsVisuals* _tmp74_;
- GdkRectangle _tmp75_ = {0};
- GdkRectangle _tmp76_;
- gint _tmp77_;
- gdouble _tmp78_;
-#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp70_ = ctx;
-#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp71_ = x;
+ gint _tmp48_;
+ gint _tmp49_;
+ gint _tmp50_;
+ GdkRectangle _tmp51_ = {0};
+ GdkRectangle _tmp52_;
+ gint _tmp53_;
+ gdouble _tmp54_;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp72_ = y;
+ _tmp48_ = x;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp73_ = i;
+ _tmp49_ = y;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp74_ = visuals;
+ _tmp50_ = i;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- spit_transitions_visuals_get_to_pos (_tmp74_, &_tmp75_);
+ spit_transitions_visuals_get_to_pos (visuals, &_tmp51_);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp76_ = _tmp75_;
+ _tmp52_ = _tmp51_;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp77_ = _tmp76_.width;
+ _tmp53_ = _tmp52_.width;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp78_ = alpha;
+ _tmp54_ = alpha;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- cairo_rectangle (_tmp70_, (gdouble) _tmp71_, (gdouble) (_tmp72_ + (STRIPES_EFFECT_STRIPE_HEIGHT * _tmp73_)), _tmp77_ * _tmp78_, (gdouble) STRIPES_EFFECT_STRIPE_HEIGHT);
-#line 610 "StripesEffect.c"
+ cairo_rectangle (ctx, (gdouble) _tmp48_, (gdouble) (_tmp49_ + (STRIPES_EFFECT_STRIPE_HEIGHT * _tmp50_)), _tmp53_ * _tmp54_, (gdouble) STRIPES_EFFECT_STRIPE_HEIGHT);
+#line 591 "StripesEffect.c"
}
}
}
}
#line 73 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp79_ = ctx;
-#line 73 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- cairo_clip (_tmp79_);
-#line 74 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp80_ = ctx;
+ cairo_clip (ctx);
#line 74 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- _tmp81_ = alpha;
+ _tmp55_ = alpha;
#line 74 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
- cairo_paint_with_alpha (_tmp80_, _tmp81_);
-#line 625 "StripesEffect.c"
+ cairo_paint_with_alpha (ctx, _tmp55_);
+#line 602 "StripesEffect.c"
}
}
-static void stripes_effect_real_advance (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number) {
+static void
+stripes_effect_real_advance (SpitTransitionsEffect* base,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number)
+{
StripesEffect * self;
#line 78 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_STRIPES_EFFECT, StripesEffect);
@@ -634,30 +616,36 @@ static void stripes_effect_real_advance (SpitTransitionsEffect* base, SpitTransi
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (visuals));
#line 78 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (motion));
-#line 638 "StripesEffect.c"
+#line 620 "StripesEffect.c"
}
-static void stripes_effect_real_cancel (SpitTransitionsEffect* base) {
+static void
+stripes_effect_real_cancel (SpitTransitionsEffect* base)
+{
StripesEffect * self;
#line 81 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_STRIPES_EFFECT, StripesEffect);
-#line 646 "StripesEffect.c"
+#line 630 "StripesEffect.c"
}
-static void stripes_effect_class_init (StripesEffectClass * klass) {
+static void
+stripes_effect_class_init (StripesEffectClass * klass)
+{
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
stripes_effect_parent_class = g_type_class_peek_parent (klass);
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
g_type_class_add_private (klass, sizeof (StripesEffectPrivate));
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
G_OBJECT_CLASS (klass)->finalize = stripes_effect_finalize;
-#line 657 "StripesEffect.c"
+#line 643 "StripesEffect.c"
}
-static void stripes_effect_spit_transitions_effect_interface_init (SpitTransitionsEffectIface * iface) {
+static void
+stripes_effect_spit_transitions_effect_interface_init (SpitTransitionsEffectIface * iface)
+{
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
stripes_effect_spit_transitions_effect_parent_iface = g_type_interface_peek_parent (iface);
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
@@ -672,28 +660,34 @@ static void stripes_effect_spit_transitions_effect_interface_init (SpitTransitio
iface->advance = (void (*) (SpitTransitionsEffect *, SpitTransitionsVisuals*, SpitTransitionsMotion*, gint)) stripes_effect_real_advance;
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
iface->cancel = (void (*) (SpitTransitionsEffect *)) stripes_effect_real_cancel;
-#line 676 "StripesEffect.c"
+#line 664 "StripesEffect.c"
}
-static void stripes_effect_instance_init (StripesEffect * self) {
+static void
+stripes_effect_instance_init (StripesEffect * self)
+{
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self->priv = STRIPES_EFFECT_GET_PRIVATE (self);
-#line 683 "StripesEffect.c"
+#line 673 "StripesEffect.c"
}
-static void stripes_effect_finalize (GObject * obj) {
+static void
+stripes_effect_finalize (GObject * obj)
+{
StripesEffect * self;
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_STRIPES_EFFECT, StripesEffect);
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/StripesEffect.vala"
G_OBJECT_CLASS (stripes_effect_parent_class)->finalize (obj);
-#line 693 "StripesEffect.c"
+#line 685 "StripesEffect.c"
}
-GType stripes_effect_get_type (void) {
+GType
+stripes_effect_get_type (void)
+{
static volatile gsize stripes_effect_type_id__volatile = 0;
if (g_once_init_enter (&stripes_effect_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (StripesEffectClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) stripes_effect_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (StripesEffect), 0, (GInstanceInitFunc) stripes_effect_instance_init, NULL };