summaryrefslogtreecommitdiff
path: root/src/SlideshowPage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SlideshowPage.c')
-rw-r--r--src/SlideshowPage.c272
1 files changed, 137 insertions, 135 deletions
diff --git a/src/SlideshowPage.c b/src/SlideshowPage.c
index 70feead..ea177d1 100644
--- a/src/SlideshowPage.c
+++ b/src/SlideshowPage.c
@@ -1,4 +1,4 @@
-/* SlideshowPage.c generated by valac 0.32.1, the Vala compiler
+/* SlideshowPage.c generated by valac 0.34.4, the Vala compiler
* generated from SlideshowPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -12,6 +12,7 @@
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
+#include <gio/gio.h>
#include <gee.h>
#include <gdk/gdk.h>
#include <cairo.h>
@@ -314,7 +315,8 @@ struct _PageClass {
void (*ready) (Page* self);
void (*switching_to_fullscreen) (Page* self, FullscreenWindow* fsw);
void (*returning_from_fullscreen) (Page* self, FullscreenWindow* fsw);
- void (*add_actions) (Page* self);
+ void (*add_actions) (Page* self, GActionMap* map);
+ void (*remove_actions) (Page* self, GActionMap* map);
void (*init_collect_ui_filenames) (Page* self, GeeList* ui_filenames);
InjectionGroup** (*init_collect_injection_groups) (Page* self, int* result_length1);
void (*init_actions) (Page* self, gint selected_count, gint count);
@@ -651,42 +653,42 @@ static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify
static gpointer _data_collection_ref0 (gpointer self) {
#line 143 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return self ? data_collection_ref (self) : NULL;
-#line 655 "SlideshowPage.c"
+#line 657 "SlideshowPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 152 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 662 "SlideshowPage.c"
+#line 664 "SlideshowPage.c"
}
static void _single_photo_page_on_previous_photo_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 163 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
single_photo_page_on_previous_photo ((SinglePhotoPage*) self);
-#line 669 "SlideshowPage.c"
+#line 671 "SlideshowPage.c"
}
static void _slideshow_page_on_play_pause_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 170 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_on_play_pause ((SlideshowPage*) self);
-#line 676 "SlideshowPage.c"
+#line 678 "SlideshowPage.c"
}
static void _single_photo_page_on_next_photo_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 177 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
single_photo_page_on_next_photo ((SinglePhotoPage*) self);
-#line 683 "SlideshowPage.c"
+#line 685 "SlideshowPage.c"
}
static void _slideshow_page_on_change_settings_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 185 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_on_change_settings ((SlideshowPage*) self);
-#line 690 "SlideshowPage.c"
+#line 692 "SlideshowPage.c"
}
@@ -925,14 +927,14 @@ SlideshowPage* slideshow_page_construct (GType object_type, SourceCollection* so
_g_object_unref0 (pluggables);
#line 140 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return self;
-#line 929 "SlideshowPage.c"
+#line 931 "SlideshowPage.c"
}
SlideshowPage* slideshow_page_new (SourceCollection* sources, ViewCollection* controller, Photo* start) {
#line 140 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return slideshow_page_construct (TYPE_SLIDESHOW_PAGE, sources, controller, start);
-#line 936 "SlideshowPage.c"
+#line 938 "SlideshowPage.c"
}
@@ -941,7 +943,7 @@ static gboolean _slideshow_page_auto_advance_gsource_func (gpointer self) {
result = slideshow_page_auto_advance ((SlideshowPage*) self);
#line 205 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 945 "SlideshowPage.c"
+#line 947 "SlideshowPage.c"
}
@@ -985,7 +987,7 @@ static void slideshow_page_real_switched_to (Page* base) {
pixbuf = _tmp5_;
#line 201 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp6_) {
-#line 989 "SlideshowPage.c"
+#line 991 "SlideshowPage.c"
GdkPixbuf* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
Dimensions _tmp9_ = {0};
@@ -1000,7 +1002,7 @@ static void slideshow_page_real_switched_to (Page* base) {
_tmp10_ = DIRECTION_FORWARD;
#line 202 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp7_, &_tmp9_, &_tmp10_);
-#line 1004 "SlideshowPage.c"
+#line 1006 "SlideshowPage.c"
}
#line 205 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) SLIDESHOW_PAGE_CHECK_ADVANCE_MSEC, _slideshow_page_auto_advance_gsource_func, g_object_ref (self), g_object_unref);
@@ -1014,7 +1016,7 @@ static void slideshow_page_real_switched_to (Page* base) {
screensaver_inhibit (_tmp12_, "Playing slideshow");
#line 193 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (pixbuf);
-#line 1018 "SlideshowPage.c"
+#line 1020 "SlideshowPage.c"
}
@@ -1031,7 +1033,7 @@ static void slideshow_page_real_switching_from (Page* base) {
screensaver_uninhibit (_tmp0_);
#line 215 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
self->priv->exiting = TRUE;
-#line 1035 "SlideshowPage.c"
+#line 1037 "SlideshowPage.c"
}
@@ -1054,14 +1056,14 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_g_object_unref0 (_vala_next);
#line 220 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_vala_next = _tmp1_;
-#line 1058 "SlideshowPage.c"
+#line 1060 "SlideshowPage.c"
{
gboolean _tmp2_ = FALSE;
#line 222 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = TRUE;
#line 222 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
while (TRUE) {
-#line 1065 "SlideshowPage.c"
+#line 1067 "SlideshowPage.c"
DataSource* forward = NULL;
DataSource* back = NULL;
ViewCollection* _tmp40_ = NULL;
@@ -1084,11 +1086,11 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
GeeSet* _tmp56_ = NULL;
#line 222 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (!_tmp2_) {
-#line 1088 "SlideshowPage.c"
+#line 1090 "SlideshowPage.c"
}
#line 222 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = FALSE;
-#line 1092 "SlideshowPage.c"
+#line 1094 "SlideshowPage.c"
{
GdkPixbuf* _tmp3_ = NULL;
PixbufCache* _tmp4_ = NULL;
@@ -1105,8 +1107,8 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_tmp3_ = _tmp6_;
#line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1109 "SlideshowPage.c"
- goto __catch458_g_error;
+#line 1111 "SlideshowPage.c"
+ goto __catch460_g_error;
}
#line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp7_ = _tmp3_;
@@ -1118,10 +1120,10 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_vala_next_pixbuf = _tmp7_;
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_tmp3_);
-#line 1122 "SlideshowPage.c"
+#line 1124 "SlideshowPage.c"
}
- goto __finally458;
- __catch458_g_error:
+ goto __finally460;
+ __catch460_g_error:
{
GError* err = NULL;
Photo* _tmp8_ = NULL;
@@ -1172,7 +1174,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_tmp17_ = direction;
#line 231 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp17_ == DIRECTION_FORWARD) {
-#line 1176 "SlideshowPage.c"
+#line 1178 "SlideshowPage.c"
ViewCollection* _tmp18_ = NULL;
DataView* _tmp19_ = NULL;
DataView* _tmp20_ = NULL;
@@ -1186,7 +1188,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_g_object_unref0 (_tmp16_);
#line 232 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp16_ = _tmp20_;
-#line 1190 "SlideshowPage.c"
+#line 1192 "SlideshowPage.c"
} else {
ViewCollection* _tmp21_ = NULL;
DataView* _tmp22_ = NULL;
@@ -1201,7 +1203,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_g_object_unref0 (_tmp16_);
#line 233 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp16_ = _tmp23_;
-#line 1205 "SlideshowPage.c"
+#line 1207 "SlideshowPage.c"
}
#line 231 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp24_ = _g_object_ref0 (_tmp16_);
@@ -1223,7 +1225,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_tmp30_ = start;
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp29_ == _tmp30_) {
-#line 1227 "SlideshowPage.c"
+#line 1229 "SlideshowPage.c"
Photo* _tmp31_ = NULL;
Photo* _tmp32_ = NULL;
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1232,17 +1234,17 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_tmp32_ = self->priv->current;
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp28_ = _tmp31_ != _tmp32_;
-#line 1236 "SlideshowPage.c"
+#line 1238 "SlideshowPage.c"
} else {
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp28_ = FALSE;
-#line 1240 "SlideshowPage.c"
+#line 1242 "SlideshowPage.c"
}
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp28_) {
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp27_ = TRUE;
-#line 1246 "SlideshowPage.c"
+#line 1248 "SlideshowPage.c"
} else {
Photo* _tmp33_ = NULL;
Photo* _tmp34_ = NULL;
@@ -1252,11 +1254,11 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_tmp34_ = self->priv->current;
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp27_ = _tmp33_ == _tmp34_;
-#line 1256 "SlideshowPage.c"
+#line 1258 "SlideshowPage.c"
}
#line 237 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp27_) {
-#line 1260 "SlideshowPage.c"
+#line 1262 "SlideshowPage.c"
const gchar* _tmp35_ = NULL;
GtkWindow* _tmp36_ = NULL;
GtkWindow* _tmp37_ = NULL;
@@ -1300,25 +1302,25 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
if (next) {
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next = _vala_next;
-#line 1304 "SlideshowPage.c"
+#line 1306 "SlideshowPage.c"
} else {
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next);
-#line 1308 "SlideshowPage.c"
+#line 1310 "SlideshowPage.c"
}
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (next_pixbuf) {
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next_pixbuf = _vala_next_pixbuf;
-#line 1314 "SlideshowPage.c"
+#line 1316 "SlideshowPage.c"
} else {
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next_pixbuf);
-#line 1318 "SlideshowPage.c"
+#line 1320 "SlideshowPage.c"
}
#line 244 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1322 "SlideshowPage.c"
+#line 1324 "SlideshowPage.c"
}
#line 247 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_tmp16_);
@@ -1328,9 +1330,9 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_g_error_free0 (err);
#line 247 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
continue;
-#line 1332 "SlideshowPage.c"
+#line 1334 "SlideshowPage.c"
}
- __finally458:
+ __finally460:
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1339,7 +1341,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
g_clear_error (&_inner_error_);
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return FALSE;
-#line 1343 "SlideshowPage.c"
+#line 1345 "SlideshowPage.c"
}
#line 253 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp40_ = self->priv->controller;
@@ -1405,46 +1407,46 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
if (next) {
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next = _vala_next;
-#line 1409 "SlideshowPage.c"
+#line 1411 "SlideshowPage.c"
} else {
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next);
-#line 1413 "SlideshowPage.c"
+#line 1415 "SlideshowPage.c"
}
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (next_pixbuf) {
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next_pixbuf = _vala_next_pixbuf;
-#line 1419 "SlideshowPage.c"
+#line 1421 "SlideshowPage.c"
} else {
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next_pixbuf);
-#line 1423 "SlideshowPage.c"
+#line 1425 "SlideshowPage.c"
}
#line 263 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1427 "SlideshowPage.c"
+#line 1429 "SlideshowPage.c"
}
}
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (next) {
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next = _vala_next;
-#line 1434 "SlideshowPage.c"
+#line 1436 "SlideshowPage.c"
} else {
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next);
-#line 1438 "SlideshowPage.c"
+#line 1440 "SlideshowPage.c"
}
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (next_pixbuf) {
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
*next_pixbuf = _vala_next_pixbuf;
-#line 1444 "SlideshowPage.c"
+#line 1446 "SlideshowPage.c"
} else {
#line 218 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_vala_next_pixbuf);
-#line 1448 "SlideshowPage.c"
+#line 1450 "SlideshowPage.c"
}
}
@@ -1459,7 +1461,7 @@ static void slideshow_page_on_play_pause (SlideshowPage* self) {
_tmp0_ = self->priv->playing;
#line 268 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp0_) {
-#line 1463 "SlideshowPage.c"
+#line 1465 "SlideshowPage.c"
GtkToolButton* _tmp1_ = NULL;
GtkToolButton* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
@@ -1481,7 +1483,7 @@ static void slideshow_page_on_play_pause (SlideshowPage* self) {
_tmp5_ = _ ("Continue the slideshow");
#line 271 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_tool_item_get_type (), GtkToolItem), _tmp5_);
-#line 1485 "SlideshowPage.c"
+#line 1487 "SlideshowPage.c"
} else {
GtkToolButton* _tmp6_ = NULL;
GtkToolButton* _tmp7_ = NULL;
@@ -1504,7 +1506,7 @@ static void slideshow_page_on_play_pause (SlideshowPage* self) {
_tmp10_ = _ ("Pause the slideshow");
#line 275 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_tool_item_get_type (), GtkToolItem), _tmp10_);
-#line 1508 "SlideshowPage.c"
+#line 1510 "SlideshowPage.c"
}
#line 278 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp11_ = self->priv->playing;
@@ -1514,7 +1516,7 @@ static void slideshow_page_on_play_pause (SlideshowPage* self) {
_tmp12_ = self->priv->timer;
#line 281 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
g_timer_start (_tmp12_);
-#line 1518 "SlideshowPage.c"
+#line 1520 "SlideshowPage.c"
}
@@ -1561,7 +1563,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
prev_view = _tmp7_;
#line 291 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
while (TRUE) {
-#line 1565 "SlideshowPage.c"
+#line 1567 "SlideshowPage.c"
DataView* _tmp8_ = NULL;
DataView* _tmp9_ = NULL;
DataSource* _tmp10_ = NULL;
@@ -1578,7 +1580,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
if (!(_tmp8_ != NULL)) {
#line 291 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 1582 "SlideshowPage.c"
+#line 1584 "SlideshowPage.c"
}
#line 292 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp9_ = prev_view;
@@ -1592,7 +1594,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (_tmp11_);
#line 292 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp12_) {
-#line 1596 "SlideshowPage.c"
+#line 1598 "SlideshowPage.c"
DataView* _tmp13_ = NULL;
DataSource* _tmp14_ = NULL;
#line 293 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1605,7 +1607,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
prev_photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PHOTO, Photo);
#line 294 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 1609 "SlideshowPage.c"
+#line 1611 "SlideshowPage.c"
}
#line 297 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp15_ = self->priv->controller;
@@ -1636,7 +1638,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (view);
#line 301 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return;
-#line 1639 "SlideshowPage.c"
+#line 1641 "SlideshowPage.c"
}
}
#line 305 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1651,7 +1653,7 @@ static void slideshow_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (prev_photo);
#line 284 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (view);
-#line 1654 "SlideshowPage.c"
+#line 1656 "SlideshowPage.c"
}
@@ -1703,7 +1705,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
next_view = _tmp7_;
#line 315 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
while (TRUE) {
-#line 1706 "SlideshowPage.c"
+#line 1708 "SlideshowPage.c"
DataView* _tmp8_ = NULL;
DataView* _tmp9_ = NULL;
DataSource* _tmp10_ = NULL;
@@ -1720,7 +1722,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
if (!(_tmp8_ != NULL)) {
#line 315 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 1723 "SlideshowPage.c"
+#line 1725 "SlideshowPage.c"
}
#line 316 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp9_ = next_view;
@@ -1734,7 +1736,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (_tmp11_);
#line 316 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp12_) {
-#line 1737 "SlideshowPage.c"
+#line 1739 "SlideshowPage.c"
DataView* _tmp13_ = NULL;
DataSource* _tmp14_ = NULL;
#line 317 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1747,7 +1749,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
next_photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PHOTO, Photo);
#line 318 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 1750 "SlideshowPage.c"
+#line 1752 "SlideshowPage.c"
}
#line 321 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp15_ = self->priv->controller;
@@ -1778,7 +1780,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (view);
#line 325 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return;
-#line 1780 "SlideshowPage.c"
+#line 1782 "SlideshowPage.c"
}
}
#line 329 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1799,7 +1801,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
if (_tmp24_) {
#line 331 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_random_transition_effect (self);
-#line 1801 "SlideshowPage.c"
+#line 1803 "SlideshowPage.c"
}
#line 334 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp25_ = next_photo;
@@ -1813,7 +1815,7 @@ static void slideshow_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (next_photo);
#line 308 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (view);
-#line 1815 "SlideshowPage.c"
+#line 1817 "SlideshowPage.c"
}
@@ -1855,7 +1857,7 @@ static void slideshow_page_advance (SlideshowPage* self, Photo* photo, Direction
next_pixbuf = _tmp5_;
#line 342 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp6_) {
-#line 1857 "SlideshowPage.c"
+#line 1859 "SlideshowPage.c"
GdkPixbuf* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
Dimensions _tmp9_ = {0};
@@ -1870,7 +1872,7 @@ static void slideshow_page_advance (SlideshowPage* self, Photo* photo, Direction
_tmp10_ = direction;
#line 343 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp7_, &_tmp9_, &_tmp10_);
-#line 1872 "SlideshowPage.c"
+#line 1874 "SlideshowPage.c"
}
#line 346 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp11_ = self->priv->timer;
@@ -1878,7 +1880,7 @@ static void slideshow_page_advance (SlideshowPage* self, Photo* photo, Direction
g_timer_start (_tmp11_);
#line 337 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (next_pixbuf);
-#line 1880 "SlideshowPage.c"
+#line 1882 "SlideshowPage.c"
}
@@ -1902,7 +1904,7 @@ static gboolean slideshow_page_auto_advance (SlideshowPage* self) {
result = FALSE;
#line 351 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1904 "SlideshowPage.c"
+#line 1906 "SlideshowPage.c"
}
#line 353 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp1_ = self->priv->playing;
@@ -1912,7 +1914,7 @@ static gboolean slideshow_page_auto_advance (SlideshowPage* self) {
result = TRUE;
#line 354 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1914 "SlideshowPage.c"
+#line 1916 "SlideshowPage.c"
}
#line 356 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = self->priv->timer;
@@ -1934,7 +1936,7 @@ static gboolean slideshow_page_auto_advance (SlideshowPage* self) {
result = TRUE;
#line 357 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1936 "SlideshowPage.c"
+#line 1938 "SlideshowPage.c"
}
#line 359 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
single_photo_page_on_next_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
@@ -1942,7 +1944,7 @@ static gboolean slideshow_page_auto_advance (SlideshowPage* self) {
result = TRUE;
#line 361 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 1944 "SlideshowPage.c"
+#line 1946 "SlideshowPage.c"
}
@@ -1957,7 +1959,7 @@ static gboolean slideshow_page_real_key_press_event (GtkWidget* base, GdkEventKe
GQuark _tmp5_ = 0U;
#line 366 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 1959 "SlideshowPage.c"
+#line 1961 "SlideshowPage.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
#line 364 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -1980,27 +1982,27 @@ static gboolean slideshow_page_real_key_press_event (GtkWidget* base, GdkEventKe
if (_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("space")))) {
#line 366 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
switch (0) {
-#line 1982 "SlideshowPage.c"
+#line 1984 "SlideshowPage.c"
default:
{
#line 368 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_on_play_pause (self);
#line 369 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 1989 "SlideshowPage.c"
+#line 1991 "SlideshowPage.c"
}
}
} else {
#line 366 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
switch (0) {
-#line 1995 "SlideshowPage.c"
+#line 1997 "SlideshowPage.c"
default:
{
#line 372 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
handled = FALSE;
#line 373 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 2002 "SlideshowPage.c"
+#line 2004 "SlideshowPage.c"
}
}
}
@@ -2012,11 +2014,11 @@ static gboolean slideshow_page_real_key_press_event (GtkWidget* base, GdkEventKe
result = TRUE;
#line 377 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 2014 "SlideshowPage.c"
+#line 2016 "SlideshowPage.c"
}
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (GTK_WIDGET_CLASS (slideshow_page_parent_class)->key_press_event != NULL) {
-#line 2018 "SlideshowPage.c"
+#line 2020 "SlideshowPage.c"
GdkEventKey* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -2025,17 +2027,17 @@ static gboolean slideshow_page_real_key_press_event (GtkWidget* base, GdkEventKe
_tmp9_ = GTK_WIDGET_CLASS (slideshow_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), gtk_widget_get_type (), GtkWidget), _tmp8_);
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp7_ = _tmp9_;
-#line 2027 "SlideshowPage.c"
+#line 2029 "SlideshowPage.c"
} else {
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp7_ = TRUE;
-#line 2031 "SlideshowPage.c"
+#line 2033 "SlideshowPage.c"
}
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
result = _tmp7_;
#line 379 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 2037 "SlideshowPage.c"
+#line 2039 "SlideshowPage.c"
}
@@ -2076,7 +2078,7 @@ static void slideshow_page_on_change_settings (SlideshowPage* self) {
_tmp4_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_dialog_get_type (), GtkDialog));
#line 390 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp4_ == ((gint) GTK_RESPONSE_OK)) {
-#line 2078 "SlideshowPage.c"
+#line 2080 "SlideshowPage.c"
ConfigFacade* _tmp5_ = NULL;
ConfigFacade* _tmp6_ = NULL;
SlideshowPageSettingsDialog* _tmp7_ = NULL;
@@ -2148,7 +2150,7 @@ static void slideshow_page_on_change_settings (SlideshowPage* self) {
_g_object_unref0 (_tmp19_);
#line 398 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_update_transition_effect (self);
-#line 2150 "SlideshowPage.c"
+#line 2152 "SlideshowPage.c"
}
#line 401 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp22_ = settings_dialog;
@@ -2164,7 +2166,7 @@ static void slideshow_page_on_change_settings (SlideshowPage* self) {
g_timer_start (_tmp24_);
#line 382 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (settings_dialog);
-#line 2166 "SlideshowPage.c"
+#line 2168 "SlideshowPage.c"
}
@@ -2209,7 +2211,7 @@ static void slideshow_page_update_transition_effect (SlideshowPage* self) {
single_photo_page_set_transition (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), effect_id, (gint) (effect_delay * 1000.0));
#line 406 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_free0 (effect_id);
-#line 2211 "SlideshowPage.c"
+#line 2213 "SlideshowPage.c"
}
@@ -2249,7 +2251,7 @@ static void slideshow_page_random_transition_effect (SlideshowPage* self) {
_tmp5__length1 = self->priv->transitions_length1;
#line 416 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (0 < _tmp5__length1) {
-#line 2251 "SlideshowPage.c"
+#line 2253 "SlideshowPage.c"
gint random = 0;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
@@ -2281,7 +2283,7 @@ static void slideshow_page_random_transition_effect (SlideshowPage* self) {
_g_free0 (effect_id);
#line 418 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
effect_id = _tmp11_;
-#line 2283 "SlideshowPage.c"
+#line 2285 "SlideshowPage.c"
}
#line 420 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp12_ = effect_id;
@@ -2291,7 +2293,7 @@ static void slideshow_page_random_transition_effect (SlideshowPage* self) {
single_photo_page_set_transition (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp12_, (gint) (_tmp13_ * 1000.0));
#line 413 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_free0 (effect_id);
-#line 2293 "SlideshowPage.c"
+#line 2295 "SlideshowPage.c"
}
@@ -2364,14 +2366,14 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
if (_tmp3_ == NULL) {
#line 428 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = TRUE;
-#line 2366 "SlideshowPage.c"
+#line 2368 "SlideshowPage.c"
} else {
const gchar* _tmp4_ = NULL;
#line 428 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp4_ = title;
#line 428 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = g_strcmp0 (_tmp4_, "") == 0;
-#line 2373 "SlideshowPage.c"
+#line 2375 "SlideshowPage.c"
}
#line 428 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp2_) {
@@ -2379,7 +2381,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_g_free0 (title);
#line 429 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return;
-#line 2381 "SlideshowPage.c"
+#line 2383 "SlideshowPage.c"
}
#line 431 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp5_ = title;
@@ -2447,7 +2449,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_tmp27_ = _tmp26_.height;
#line 445 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if ((_tmp24_ + _tmp25_) >= (_tmp27_ * 0.95)) {
-#line 2449 "SlideshowPage.c"
+#line 2451 "SlideshowPage.c"
Dimensions _tmp28_ = {0};
gint _tmp29_ = 0;
gint _tmp30_ = 0;
@@ -2459,7 +2461,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_tmp30_ = title_height;
#line 446 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
y = (_tmp29_ * 0.95) - _tmp30_;
-#line 2461 "SlideshowPage.c"
+#line 2463 "SlideshowPage.c"
}
#line 448 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp31_ = x;
@@ -2471,7 +2473,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_tmp34_ = _tmp33_.width;
#line 448 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if ((_tmp31_ + _tmp32_) >= (_tmp34_ * 0.95)) {
-#line 2473 "SlideshowPage.c"
+#line 2475 "SlideshowPage.c"
Dimensions _tmp35_ = {0};
gint _tmp36_ = 0;
gint _tmp37_ = 0;
@@ -2483,7 +2485,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_tmp37_ = title_width;
#line 449 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
x = (gdouble) ((_tmp36_ / 2) - (_tmp37_ / 2));
-#line 2485 "SlideshowPage.c"
+#line 2487 "SlideshowPage.c"
}
#line 451 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp38_ = ctx;
@@ -2529,7 +2531,7 @@ static void slideshow_page_paint_title (SlideshowPage* self, cairo_t* ctx, Dimen
_g_object_unref0 (layout);
#line 424 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_free0 (title);
-#line 2531 "SlideshowPage.c"
+#line 2533 "SlideshowPage.c"
}
@@ -2566,21 +2568,21 @@ static void slideshow_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, Dime
_g_object_unref0 (_tmp4_);
#line 463 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp6_) {
-#line 2568 "SlideshowPage.c"
+#line 2570 "SlideshowPage.c"
gboolean _tmp7_ = FALSE;
#line 463 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp7_ = single_photo_page_is_transition_in_progress (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
#line 463 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = !_tmp7_;
-#line 2574 "SlideshowPage.c"
+#line 2576 "SlideshowPage.c"
} else {
#line 463 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = FALSE;
-#line 2578 "SlideshowPage.c"
+#line 2580 "SlideshowPage.c"
}
#line 463 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp2_) {
-#line 2582 "SlideshowPage.c"
+#line 2584 "SlideshowPage.c"
cairo_t* _tmp8_ = NULL;
Dimensions _tmp9_ = {0};
#line 464 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -2589,7 +2591,7 @@ static void slideshow_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, Dime
_tmp9_ = *ctx_dim;
#line 464 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_paint_title (self, _tmp8_, &_tmp9_);
-#line 2591 "SlideshowPage.c"
+#line 2593 "SlideshowPage.c"
}
}
@@ -2599,14 +2601,14 @@ static gint _utf8_ci_compare_gcompare_data_func (gconstpointer a, gconstpointer
result = utf8_ci_compare (a, b);
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 2601 "SlideshowPage.c"
+#line 2603 "SlideshowPage.c"
}
static void _slideshow_page_settings_dialog_on_transition_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 84 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
slideshow_page_settings_dialog_on_transition_changed ((SlideshowPageSettingsDialog*) self);
-#line 2608 "SlideshowPage.c"
+#line 2610 "SlideshowPage.c"
}
@@ -2841,7 +2843,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 72 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
i = 1;
-#line 2843 "SlideshowPage.c"
+#line 2845 "SlideshowPage.c"
{
GeeIterator* _display_name_it = NULL;
TransitionEffectsManager* _tmp43_ = NULL;
@@ -2870,7 +2872,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
_display_name_it = _tmp48_;
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
while (TRUE) {
-#line 2872 "SlideshowPage.c"
+#line 2874 "SlideshowPage.c"
GeeIterator* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
gchar* display_name = NULL;
@@ -2896,7 +2898,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
if (!_tmp50_) {
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
break;
-#line 2898 "SlideshowPage.c"
+#line 2900 "SlideshowPage.c"
}
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp51_ = _display_name_it;
@@ -2914,7 +2916,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
_g_free0 (display_name);
#line 76 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
continue;
-#line 2916 "SlideshowPage.c"
+#line 2918 "SlideshowPage.c"
}
#line 78 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp55_ = self->priv->transition_effect_selector;
@@ -2942,7 +2944,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
_transition_effects_manager_unref0 (_tmp59_);
#line 79 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp63_) {
-#line 2944 "SlideshowPage.c"
+#line 2946 "SlideshowPage.c"
GtkComboBoxText* _tmp64_ = NULL;
gint _tmp65_ = 0;
#line 80 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
@@ -2951,7 +2953,7 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
_tmp65_ = i;
#line 80 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_combo_box_get_type (), GtkComboBox), _tmp65_);
-#line 2953 "SlideshowPage.c"
+#line 2955 "SlideshowPage.c"
}
#line 82 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp66_ = i;
@@ -2959,11 +2961,11 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
i = _tmp66_ + 1;
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_free0 (display_name);
-#line 2961 "SlideshowPage.c"
+#line 2963 "SlideshowPage.c"
}
#line 73 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_object_unref0 (_display_name_it);
-#line 2965 "SlideshowPage.c"
+#line 2967 "SlideshowPage.c"
}
#line 84 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp67_ = self->priv->transition_effect_selector;
@@ -3071,14 +3073,14 @@ static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_construct (GT
_g_object_unref0 (adjustment);
#line 37 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return self;
-#line 3073 "SlideshowPage.c"
+#line 3075 "SlideshowPage.c"
}
static SlideshowPageSettingsDialog* slideshow_page_settings_dialog_new (void) {
#line 37 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return slideshow_page_settings_dialog_construct (SLIDESHOW_PAGE_TYPE_SETTINGS_DIALOG);
-#line 3080 "SlideshowPage.c"
+#line 3082 "SlideshowPage.c"
}
@@ -3103,17 +3105,17 @@ static void slideshow_page_settings_dialog_on_transition_changed (SlideshowPageS
_tmp3_ = selected;
#line 110 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp3_ != NULL) {
-#line 3105 "SlideshowPage.c"
+#line 3107 "SlideshowPage.c"
const gchar* _tmp4_ = NULL;
#line 111 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp4_ = selected;
#line 111 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = g_strcmp0 (_tmp4_, TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID) != 0;
-#line 3111 "SlideshowPage.c"
+#line 3113 "SlideshowPage.c"
} else {
#line 110 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp2_ = FALSE;
-#line 3115 "SlideshowPage.c"
+#line 3117 "SlideshowPage.c"
}
#line 110 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
sensitive = _tmp2_;
@@ -3127,7 +3129,7 @@ static void slideshow_page_settings_dialog_on_transition_changed (SlideshowPageS
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), sensitive);
#line 108 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_g_free0 (selected);
-#line 3129 "SlideshowPage.c"
+#line 3131 "SlideshowPage.c"
}
@@ -3145,7 +3147,7 @@ static gdouble slideshow_page_settings_dialog_get_delay (SlideshowPageSettingsDi
result = _tmp1_;
#line 118 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 3147 "SlideshowPage.c"
+#line 3149 "SlideshowPage.c"
}
@@ -3163,7 +3165,7 @@ static gdouble slideshow_page_settings_dialog_get_transition_delay (SlideshowPag
result = _tmp1_;
#line 122 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 3165 "SlideshowPage.c"
+#line 3167 "SlideshowPage.c"
}
@@ -3194,7 +3196,7 @@ static gchar* slideshow_page_settings_dialog_get_transition_effect_id (Slideshow
_tmp2_ = active;
#line 127 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp2_ == NULL) {
-#line 3196 "SlideshowPage.c"
+#line 3198 "SlideshowPage.c"
gchar* _tmp3_ = NULL;
#line 128 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp3_ = g_strdup (TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID);
@@ -3204,7 +3206,7 @@ static gchar* slideshow_page_settings_dialog_get_transition_effect_id (Slideshow
_g_free0 (active);
#line 128 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 3206 "SlideshowPage.c"
+#line 3208 "SlideshowPage.c"
}
#line 130 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp4_ = transition_effects_manager_get_instance ();
@@ -3224,17 +3226,17 @@ static gchar* slideshow_page_settings_dialog_get_transition_effect_id (Slideshow
_tmp10_ = id;
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (_tmp10_ != NULL) {
-#line 3226 "SlideshowPage.c"
+#line 3228 "SlideshowPage.c"
const gchar* _tmp11_ = NULL;
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp11_ = id;
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp9_ = _tmp11_;
-#line 3232 "SlideshowPage.c"
+#line 3234 "SlideshowPage.c"
} else {
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp9_ = TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID;
-#line 3236 "SlideshowPage.c"
+#line 3238 "SlideshowPage.c"
}
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp12_ = g_strdup (_tmp9_);
@@ -3246,7 +3248,7 @@ static gchar* slideshow_page_settings_dialog_get_transition_effect_id (Slideshow
_g_free0 (active);
#line 132 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 3248 "SlideshowPage.c"
+#line 3250 "SlideshowPage.c"
}
@@ -3267,7 +3269,7 @@ static gboolean slideshow_page_settings_dialog_get_show_title (SlideshowPageSett
result = _tmp2_;
#line 136 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
return result;
-#line 3269 "SlideshowPage.c"
+#line 3271 "SlideshowPage.c"
}
@@ -3278,7 +3280,7 @@ static void slideshow_page_settings_dialog_class_init (SlideshowPageSettingsDial
g_type_class_add_private (klass, sizeof (SlideshowPageSettingsDialogPrivate));
#line 26 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
G_OBJECT_CLASS (klass)->finalize = slideshow_page_settings_dialog_finalize;
-#line 3280 "SlideshowPage.c"
+#line 3282 "SlideshowPage.c"
}
@@ -3287,7 +3289,7 @@ static void slideshow_page_settings_dialog_instance_init (SlideshowPageSettingsD
self->priv = SLIDESHOW_PAGE_SETTINGS_DIALOG_GET_PRIVATE (self);
#line 27 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
self->priv->builder = NULL;
-#line 3289 "SlideshowPage.c"
+#line 3291 "SlideshowPage.c"
}
@@ -3315,7 +3317,7 @@ static void slideshow_page_settings_dialog_finalize (GObject* obj) {
_g_object_unref0 (self->priv->pane);
#line 26 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
G_OBJECT_CLASS (slideshow_page_settings_dialog_parent_class)->finalize (obj);
-#line 3317 "SlideshowPage.c"
+#line 3319 "SlideshowPage.c"
}
@@ -3352,7 +3354,7 @@ static void slideshow_page_class_init (SlideshowPageClass * klass) {
G_OBJECT_CLASS (klass)->finalize = slideshow_page_finalize;
#line 7 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
g_signal_new ("hide_toolbar", TYPE_SLIDESHOW_PAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 3354 "SlideshowPage.c"
+#line 3356 "SlideshowPage.c"
}
@@ -3370,7 +3372,7 @@ static void slideshow_page_instance_init (SlideshowPage * self) {
self->priv->playing = TRUE;
#line 19 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
self->priv->exiting = FALSE;
-#line 3372 "SlideshowPage.c"
+#line 3374 "SlideshowPage.c"
}
@@ -3398,7 +3400,7 @@ static void slideshow_page_finalize (GObject* obj) {
_screensaver_unref0 (self->priv->screensaver);
#line 7 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
G_OBJECT_CLASS (slideshow_page_parent_class)->finalize (obj);
-#line 3400 "SlideshowPage.c"
+#line 3402 "SlideshowPage.c"
}