summaryrefslogtreecommitdiff
path: root/src/Orientation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Orientation.c')
-rw-r--r--src/Orientation.c420
1 files changed, 210 insertions, 210 deletions
diff --git a/src/Orientation.c b/src/Orientation.c
index eb6a450..87ca64c 100644
--- a/src/Orientation.c
+++ b/src/Orientation.c
@@ -1,4 +1,4 @@
-/* Orientation.c generated by valac 0.34.7, the Vala compiler
+/* Orientation.c generated by valac 0.36.6, the Vala compiler
* generated from Orientation.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -102,7 +102,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_TOP_LEFT:
#line 104 "Orientation.c"
{
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 22 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = g_strdup ("top-left");
#line 22 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -115,7 +115,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_TOP_RIGHT:
#line 117 "Orientation.c"
{
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
#line 25 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp1_ = g_strdup ("top-right");
#line 25 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -128,7 +128,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_BOTTOM_RIGHT:
#line 130 "Orientation.c"
{
- gchar* _tmp2_ = NULL;
+ gchar* _tmp2_;
#line 28 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = g_strdup ("bottom-right");
#line 28 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -141,7 +141,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_BOTTOM_LEFT:
#line 143 "Orientation.c"
{
- gchar* _tmp3_ = NULL;
+ gchar* _tmp3_;
#line 31 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp3_ = g_strdup ("bottom-left");
#line 31 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -154,7 +154,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_LEFT_TOP:
#line 156 "Orientation.c"
{
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 34 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp4_ = g_strdup ("left-top");
#line 34 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -167,7 +167,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_RIGHT_TOP:
#line 169 "Orientation.c"
{
- gchar* _tmp5_ = NULL;
+ gchar* _tmp5_;
#line 37 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp5_ = g_strdup ("right-top");
#line 37 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -180,7 +180,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_RIGHT_BOTTOM:
#line 182 "Orientation.c"
{
- gchar* _tmp6_ = NULL;
+ gchar* _tmp6_;
#line 40 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp6_ = g_strdup ("right-bottom");
#line 40 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -193,7 +193,7 @@ gchar* orientation_to_string (Orientation self) {
case ORIENTATION_LEFT_BOTTOM:
#line 195 "Orientation.c"
{
- gchar* _tmp7_ = NULL;
+ gchar* _tmp7_;
#line 43 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp7_ = g_strdup ("left-bottom");
#line 43 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -204,7 +204,7 @@ gchar* orientation_to_string (Orientation self) {
}
default:
{
- gchar* _tmp8_ = NULL;
+ gchar* _tmp8_;
#line 46 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp8_ = g_strdup_printf ("unknown orientation %d", (gint) self);
#line 46 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -595,7 +595,7 @@ Orientation orientation_flip_left_to_right (Orientation self) {
Orientation orientation_perform (Orientation self, Rotation rotation) {
Orientation result = 0;
- Rotation _tmp0_ = 0;
+ Rotation _tmp0_;
#line 175 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = rotation;
#line 175 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -604,7 +604,7 @@ Orientation orientation_perform (Orientation self, Rotation rotation) {
case ROTATION_CLOCKWISE:
#line 606 "Orientation.c"
{
- Orientation _tmp1_ = 0;
+ Orientation _tmp1_;
#line 177 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp1_ = orientation_rotate_clockwise (self);
#line 177 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -617,7 +617,7 @@ Orientation orientation_perform (Orientation self, Rotation rotation) {
case ROTATION_COUNTERCLOCKWISE:
#line 619 "Orientation.c"
{
- Orientation _tmp2_ = 0;
+ Orientation _tmp2_;
#line 180 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = orientation_rotate_counterclockwise (self);
#line 180 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -630,7 +630,7 @@ Orientation orientation_perform (Orientation self, Rotation rotation) {
case ROTATION_MIRROR:
#line 632 "Orientation.c"
{
- Orientation _tmp3_ = 0;
+ Orientation _tmp3_;
#line 183 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp3_ = orientation_flip_left_to_right (self);
#line 183 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -643,7 +643,7 @@ Orientation orientation_perform (Orientation self, Rotation rotation) {
case ROTATION_UPSIDE_DOWN:
#line 645 "Orientation.c"
{
- Orientation _tmp4_ = 0;
+ Orientation _tmp4_;
#line 186 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp4_ = orientation_flip_top_to_bottom (self);
#line 186 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -654,7 +654,7 @@ Orientation orientation_perform (Orientation self, Rotation rotation) {
}
default:
{
- Rotation _tmp5_ = 0;
+ Rotation _tmp5_;
#line 189 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp5_ = rotation;
#line 189 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -673,9 +673,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_TOP_LEFT:
#line 675 "Orientation.c"
{
- Rotation* _tmp0_ = NULL;
- Rotation* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ Rotation* _tmp0_;
+ Rotation* _tmp1_;
+ gint _tmp1__length1;
#line 197 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = g_new0 (Rotation, 0);
#line 197 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -698,9 +698,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_TOP_RIGHT:
#line 700 "Orientation.c"
{
- Rotation* _tmp2_ = NULL;
- Rotation* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
+ Rotation* _tmp2_;
+ Rotation* _tmp3_;
+ gint _tmp3__length1;
#line 200 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = g_new0 (Rotation, 1);
#line 200 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -725,9 +725,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_BOTTOM_RIGHT:
#line 727 "Orientation.c"
{
- Rotation* _tmp4_ = NULL;
- Rotation* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
+ Rotation* _tmp4_;
+ Rotation* _tmp5_;
+ gint _tmp5__length1;
#line 203 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp4_ = g_new0 (Rotation, 1);
#line 203 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -752,9 +752,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_BOTTOM_LEFT:
#line 754 "Orientation.c"
{
- Rotation* _tmp6_ = NULL;
- Rotation* _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
+ Rotation* _tmp6_;
+ Rotation* _tmp7_;
+ gint _tmp7__length1;
#line 207 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp6_ = g_new0 (Rotation, 2);
#line 207 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -781,9 +781,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_LEFT_TOP:
#line 783 "Orientation.c"
{
- Rotation* _tmp8_ = NULL;
- Rotation* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
+ Rotation* _tmp8_;
+ Rotation* _tmp9_;
+ gint _tmp9__length1;
#line 210 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp8_ = g_new0 (Rotation, 2);
#line 210 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -810,9 +810,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_RIGHT_TOP:
#line 812 "Orientation.c"
{
- Rotation* _tmp10_ = NULL;
- Rotation* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
+ Rotation* _tmp10_;
+ Rotation* _tmp11_;
+ gint _tmp11__length1;
#line 213 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp10_ = g_new0 (Rotation, 1);
#line 213 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -837,9 +837,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_RIGHT_BOTTOM:
#line 839 "Orientation.c"
{
- Rotation* _tmp12_ = NULL;
- Rotation* _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
+ Rotation* _tmp12_;
+ Rotation* _tmp13_;
+ gint _tmp13__length1;
#line 216 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp12_ = g_new0 (Rotation, 2);
#line 216 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -866,9 +866,9 @@ Rotation* orientation_to_rotations (Orientation self, int* result_length1) {
case ORIENTATION_LEFT_BOTTOM:
#line 868 "Orientation.c"
{
- Rotation* _tmp14_ = NULL;
- Rotation* _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
+ Rotation* _tmp14_;
+ Rotation* _tmp15_;
+ gint _tmp15__length1;
#line 219 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp14_ = g_new0 (Rotation, 1);
#line 219 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -914,7 +914,7 @@ void orientation_rotate_dimensions (Orientation self, Dimensions* dim, Dimension
case ORIENTATION_BOTTOM_LEFT:
#line 916 "Orientation.c"
{
- Dimensions _tmp0_ = {0};
+ Dimensions _tmp0_;
#line 233 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = *dim;
#line 233 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -933,10 +933,10 @@ void orientation_rotate_dimensions (Orientation self, Dimensions* dim, Dimension
case ORIENTATION_LEFT_BOTTOM:
#line 935 "Orientation.c"
{
- Dimensions _tmp1_ = {0};
- gint _tmp2_ = 0;
- Dimensions _tmp3_ = {0};
- gint _tmp4_ = 0;
+ Dimensions _tmp1_;
+ gint _tmp2_;
+ Dimensions _tmp3_;
+ gint _tmp4_;
Dimensions _tmp5_ = {0};
#line 240 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp1_ = *dim;
@@ -965,7 +965,7 @@ void orientation_rotate_dimensions (Orientation self, Dimensions* dim, Dimension
void orientation_derotate_dimensions (Orientation self, Dimensions* dim, Dimensions* result) {
- Dimensions _tmp0_ = {0};
+ Dimensions _tmp0_;
Dimensions _tmp1_ = {0};
#line 247 "/home/jens/Source/shotwell/src/Orientation.vala"
g_return_if_fail (dim != NULL);
@@ -999,8 +999,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_TOP_LEFT:
#line 1001 "Orientation.c"
{
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
#line 256 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = pixbuf;
#line 256 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1017,8 +1017,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_TOP_RIGHT:
#line 1019 "Orientation.c"
{
- GdkPixbuf* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
+ GdkPixbuf* _tmp2_;
+ GdkPixbuf* _tmp3_;
#line 261 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = pixbuf;
#line 261 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1035,8 +1035,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_BOTTOM_RIGHT:
#line 1037 "Orientation.c"
{
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
+ GdkPixbuf* _tmp4_;
+ GdkPixbuf* _tmp5_;
#line 265 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp4_ = pixbuf;
#line 265 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1053,8 +1053,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_BOTTOM_LEFT:
#line 1055 "Orientation.c"
{
- GdkPixbuf* _tmp6_ = NULL;
- GdkPixbuf* _tmp7_ = NULL;
+ GdkPixbuf* _tmp6_;
+ GdkPixbuf* _tmp7_;
#line 270 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp6_ = pixbuf;
#line 270 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1071,10 +1071,10 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_LEFT_TOP:
#line 1073 "Orientation.c"
{
- GdkPixbuf* _tmp8_ = NULL;
- GdkPixbuf* _tmp9_ = NULL;
- GdkPixbuf* _tmp10_ = NULL;
- GdkPixbuf* _tmp11_ = NULL;
+ GdkPixbuf* _tmp8_;
+ GdkPixbuf* _tmp9_;
+ GdkPixbuf* _tmp10_;
+ GdkPixbuf* _tmp11_;
#line 274 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp8_ = pixbuf;
#line 274 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1097,8 +1097,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_RIGHT_TOP:
#line 1099 "Orientation.c"
{
- GdkPixbuf* _tmp12_ = NULL;
- GdkPixbuf* _tmp13_ = NULL;
+ GdkPixbuf* _tmp12_;
+ GdkPixbuf* _tmp13_;
#line 278 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp12_ = pixbuf;
#line 278 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1115,10 +1115,10 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_RIGHT_BOTTOM:
#line 1117 "Orientation.c"
{
- GdkPixbuf* _tmp14_ = NULL;
- GdkPixbuf* _tmp15_ = NULL;
- GdkPixbuf* _tmp16_ = NULL;
- GdkPixbuf* _tmp17_ = NULL;
+ GdkPixbuf* _tmp14_;
+ GdkPixbuf* _tmp15_;
+ GdkPixbuf* _tmp16_;
+ GdkPixbuf* _tmp17_;
#line 282 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp14_ = pixbuf;
#line 282 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1141,8 +1141,8 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
case ORIENTATION_LEFT_BOTTOM:
#line 1143 "Orientation.c"
{
- GdkPixbuf* _tmp18_ = NULL;
- GdkPixbuf* _tmp19_ = NULL;
+ GdkPixbuf* _tmp18_;
+ GdkPixbuf* _tmp19_;
#line 286 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp18_ = pixbuf;
#line 286 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1171,19 +1171,19 @@ GdkPixbuf* orientation_rotate_pixbuf (Orientation self, GdkPixbuf* pixbuf) {
void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* point, GdkPoint* result) {
- gboolean _tmp0_ = FALSE;
- GdkPoint _tmp1_ = {0};
- gint _tmp2_ = 0;
- GdkPoint _tmp3_ = {0};
- gint _tmp4_ = 0;
- Dimensions _tmp5_ = {0};
- gint _tmp6_ = 0;
- GdkPoint _tmp7_ = {0};
- gint _tmp8_ = 0;
- GdkPoint _tmp9_ = {0};
- gint _tmp10_ = 0;
- Dimensions _tmp11_ = {0};
- gint _tmp12_ = 0;
+ gboolean _tmp0_;
+ GdkPoint _tmp1_;
+ gint _tmp2_;
+ GdkPoint _tmp3_;
+ gint _tmp4_;
+ Dimensions _tmp5_;
+ gint _tmp6_;
+ GdkPoint _tmp7_;
+ gint _tmp8_;
+ GdkPoint _tmp9_;
+ gint _tmp10_;
+ Dimensions _tmp11_;
+ gint _tmp12_;
GdkPoint rotated = {0};
#line 297 "/home/jens/Source/shotwell/src/Orientation.vala"
g_return_if_fail (space != NULL);
@@ -1233,7 +1233,7 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_TOP_LEFT:
#line 1235 "Orientation.c"
{
- GdkPoint _tmp13_ = {0};
+ GdkPoint _tmp13_;
#line 309 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp13_ = *point;
#line 309 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1246,12 +1246,12 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_TOP_RIGHT:
#line 1248 "Orientation.c"
{
- Dimensions _tmp14_ = {0};
- gint _tmp15_ = 0;
- GdkPoint _tmp16_ = {0};
- gint _tmp17_ = 0;
- GdkPoint _tmp18_ = {0};
- gint _tmp19_ = 0;
+ Dimensions _tmp14_;
+ gint _tmp15_;
+ GdkPoint _tmp16_;
+ gint _tmp17_;
+ GdkPoint _tmp18_;
+ gint _tmp19_;
#line 314 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp14_ = *space;
#line 314 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1276,14 +1276,14 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_BOTTOM_RIGHT:
#line 1278 "Orientation.c"
{
- Dimensions _tmp20_ = {0};
- gint _tmp21_ = 0;
- GdkPoint _tmp22_ = {0};
- gint _tmp23_ = 0;
- Dimensions _tmp24_ = {0};
- gint _tmp25_ = 0;
- GdkPoint _tmp26_ = {0};
- gint _tmp27_ = 0;
+ Dimensions _tmp20_;
+ gint _tmp21_;
+ GdkPoint _tmp22_;
+ gint _tmp23_;
+ Dimensions _tmp24_;
+ gint _tmp25_;
+ GdkPoint _tmp26_;
+ gint _tmp27_;
#line 320 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp20_ = *space;
#line 320 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1312,12 +1312,12 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_BOTTOM_LEFT:
#line 1314 "Orientation.c"
{
- GdkPoint _tmp28_ = {0};
- gint _tmp29_ = 0;
- Dimensions _tmp30_ = {0};
- gint _tmp31_ = 0;
- GdkPoint _tmp32_ = {0};
- gint _tmp33_ = 0;
+ GdkPoint _tmp28_;
+ gint _tmp29_;
+ Dimensions _tmp30_;
+ gint _tmp31_;
+ GdkPoint _tmp32_;
+ gint _tmp33_;
#line 326 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp28_ = *point;
#line 326 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1342,10 +1342,10 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_LEFT_TOP:
#line 1344 "Orientation.c"
{
- GdkPoint _tmp34_ = {0};
- gint _tmp35_ = 0;
- GdkPoint _tmp36_ = {0};
- gint _tmp37_ = 0;
+ GdkPoint _tmp34_;
+ gint _tmp35_;
+ GdkPoint _tmp36_;
+ gint _tmp37_;
#line 332 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp34_ = *point;
#line 332 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1366,12 +1366,12 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_RIGHT_TOP:
#line 1368 "Orientation.c"
{
- Dimensions _tmp38_ = {0};
- gint _tmp39_ = 0;
- GdkPoint _tmp40_ = {0};
- gint _tmp41_ = 0;
- GdkPoint _tmp42_ = {0};
- gint _tmp43_ = 0;
+ Dimensions _tmp38_;
+ gint _tmp39_;
+ GdkPoint _tmp40_;
+ gint _tmp41_;
+ GdkPoint _tmp42_;
+ gint _tmp43_;
#line 338 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp38_ = *space;
#line 338 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1396,14 +1396,14 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_RIGHT_BOTTOM:
#line 1398 "Orientation.c"
{
- Dimensions _tmp44_ = {0};
- gint _tmp45_ = 0;
- GdkPoint _tmp46_ = {0};
- gint _tmp47_ = 0;
- Dimensions _tmp48_ = {0};
- gint _tmp49_ = 0;
- GdkPoint _tmp50_ = {0};
- gint _tmp51_ = 0;
+ Dimensions _tmp44_;
+ gint _tmp45_;
+ GdkPoint _tmp46_;
+ gint _tmp47_;
+ Dimensions _tmp48_;
+ gint _tmp49_;
+ GdkPoint _tmp50_;
+ gint _tmp51_;
#line 344 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp44_ = *space;
#line 344 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1432,12 +1432,12 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
case ORIENTATION_LEFT_BOTTOM:
#line 1434 "Orientation.c"
{
- GdkPoint _tmp52_ = {0};
- gint _tmp53_ = 0;
- Dimensions _tmp54_ = {0};
- gint _tmp55_ = 0;
- GdkPoint _tmp56_ = {0};
- gint _tmp57_ = 0;
+ GdkPoint _tmp52_;
+ gint _tmp53_;
+ Dimensions _tmp54_;
+ gint _tmp55_;
+ GdkPoint _tmp56_;
+ gint _tmp57_;
#line 350 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp52_ = *point;
#line 350 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1474,7 +1474,7 @@ void orientation_rotate_point (Orientation self, Dimensions* space, GdkPoint* po
void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint* point, GdkPoint* result) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
GdkPoint derotated = {0};
#line 362 "/home/jens/Source/shotwell/src/Orientation.vala"
g_return_if_fail (space != NULL);
@@ -1492,7 +1492,7 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_TOP_LEFT:
#line 1494 "Orientation.c"
{
- GdkPoint _tmp1_ = {0};
+ GdkPoint _tmp1_;
#line 370 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp1_ = *point;
#line 370 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1505,12 +1505,12 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_TOP_RIGHT:
#line 1507 "Orientation.c"
{
- Dimensions _tmp2_ = {0};
- gint _tmp3_ = 0;
- GdkPoint _tmp4_ = {0};
- gint _tmp5_ = 0;
- GdkPoint _tmp6_ = {0};
- gint _tmp7_ = 0;
+ Dimensions _tmp2_;
+ gint _tmp3_;
+ GdkPoint _tmp4_;
+ gint _tmp5_;
+ GdkPoint _tmp6_;
+ gint _tmp7_;
#line 375 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = *space;
#line 375 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1535,14 +1535,14 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_BOTTOM_RIGHT:
#line 1537 "Orientation.c"
{
- Dimensions _tmp8_ = {0};
- gint _tmp9_ = 0;
- GdkPoint _tmp10_ = {0};
- gint _tmp11_ = 0;
- Dimensions _tmp12_ = {0};
- gint _tmp13_ = 0;
- GdkPoint _tmp14_ = {0};
- gint _tmp15_ = 0;
+ Dimensions _tmp8_;
+ gint _tmp9_;
+ GdkPoint _tmp10_;
+ gint _tmp11_;
+ Dimensions _tmp12_;
+ gint _tmp13_;
+ GdkPoint _tmp14_;
+ gint _tmp15_;
#line 381 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp8_ = *space;
#line 381 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1571,12 +1571,12 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_BOTTOM_LEFT:
#line 1573 "Orientation.c"
{
- GdkPoint _tmp16_ = {0};
- gint _tmp17_ = 0;
- Dimensions _tmp18_ = {0};
- gint _tmp19_ = 0;
- GdkPoint _tmp20_ = {0};
- gint _tmp21_ = 0;
+ GdkPoint _tmp16_;
+ gint _tmp17_;
+ Dimensions _tmp18_;
+ gint _tmp19_;
+ GdkPoint _tmp20_;
+ gint _tmp21_;
#line 387 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp16_ = *point;
#line 387 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1601,10 +1601,10 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_LEFT_TOP:
#line 1603 "Orientation.c"
{
- GdkPoint _tmp22_ = {0};
- gint _tmp23_ = 0;
- GdkPoint _tmp24_ = {0};
- gint _tmp25_ = 0;
+ GdkPoint _tmp22_;
+ gint _tmp23_;
+ GdkPoint _tmp24_;
+ gint _tmp25_;
#line 393 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp22_ = *point;
#line 393 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1625,12 +1625,12 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_RIGHT_TOP:
#line 1627 "Orientation.c"
{
- GdkPoint _tmp26_ = {0};
- gint _tmp27_ = 0;
- Dimensions _tmp28_ = {0};
- gint _tmp29_ = 0;
- GdkPoint _tmp30_ = {0};
- gint _tmp31_ = 0;
+ GdkPoint _tmp26_;
+ gint _tmp27_;
+ Dimensions _tmp28_;
+ gint _tmp29_;
+ GdkPoint _tmp30_;
+ gint _tmp31_;
#line 399 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp26_ = *point;
#line 399 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1655,14 +1655,14 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_RIGHT_BOTTOM:
#line 1657 "Orientation.c"
{
- Dimensions _tmp32_ = {0};
- gint _tmp33_ = 0;
- GdkPoint _tmp34_ = {0};
- gint _tmp35_ = 0;
- Dimensions _tmp36_ = {0};
- gint _tmp37_ = 0;
- GdkPoint _tmp38_ = {0};
- gint _tmp39_ = 0;
+ Dimensions _tmp32_;
+ gint _tmp33_;
+ GdkPoint _tmp34_;
+ gint _tmp35_;
+ Dimensions _tmp36_;
+ gint _tmp37_;
+ GdkPoint _tmp38_;
+ gint _tmp39_;
#line 405 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp32_ = *space;
#line 405 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1691,12 +1691,12 @@ void orientation_derotate_point (Orientation self, Dimensions* space, GdkPoint*
case ORIENTATION_LEFT_BOTTOM:
#line 1693 "Orientation.c"
{
- Dimensions _tmp40_ = {0};
- gint _tmp41_ = 0;
- GdkPoint _tmp42_ = {0};
- gint _tmp43_ = 0;
- GdkPoint _tmp44_ = {0};
- gint _tmp45_ = 0;
+ Dimensions _tmp40_;
+ gint _tmp41_;
+ GdkPoint _tmp42_;
+ gint _tmp43_;
+ GdkPoint _tmp44_;
+ gint _tmp45_;
#line 411 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp40_ = *space;
#line 411 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1737,34 +1737,34 @@ void orientation_rotate_box (Orientation self, Dimensions* space, Box* box, Box*
GdkPoint bottom_right = {0};
GdkPoint _tmp0_ = {0};
GdkPoint _tmp1_ = {0};
- GdkPoint _tmp2_ = {0};
- gint _tmp3_ = 0;
- Dimensions _tmp4_ = {0};
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- GdkPoint _tmp7_ = {0};
- gint _tmp8_ = 0;
- Dimensions _tmp9_ = {0};
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
- GdkPoint _tmp12_ = {0};
- gint _tmp13_ = 0;
- Dimensions _tmp14_ = {0};
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
- GdkPoint _tmp17_ = {0};
- gint _tmp18_ = 0;
- Dimensions _tmp19_ = {0};
- gint _tmp20_ = 0;
- gint _tmp21_ = 0;
- Dimensions _tmp22_ = {0};
- GdkPoint _tmp23_ = {0};
+ GdkPoint _tmp2_;
+ gint _tmp3_;
+ Dimensions _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ GdkPoint _tmp7_;
+ gint _tmp8_;
+ Dimensions _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
+ GdkPoint _tmp12_;
+ gint _tmp13_;
+ Dimensions _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
+ GdkPoint _tmp17_;
+ gint _tmp18_;
+ Dimensions _tmp19_;
+ gint _tmp20_;
+ gint _tmp21_;
+ Dimensions _tmp22_;
+ GdkPoint _tmp23_;
GdkPoint _tmp24_ = {0};
- Dimensions _tmp25_ = {0};
- GdkPoint _tmp26_ = {0};
+ Dimensions _tmp25_;
+ GdkPoint _tmp26_;
GdkPoint _tmp27_ = {0};
- GdkPoint _tmp28_ = {0};
- GdkPoint _tmp29_ = {0};
+ GdkPoint _tmp28_;
+ GdkPoint _tmp29_;
Box _tmp30_ = {0};
#line 423 "/home/jens/Source/shotwell/src/Orientation.vala"
g_return_if_fail (space != NULL);
@@ -1859,14 +1859,14 @@ void orientation_derotate_box (Orientation self, Dimensions* space, Box* box, Bo
GdkPoint bottom_right = {0};
GdkPoint _tmp0_ = {0};
GdkPoint _tmp1_ = {0};
- Dimensions _tmp2_ = {0};
- GdkPoint _tmp3_ = {0};
+ Dimensions _tmp2_;
+ GdkPoint _tmp3_;
GdkPoint _tmp4_ = {0};
- Dimensions _tmp5_ = {0};
- GdkPoint _tmp6_ = {0};
+ Dimensions _tmp5_;
+ GdkPoint _tmp6_;
GdkPoint _tmp7_ = {0};
- GdkPoint _tmp8_ = {0};
- GdkPoint _tmp9_ = {0};
+ GdkPoint _tmp8_;
+ GdkPoint _tmp9_;
Box _tmp10_ = {0};
#line 440 "/home/jens/Source/shotwell/src/Orientation.vala"
g_return_if_fail (space != NULL);
@@ -1930,8 +1930,8 @@ GdkPixbuf* rotation_perform (Rotation self, GdkPixbuf* pixbuf) {
case ROTATION_CLOCKWISE:
#line 1932 "Orientation.c"
{
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
#line 460 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp0_ = pixbuf;
#line 460 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1946,8 +1946,8 @@ GdkPixbuf* rotation_perform (Rotation self, GdkPixbuf* pixbuf) {
case ROTATION_COUNTERCLOCKWISE:
#line 1948 "Orientation.c"
{
- GdkPixbuf* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
+ GdkPixbuf* _tmp2_;
+ GdkPixbuf* _tmp3_;
#line 463 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp2_ = pixbuf;
#line 463 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1962,8 +1962,8 @@ GdkPixbuf* rotation_perform (Rotation self, GdkPixbuf* pixbuf) {
case ROTATION_MIRROR:
#line 1964 "Orientation.c"
{
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
+ GdkPixbuf* _tmp4_;
+ GdkPixbuf* _tmp5_;
#line 466 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp4_ = pixbuf;
#line 466 "/home/jens/Source/shotwell/src/Orientation.vala"
@@ -1978,8 +1978,8 @@ GdkPixbuf* rotation_perform (Rotation self, GdkPixbuf* pixbuf) {
case ROTATION_UPSIDE_DOWN:
#line 1980 "Orientation.c"
{
- GdkPixbuf* _tmp6_ = NULL;
- GdkPixbuf* _tmp7_ = NULL;
+ GdkPixbuf* _tmp6_;
+ GdkPixbuf* _tmp7_;
#line 469 "/home/jens/Source/shotwell/src/Orientation.vala"
_tmp6_ = pixbuf;
#line 469 "/home/jens/Source/shotwell/src/Orientation.vala"