diff options
Diffstat (limited to 'plugins/shotwell-transitions/BlindsEffect.c')
-rw-r--r-- | plugins/shotwell-transitions/BlindsEffect.c | 285 |
1 files changed, 141 insertions, 144 deletions
diff --git a/plugins/shotwell-transitions/BlindsEffect.c b/plugins/shotwell-transitions/BlindsEffect.c index 516eefc..20733f9 100644 --- a/plugins/shotwell-transitions/BlindsEffect.c +++ b/plugins/shotwell-transitions/BlindsEffect.c @@ -1,4 +1,4 @@ -/* BlindsEffect.c generated by valac 0.34.7, the Vala compiler +/* BlindsEffect.c generated by valac 0.36.6, the Vala compiler * generated from BlindsEffect.vala, do not modify */ /* Copyright 2013 Jens Bav @@ -98,7 +98,7 @@ struct _BlindsEffectPrivate { static gpointer blinds_effect_descriptor_parent_class = NULL; static gpointer blinds_effect_parent_class = NULL; -static SpitTransitionsEffectIface* blinds_effect_spit_transitions_effect_parent_iface = NULL; +static SpitTransitionsEffectIface * blinds_effect_spit_transitions_effect_parent_iface = NULL; GType shotwell_transition_descriptor_get_type (void) G_GNUC_CONST; GType blinds_effect_descriptor_get_type (void) G_GNUC_CONST; @@ -127,14 +127,14 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number); static void blinds_effect_real_advance (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number); static void blinds_effect_real_cancel (SpitTransitionsEffect* base); -static void blinds_effect_finalize (GObject* obj); +static void blinds_effect_finalize (GObject * obj); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); BlindsEffectDescriptor* blinds_effect_descriptor_construct (GType object_type, GFile* resource_directory) { BlindsEffectDescriptor * self = NULL; - GFile* _tmp0_ = NULL; + GFile* _tmp0_; #line 11 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" g_return_val_if_fail (G_IS_FILE (resource_directory), NULL); #line 12 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -170,23 +170,20 @@ static const gchar* blinds_effect_descriptor_real_get_id (ShotwellTransitionDesc static const gchar* blinds_effect_descriptor_real_get_pluggable_name (ShotwellTransitionDescriptor* base) { BlindsEffectDescriptor * self; const gchar* result = NULL; - const gchar* _tmp0_ = NULL; #line 19 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BLINDS_EFFECT_DESCRIPTOR, BlindsEffectDescriptor); #line 20 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - _tmp0_ = _ ("Blinds"); -#line 20 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - result = _tmp0_; + result = _ ("Blinds"); #line 20 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" return result; -#line 183 "BlindsEffect.c" +#line 180 "BlindsEffect.c" } static SpitTransitionsEffect* blinds_effect_descriptor_real_create (ShotwellTransitionDescriptor* base, SpitHostInterface* host) { BlindsEffectDescriptor * self; SpitTransitionsEffect* result = NULL; - BlindsEffect* _tmp0_ = NULL; + BlindsEffect* _tmp0_; #line 23 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BLINDS_EFFECT_DESCRIPTOR, BlindsEffectDescriptor); #line 23 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -197,7 +194,7 @@ static SpitTransitionsEffect* blinds_effect_descriptor_real_create (ShotwellTran result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TRANSITIONS_TYPE_EFFECT, SpitTransitionsEffect); #line 24 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" return result; -#line 201 "BlindsEffect.c" +#line 198 "BlindsEffect.c" } @@ -205,12 +202,12 @@ static void blinds_effect_descriptor_class_init (BlindsEffectDescriptorClass * k #line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" blinds_effect_descriptor_parent_class = g_type_class_peek_parent (klass); #line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - ((ShotwellTransitionDescriptorClass *) klass)->get_id = (const gchar* (*)(ShotwellTransitionDescriptor*)) blinds_effect_descriptor_real_get_id; + ((ShotwellTransitionDescriptorClass *) klass)->get_id = (const gchar* (*) (ShotwellTransitionDescriptor *)) blinds_effect_descriptor_real_get_id; #line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - ((ShotwellTransitionDescriptorClass *) klass)->get_pluggable_name = (const gchar* (*)(ShotwellTransitionDescriptor*)) blinds_effect_descriptor_real_get_pluggable_name; + ((ShotwellTransitionDescriptorClass *) klass)->get_pluggable_name = (const gchar* (*) (ShotwellTransitionDescriptor *)) blinds_effect_descriptor_real_get_pluggable_name; #line 10 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - ((ShotwellTransitionDescriptorClass *) klass)->create = (SpitTransitionsEffect* (*)(ShotwellTransitionDescriptor*, SpitHostInterface*)) blinds_effect_descriptor_real_create; -#line 214 "BlindsEffect.c" + ((ShotwellTransitionDescriptorClass *) klass)->create = (SpitTransitionsEffect* (*) (ShotwellTransitionDescriptor *, SpitHostInterface*)) blinds_effect_descriptor_real_create; +#line 211 "BlindsEffect.c" } @@ -236,14 +233,14 @@ BlindsEffect* blinds_effect_construct (GType object_type) { self = (BlindsEffect*) g_object_new (object_type, NULL); #line 38 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" return self; -#line 240 "BlindsEffect.c" +#line 237 "BlindsEffect.c" } BlindsEffect* blinds_effect_new (void) { #line 38 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" return blinds_effect_construct (TYPE_BLINDS_EFFECT); -#line 247 "BlindsEffect.c" +#line 244 "BlindsEffect.c" } @@ -261,13 +258,13 @@ static void blinds_effect_real_get_fps (SpitTransitionsEffect* base, gint* desir if (desired_fps) { #line 41 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" *desired_fps = _vala_desired_fps; -#line 265 "BlindsEffect.c" +#line 262 "BlindsEffect.c" } #line 41 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" if (min_fps) { #line 41 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" *min_fps = _vala_min_fps; -#line 271 "BlindsEffect.c" +#line 268 "BlindsEffect.c" } } @@ -281,15 +278,15 @@ static gboolean blinds_effect_real_needs_clear_background (SpitTransitionsEffect result = TRUE; #line 47 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" return result; -#line 285 "BlindsEffect.c" +#line 282 "BlindsEffect.c" } static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion) { BlindsEffect * self; - SpitTransitionsVisuals* _tmp0_ = NULL; - GdkPixbuf* _tmp1_ = NULL; - GdkPixbuf* _tmp2_ = NULL; + SpitTransitionsVisuals* _tmp0_; + GdkPixbuf* _tmp1_; + GdkPixbuf* _tmp2_; #line 50 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BLINDS_EFFECT, BlindsEffect); #line 50 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -304,21 +301,21 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio _tmp2_ = _tmp1_; #line 51 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" if (_tmp2_ != NULL) { -#line 308 "BlindsEffect.c" - SpitTransitionsVisuals* _tmp3_ = NULL; - GdkPixbuf* _tmp4_ = NULL; - GdkPixbuf* _tmp5_ = NULL; - gint _tmp6_ = 0; - gint _tmp7_ = 0; - SpitTransitionsVisuals* _tmp8_ = NULL; - GdkPixbuf* _tmp9_ = NULL; - GdkPixbuf* _tmp10_ = NULL; - gint _tmp11_ = 0; - gint _tmp12_ = 0; - gint _tmp13_ = 0; - gdouble _tmp14_ = 0.0; - gint _tmp15_ = 0; - cairo_surface_t** _tmp16_ = NULL; +#line 305 "BlindsEffect.c" + SpitTransitionsVisuals* _tmp3_; + GdkPixbuf* _tmp4_; + GdkPixbuf* _tmp5_; + gint _tmp6_; + gint _tmp7_; + SpitTransitionsVisuals* _tmp8_; + GdkPixbuf* _tmp9_; + GdkPixbuf* _tmp10_; + gint _tmp11_; + gint _tmp12_; + gint _tmp13_; + gdouble _tmp14_; + gint _tmp15_; + cairo_surface_t** _tmp16_; #line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp3_ = visuals; #line 52 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -359,54 +356,54 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio self->priv->to_blinds_length1 = _tmp15_; #line 56 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self->priv->_to_blinds_size_ = self->priv->to_blinds_length1; -#line 363 "BlindsEffect.c" +#line 360 "BlindsEffect.c" { gint i = 0; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" i = 0; -#line 368 "BlindsEffect.c" +#line 365 "BlindsEffect.c" { gboolean _tmp17_ = FALSE; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp17_ = TRUE; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" while (TRUE) { -#line 375 "BlindsEffect.c" - gint _tmp19_ = 0; - gint _tmp20_ = 0; - cairo_surface_t** _tmp21_ = NULL; - gint _tmp21__length1 = 0; - gint _tmp22_ = 0; - gint _tmp23_ = 0; - SpitTransitionsVisuals* _tmp24_ = NULL; - GdkPixbuf* _tmp25_ = NULL; - GdkPixbuf* _tmp26_ = NULL; - gint _tmp27_ = 0; - gint _tmp28_ = 0; - cairo_surface_t* _tmp29_ = NULL; - cairo_surface_t* _tmp30_ = NULL; +#line 372 "BlindsEffect.c" + gint _tmp19_; + gint _tmp20_; + cairo_surface_t** _tmp21_; + gint _tmp21__length1; + gint _tmp22_; + gint _tmp23_; + SpitTransitionsVisuals* _tmp24_; + GdkPixbuf* _tmp25_; + GdkPixbuf* _tmp26_; + gint _tmp27_; + gint _tmp28_; + cairo_surface_t* _tmp29_; + cairo_surface_t* _tmp30_; cairo_t* ctx = NULL; - cairo_surface_t** _tmp31_ = NULL; - gint _tmp31__length1 = 0; - gint _tmp32_ = 0; - cairo_surface_t* _tmp33_ = NULL; - cairo_t* _tmp34_ = NULL; - cairo_t* _tmp35_ = NULL; - SpitTransitionsVisuals* _tmp36_ = NULL; - GdkPixbuf* _tmp37_ = NULL; - GdkPixbuf* _tmp38_ = NULL; - gint _tmp39_ = 0; - gint _tmp40_ = 0; - cairo_t* _tmp41_ = NULL; + cairo_surface_t** _tmp31_; + gint _tmp31__length1; + gint _tmp32_; + cairo_surface_t* _tmp33_; + cairo_t* _tmp34_; + cairo_t* _tmp35_; + SpitTransitionsVisuals* _tmp36_; + GdkPixbuf* _tmp37_; + GdkPixbuf* _tmp38_; + gint _tmp39_; + gint _tmp40_; + cairo_t* _tmp41_; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" if (!_tmp17_) { -#line 404 "BlindsEffect.c" - gint _tmp18_ = 0; +#line 401 "BlindsEffect.c" + gint _tmp18_; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp18_ = i; #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" i = _tmp18_ + 1; -#line 410 "BlindsEffect.c" +#line 407 "BlindsEffect.c" } #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp17_ = FALSE; @@ -418,7 +415,7 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio if (!(_tmp19_ < _tmp20_)) { #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" break; -#line 422 "BlindsEffect.c" +#line 419 "BlindsEffect.c" } #line 59 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp21_ = self->priv->to_blinds; @@ -478,7 +475,7 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio cairo_paint (_tmp41_); #line 58 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _cairo_destroy0 (ctx); -#line 482 "BlindsEffect.c" +#line 479 "BlindsEffect.c" } } } @@ -489,24 +486,24 @@ static void blinds_effect_real_start (SpitTransitionsEffect* base, SpitTransitio static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number) { BlindsEffect * self; gdouble alpha = 0.0; - SpitTransitionsMotion* _tmp0_ = NULL; - gint _tmp1_ = 0; - gdouble _tmp2_ = 0.0; + SpitTransitionsMotion* _tmp0_; + gint _tmp1_; + gdouble _tmp2_; gint y = 0; - SpitTransitionsVisuals* _tmp3_ = NULL; + SpitTransitionsVisuals* _tmp3_; GdkRectangle _tmp4_ = {0}; - GdkRectangle _tmp5_ = {0}; - gint _tmp6_ = 0; + GdkRectangle _tmp5_; + gint _tmp6_; gint x = 0; - SpitTransitionsVisuals* _tmp7_ = NULL; + SpitTransitionsVisuals* _tmp7_; GdkRectangle _tmp8_ = {0}; - GdkRectangle _tmp9_ = {0}; - gint _tmp10_ = 0; - SpitTransitionsVisuals* _tmp11_ = NULL; - GdkPixbuf* _tmp12_ = NULL; - GdkPixbuf* _tmp13_ = NULL; - cairo_t* _tmp53_ = NULL; - cairo_t* _tmp54_ = NULL; + GdkRectangle _tmp9_; + gint _tmp10_; + SpitTransitionsVisuals* _tmp11_; + GdkPixbuf* _tmp12_; + GdkPixbuf* _tmp13_; + cairo_t* _tmp53_; + cairo_t* _tmp54_; #line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BLINDS_EFFECT, BlindsEffect); #line 68 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -551,21 +548,21 @@ static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitio _tmp13_ = _tmp12_; #line 74 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" if (_tmp13_ != NULL) { -#line 555 "BlindsEffect.c" - cairo_t* _tmp14_ = NULL; - SpitTransitionsVisuals* _tmp15_ = NULL; - GdkPixbuf* _tmp16_ = NULL; - GdkPixbuf* _tmp17_ = NULL; - SpitTransitionsVisuals* _tmp18_ = NULL; +#line 552 "BlindsEffect.c" + cairo_t* _tmp14_; + SpitTransitionsVisuals* _tmp15_; + GdkPixbuf* _tmp16_; + GdkPixbuf* _tmp17_; + SpitTransitionsVisuals* _tmp18_; GdkRectangle _tmp19_ = {0}; - GdkRectangle _tmp20_ = {0}; - gint _tmp21_ = 0; - SpitTransitionsVisuals* _tmp22_ = NULL; + GdkRectangle _tmp20_; + gint _tmp21_; + SpitTransitionsVisuals* _tmp22_; GdkRectangle _tmp23_ = {0}; - GdkRectangle _tmp24_ = {0}; - gint _tmp25_ = 0; - cairo_t* _tmp26_ = NULL; - gdouble _tmp27_ = 0.0; + GdkRectangle _tmp24_; + gint _tmp25_; + cairo_t* _tmp26_; + gdouble _tmp27_; #line 75 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp14_ = ctx; #line 75 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" @@ -598,53 +595,53 @@ static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitio _tmp27_ = alpha; #line 77 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" cairo_paint_with_alpha (_tmp26_, 1 - (_tmp27_ * 2)); -#line 602 "BlindsEffect.c" +#line 599 "BlindsEffect.c" } { gint i = 0; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" i = 0; -#line 608 "BlindsEffect.c" +#line 605 "BlindsEffect.c" { gboolean _tmp28_ = FALSE; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp28_ = TRUE; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" while (TRUE) { -#line 615 "BlindsEffect.c" - gint _tmp30_ = 0; - gint _tmp31_ = 0; - cairo_t* _tmp32_ = NULL; - cairo_surface_t** _tmp33_ = NULL; - gint _tmp33__length1 = 0; - gint _tmp34_ = 0; - cairo_surface_t* _tmp35_ = NULL; - gint _tmp36_ = 0; - gint _tmp37_ = 0; - gint _tmp38_ = 0; - gint _tmp39_ = 0; - cairo_t* _tmp40_ = NULL; - gint _tmp41_ = 0; - gint _tmp42_ = 0; - gint _tmp43_ = 0; - gint _tmp44_ = 0; - gint _tmp45_ = 0; - gdouble _tmp46_ = 0.0; - SpitTransitionsVisuals* _tmp47_ = NULL; - GdkPixbuf* _tmp48_ = NULL; - GdkPixbuf* _tmp49_ = NULL; - gint _tmp50_ = 0; - gint _tmp51_ = 0; - cairo_t* _tmp52_ = NULL; +#line 612 "BlindsEffect.c" + gint _tmp30_; + gint _tmp31_; + cairo_t* _tmp32_; + cairo_surface_t** _tmp33_; + gint _tmp33__length1; + gint _tmp34_; + cairo_surface_t* _tmp35_; + gint _tmp36_; + gint _tmp37_; + gint _tmp38_; + gint _tmp39_; + cairo_t* _tmp40_; + gint _tmp41_; + gint _tmp42_; + gint _tmp43_; + gint _tmp44_; + gint _tmp45_; + gdouble _tmp46_; + SpitTransitionsVisuals* _tmp47_; + GdkPixbuf* _tmp48_; + GdkPixbuf* _tmp49_; + gint _tmp50_; + gint _tmp51_; + cairo_t* _tmp52_; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" if (!_tmp28_) { -#line 642 "BlindsEffect.c" - gint _tmp29_ = 0; +#line 639 "BlindsEffect.c" + gint _tmp29_; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp29_ = i; #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" i = _tmp29_ + 1; -#line 648 "BlindsEffect.c" +#line 645 "BlindsEffect.c" } #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp28_ = FALSE; @@ -656,7 +653,7 @@ static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitio if (!(_tmp30_ < _tmp31_)) { #line 80 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" break; -#line 660 "BlindsEffect.c" +#line 657 "BlindsEffect.c" } #line 81 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" _tmp32_ = ctx; @@ -708,7 +705,7 @@ static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitio _tmp52_ = ctx; #line 84 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" cairo_fill (_tmp52_); -#line 712 "BlindsEffect.c" +#line 709 "BlindsEffect.c" } } } @@ -720,7 +717,7 @@ static void blinds_effect_real_paint (SpitTransitionsEffect* base, SpitTransitio _tmp54_ = ctx; #line 88 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" cairo_paint (_tmp54_); -#line 724 "BlindsEffect.c" +#line 721 "BlindsEffect.c" } @@ -732,7 +729,7 @@ static void blinds_effect_real_advance (SpitTransitionsEffect* base, SpitTransit g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (visuals)); #line 91 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (motion)); -#line 736 "BlindsEffect.c" +#line 733 "BlindsEffect.c" } @@ -740,7 +737,7 @@ static void blinds_effect_real_cancel (SpitTransitionsEffect* base) { BlindsEffect * self; #line 94 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_BLINDS_EFFECT, BlindsEffect); -#line 744 "BlindsEffect.c" +#line 741 "BlindsEffect.c" } @@ -751,7 +748,7 @@ static void blinds_effect_class_init (BlindsEffectClass * klass) { g_type_class_add_private (klass, sizeof (BlindsEffectPrivate)); #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" G_OBJECT_CLASS (klass)->finalize = blinds_effect_finalize; -#line 755 "BlindsEffect.c" +#line 752 "BlindsEffect.c" } @@ -759,29 +756,29 @@ static void blinds_effect_spit_transitions_effect_interface_init (SpitTransition #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" blinds_effect_spit_transitions_effect_parent_iface = g_type_interface_peek_parent (iface); #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->get_fps = (void (*)(SpitTransitionsEffect*, gint*, gint*)) blinds_effect_real_get_fps; + iface->get_fps = (void (*) (SpitTransitionsEffect *, gint*, gint*)) blinds_effect_real_get_fps; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->needs_clear_background = (gboolean (*)(SpitTransitionsEffect*)) blinds_effect_real_needs_clear_background; + iface->needs_clear_background = (gboolean (*) (SpitTransitionsEffect *)) blinds_effect_real_needs_clear_background; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->start = (void (*)(SpitTransitionsEffect*, SpitTransitionsVisuals*, SpitTransitionsMotion*)) blinds_effect_real_start; + iface->start = (void (*) (SpitTransitionsEffect *, SpitTransitionsVisuals*, SpitTransitionsMotion*)) blinds_effect_real_start; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->paint = (void (*)(SpitTransitionsEffect*, SpitTransitionsVisuals*, SpitTransitionsMotion*, cairo_t*, gint, gint, gint)) blinds_effect_real_paint; + iface->paint = (void (*) (SpitTransitionsEffect *, SpitTransitionsVisuals*, SpitTransitionsMotion*, cairo_t*, gint, gint, gint)) blinds_effect_real_paint; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->advance = (void (*)(SpitTransitionsEffect*, SpitTransitionsVisuals*, SpitTransitionsMotion*, gint)) blinds_effect_real_advance; + iface->advance = (void (*) (SpitTransitionsEffect *, SpitTransitionsVisuals*, SpitTransitionsMotion*, gint)) blinds_effect_real_advance; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" - iface->cancel = (void (*)(SpitTransitionsEffect*)) blinds_effect_real_cancel; -#line 774 "BlindsEffect.c" + iface->cancel = (void (*) (SpitTransitionsEffect *)) blinds_effect_real_cancel; +#line 771 "BlindsEffect.c" } static void blinds_effect_instance_init (BlindsEffect * self) { #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self->priv = BLINDS_EFFECT_GET_PRIVATE (self); -#line 781 "BlindsEffect.c" +#line 778 "BlindsEffect.c" } -static void blinds_effect_finalize (GObject* obj) { +static void blinds_effect_finalize (GObject * obj) { BlindsEffect * self; #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_BLINDS_EFFECT, BlindsEffect); @@ -789,7 +786,7 @@ static void blinds_effect_finalize (GObject* obj) { self->priv->to_blinds = (_vala_array_free (self->priv->to_blinds, self->priv->to_blinds_length1, (GDestroyNotify) cairo_surface_destroy), NULL); #line 28 "/home/jens/Source/shotwell/plugins/shotwell-transitions/BlindsEffect.vala" G_OBJECT_CLASS (blinds_effect_parent_class)->finalize (obj); -#line 793 "BlindsEffect.c" +#line 790 "BlindsEffect.c" } |