summaryrefslogtreecommitdiff
path: root/src/AppWindow.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:51:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-04-14 18:51:46 +0200
commit9e7cd144725a270e0460b21747619f447ca87684 (patch)
tree77916a766425839c1a2466afd2eb1244371b6b9b /src/AppWindow.c
parent3253d99365813f2d2ffd05e10cbb8c11f53d746e (diff)
New upstream version 0.26.1upstream/0.26.1
Diffstat (limited to 'src/AppWindow.c')
-rw-r--r--src/AppWindow.c1609
1 files changed, 810 insertions, 799 deletions
diff --git a/src/AppWindow.c b/src/AppWindow.c
index 9eab2b4..ca346cb 100644
--- a/src/AppWindow.c
+++ b/src/AppWindow.c
@@ -1,4 +1,4 @@
-/* AppWindow.c generated by valac 0.34.4, the Vala compiler
+/* AppWindow.c generated by valac 0.34.7, the Vala compiler
* generated from AppWindow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -11,10 +11,10 @@
#include <glib-object.h>
#include <gtk/gtk.h>
#include <time.h>
+#include <gdk/gdk.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
-#include <gdk/gdk.h>
#include <cairo.h>
#include <glib/gi18n-lib.h>
#include <float.h>
@@ -1494,15 +1494,15 @@ static void fullscreen_window_class_init (FullscreenWindowClass * klass) {
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_type_class_add_private (klass, sizeof (FullscreenWindowPrivate));
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->configure_event = fullscreen_window_real_configure_event;
+ ((GtkWidgetClass *) klass)->configure_event = (gboolean (*)(GtkWidget*, GdkEventConfigure*)) fullscreen_window_real_configure_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->key_press_event = fullscreen_window_real_key_press_event;
+ ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) fullscreen_window_real_key_press_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->destroy = fullscreen_window_real_destroy;
+ ((GtkWidgetClass *) klass)->destroy = (void (*)(GtkWidget*)) fullscreen_window_real_destroy;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->delete_event = fullscreen_window_real_delete_event;
+ ((GtkWidgetClass *) klass)->delete_event = (gboolean (*)(GtkWidget*, GdkEventAny*)) fullscreen_window_real_delete_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->motion_notify_event = fullscreen_window_real_motion_notify_event;
+ ((GtkWidgetClass *) klass)->motion_notify_event = (gboolean (*)(GtkWidget*, GdkEventMotion*)) fullscreen_window_real_motion_notify_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = fullscreen_window_finalize;
#line 1481 "AppWindow.c"
@@ -2255,21 +2255,21 @@ static void page_window_class_init (PageWindowClass * klass) {
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_type_class_add_private (klass, sizeof (PageWindowPrivate));
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((PageWindowClass *) klass)->switched_pages = page_window_real_switched_pages;
+ ((PageWindowClass *) klass)->switched_pages = (void (*)(PageWindow*, Page*, Page*)) page_window_real_switched_pages;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((PageWindowClass *) klass)->set_current_page = page_window_real_set_current_page;
+ ((PageWindowClass *) klass)->set_current_page = (void (*)(PageWindow*, Page*)) page_window_real_set_current_page;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((PageWindowClass *) klass)->clear_current_page = page_window_real_clear_current_page;
+ ((PageWindowClass *) klass)->clear_current_page = (void (*)(PageWindow*)) page_window_real_clear_current_page;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->key_press_event = page_window_real_key_press_event;
+ ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) page_window_real_key_press_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->key_release_event = page_window_real_key_release_event;
+ ((GtkWidgetClass *) klass)->key_release_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) page_window_real_key_release_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->focus_in_event = page_window_real_focus_in_event;
+ ((GtkWidgetClass *) klass)->focus_in_event = (gboolean (*)(GtkWidget*, GdkEventFocus*)) page_window_real_focus_in_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->focus_out_event = page_window_real_focus_out_event;
+ ((GtkWidgetClass *) klass)->focus_out_event = (gboolean (*)(GtkWidget*, GdkEventFocus*)) page_window_real_focus_out_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->configure_event = page_window_real_configure_event;
+ ((GtkWidgetClass *) klass)->configure_event = (gboolean (*)(GtkWidget*, GdkEventConfigure*)) page_window_real_configure_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = page_window_finalize;
#line 2248 "AppWindow.c"
@@ -3354,47 +3354,58 @@ void app_window_on_about (AppWindow* self) {
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
+ gchar* _tmp3_ = NULL;
+ gchar* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
+ GdkPixbuf* _tmp6_ = NULL;
+ GdkPixbuf* _tmp7_ = NULL;
+ const gchar* _tmp8_ = NULL;
#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _tmp0_ = app_window_get_app_role (self);
+ _tmp0_ = g_strdup_printf ("%s \u2013 “Aachen”", RESOURCES_APP_VERSION);
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _tmp2_ = _ ("Visit the Shotwell web site");
+ _tmp2_ = _ (_tmp1_);
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _tmp3_ = resources_get_icon (RESOURCES_ICON_ABOUT_LOGO, -1);
+ _tmp3_ = app_window_get_app_role (self);
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _tmp5_ = _ ("translator-credits");
+ _tmp5_ = _ ("Visit the Shotwell web site");
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_show_about_dialog (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), "version", RESOURCES_APP_VERSION " \u2013 \"Aachen\"", "comments", _tmp1_, "copyright", RESOURCES_COPYRIGHT, "website", RESOURCES_HOME_URL, "license", RESOURCES_LICENSE, "website-label", _tmp2_, "authors", RESOURCES_AUTHORS, "logo", _tmp4_, "artists", artists, "translator-credits", _tmp5_, NULL, NULL);
+ _tmp6_ = resources_get_icon (RESOURCES_ICON_ABOUT_LOGO, -1);
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_object_unref0 (_tmp4_);
+ _tmp7_ = _tmp6_;
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = _ ("translator-credits");
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_show_about_dialog (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), "version", _tmp2_, "comments", _tmp4_, "copyright", RESOURCES_COPYRIGHT, "website", RESOURCES_HOME_URL, "license", RESOURCES_LICENSE, "website-label", _tmp5_, "authors", RESOURCES_AUTHORS, "logo", _tmp7_, "artists", artists, "translator-credits", _tmp8_, NULL, NULL);
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp7_);
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp4_);
#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 3349 "AppWindow.c"
+#line 3360 "AppWindow.c"
}
static void app_window_on_help_contents (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3357 "AppWindow.c"
+#line 3368 "AppWindow.c"
{
GdkScreen* _tmp0_ = NULL;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
resources_launch_help (_tmp0_, NULL, &_inner_error_);
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3366 "AppWindow.c"
+#line 3377 "AppWindow.c"
goto __catch228_g_error;
}
}
@@ -3407,53 +3418,53 @@ static void app_window_on_help_contents (AppWindow* self) {
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _ ("Unable to display help: %s");
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = err;
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_->message;
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_strdup_printf (_tmp1_, _tmp3_);
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp5_, NULL);
-#line 613 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 614 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp5_);
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3399 "AppWindow.c"
+#line 3410 "AppWindow.c"
}
__finally228:
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3410 "AppWindow.c"
+#line 3421 "AppWindow.c"
}
}
static void app_window_on_help_report_problem (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3419 "AppWindow.c"
+#line 3430 "AppWindow.c"
{
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_BUG_DB_URL, &_inner_error_);
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3425 "AppWindow.c"
+#line 3436 "AppWindow.c"
goto __catch229_g_error;
}
}
@@ -3466,53 +3477,53 @@ static void app_window_on_help_report_problem (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to navigate to bug database: %s");
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 621 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 622 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3458 "AppWindow.c"
+#line 3469 "AppWindow.c"
}
__finally229:
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3469 "AppWindow.c"
+#line 3480 "AppWindow.c"
}
}
static void app_window_on_help_faq (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3478 "AppWindow.c"
+#line 3489 "AppWindow.c"
{
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_FAQ_URL, &_inner_error_);
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3484 "AppWindow.c"
+#line 3495 "AppWindow.c"
goto __catch230_g_error;
}
}
@@ -3525,38 +3536,38 @@ static void app_window_on_help_faq (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to display FAQ: %s");
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 629 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 630 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3517 "AppWindow.c"
+#line 3528 "AppWindow.c"
}
__finally230:
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3528 "AppWindow.c"
+#line 3539 "AppWindow.c"
}
}
@@ -3564,24 +3575,24 @@ static void app_window_on_help_faq (AppWindow* self) {
static void app_window_real_on_quit (AppWindow* self) {
Application* _tmp0_ = NULL;
Application* _tmp1_ = NULL;
-#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = application_get_instance ();
-#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
application_exit (_tmp1_);
-#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
_application_unref0 (_tmp1_);
-#line 3544 "AppWindow.c"
+#line 3555 "AppWindow.c"
}
void app_window_on_quit (AppWindow* self) {
-#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 634 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->on_quit (self);
-#line 3553 "AppWindow.c"
+#line 3564 "AppWindow.c"
}
@@ -3604,71 +3615,71 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp14_ = NULL;
MediaSource* _tmp15_ = NULL;
GError * _inner_error_ = NULL;
-#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page_get_view (_tmp1_);
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != 1;
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp3_);
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp5_) {
#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_) {
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3598 "AppWindow.c"
+#line 3609 "AppWindow.c"
}
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = view_collection_get_selected_at (_tmp9_, 0);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = data_view_get_source (_tmp11_);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp12_) : NULL;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp13_ == NULL) {
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp12_);
-#line 3620 "AppWindow.c"
+#line 3631 "AppWindow.c"
}
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = _tmp13_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
media = _tmp14_;
-#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = media;
-#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp15_ == NULL) {
#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3640 "AppWindow.c"
+#line 3651 "AppWindow.c"
}
{
AppWindow* _tmp16_ = NULL;
@@ -3676,25 +3687,25 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp18_ = NULL;
GFile* _tmp19_ = NULL;
GFile* _tmp20_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = app_window_get_instance ();
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = _tmp16_;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = media;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = media_source_get_master_file (_tmp18_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = _tmp19_;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_file_uri (_tmp17_, _tmp20_, &_inner_error_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp20_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp17_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3666 "AppWindow.c"
+#line 3677 "AppWindow.c"
goto __catch231_g_error;
}
}
@@ -3705,50 +3716,50 @@ void app_window_on_jump_to_file (AppWindow* self) {
GError* _tmp21_ = NULL;
gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = err;
-#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = resources_jump_to_file_failed (_tmp21_);
-#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = _tmp22_;
-#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp23_, NULL);
-#line 649 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 650 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp23_);
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3693 "AppWindow.c"
+#line 3704 "AppWindow.c"
}
__finally231:
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3706 "AppWindow.c"
+#line 3717 "AppWindow.c"
}
-#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 3710 "AppWindow.c"
+#line 3721 "AppWindow.c"
}
static void app_window_real_destroy (GtkWidget* base) {
AppWindow * self;
-#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
#line 654 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
+#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_quit (self);
-#line 3720 "AppWindow.c"
+#line 3731 "AppWindow.c"
}
@@ -3761,7 +3772,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 3733 "AppWindow.c"
+#line 3744 "AppWindow.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -3792,7 +3803,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3764 "AppWindow.c"
+#line 3775 "AppWindow.c"
goto __catch232_g_regex_error;
}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -3801,7 +3812,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 3773 "AppWindow.c"
+#line 3784 "AppWindow.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = regex;
@@ -3817,7 +3828,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3789 "AppWindow.c"
+#line 3800 "AppWindow.c"
goto __catch232_g_regex_error;
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -3828,7 +3839,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 3800 "AppWindow.c"
+#line 3811 "AppWindow.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
@@ -3842,7 +3853,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 3814 "AppWindow.c"
+#line 3825 "AppWindow.c"
}
goto __finally232;
__catch232_g_regex_error:
@@ -3856,7 +3867,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 3828 "AppWindow.c"
+#line 3839 "AppWindow.c"
}
__finally232:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -3867,7 +3878,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 3839 "AppWindow.c"
+#line 3850 "AppWindow.c"
}
}
@@ -3878,53 +3889,53 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
GError * _inner_error_ = NULL;
-#line 657 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 658 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 657 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 658 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = get_nautilus_install_location ();
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_ != NULL;
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_) {
-#line 3864 "AppWindow.c"
+#line 3875 "AppWindow.c"
GFile* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = file;
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_file_get_uri (_tmp3_);
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = string_replace (_tmp5_, "'", "\\\'");
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp6_;
-#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp5_);
#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp5_);
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = tmp;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
show_file_in_nautilus (_tmp7_, &_inner_error_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3896 "AppWindow.c"
+#line 3907 "AppWindow.c"
}
} else {
GFile* _tmp8_ = NULL;
@@ -3934,44 +3945,44 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = file;
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = g_file_get_parent (_tmp8_);
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = g_file_get_uri (_tmp10_);
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = _tmp11_;
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = string_replace (_tmp12_, "'", "\\\'");
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp13_;
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp12_);
-#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_object_unref0 (_tmp10_);
#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp10_);
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = tmp;
-#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, _tmp14_, &_inner_error_);
-#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 667 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 668 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3938 "AppWindow.c"
+#line 3949 "AppWindow.c"
}
}
-#line 657 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 658 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 3943 "AppWindow.c"
+#line 3954 "AppWindow.c"
}
@@ -3980,42 +3991,42 @@ void app_window_show_uri (AppWindow* self, const gchar* url, GError** error) {
GdkScreen* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
GError * _inner_error_ = NULL;
-#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (url != NULL);
#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (url != NULL);
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_screen (_tmp0_);
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = url;
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
sys_show_uri (_tmp1_, _tmp2_, &_inner_error_);
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 672 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3970 "AppWindow.c"
+#line 3981 "AppWindow.c"
}
}
static void app_window_real_add_actions (AppWindow* self) {
-#line 676 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), APP_WINDOW_common_actions, G_N_ELEMENTS (APP_WINDOW_common_actions), self);
-#line 3978 "AppWindow.c"
+#line 3989 "AppWindow.c"
}
void app_window_add_actions (AppWindow* self) {
-#line 675 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 676 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 675 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 676 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->add_actions (self);
-#line 3987 "AppWindow.c"
+#line 3998 "AppWindow.c"
}
@@ -4032,81 +4043,81 @@ void app_window_go_fullscreen (AppWindow* self, Page* page) {
FullscreenWindow* _tmp12_ = NULL;
FullscreenWindow* _tmp13_ = NULL;
FullscreenWindow* _tmp14_ = NULL;
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 4012 "AppWindow.c"
+#line 4023 "AppWindow.c"
FullscreenWindow* _tmp1_ = NULL;
-#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_fullscreen_window;
-#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
-#line 684 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4020 "AppWindow.c"
+#line 4031 "AppWindow.c"
}
-#line 687 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp2_, &_tmp3_);
-#line 687 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_x = _tmp2_;
-#line 687 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self->pos_y = _tmp3_;
#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self->pos_y = _tmp3_;
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = fullscreen_window_new (_tmp4_);
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp5_);
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
fsw = _tmp5_;
-#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_ != NULL;
-#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp8_) {
-#line 4048 "AppWindow.c"
+#line 4059 "AppWindow.c"
Page* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
FullscreenWindow* _tmp11_ = NULL;
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = fsw;
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_switching_to_fullscreen (_tmp10_, _tmp11_);
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp10_);
-#line 4062 "AppWindow.c"
+#line 4073 "AppWindow.c"
}
-#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = fsw;
-#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_fullscreen_window = _tmp13_;
#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_fullscreen_window = _tmp13_;
+#line 697 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = app_window_fullscreen_window;
-#line 696 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (fsw);
-#line 4078 "AppWindow.c"
+#line 4089 "AppWindow.c"
}
@@ -4119,65 +4130,65 @@ void app_window_end_fullscreen (AppWindow* self) {
gboolean _tmp5_ = FALSE;
FullscreenWindow* _tmp9_ = NULL;
FullscreenWindow* _tmp10_ = NULL;
-#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 700 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 700 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp0_ == NULL) {
#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp0_ == NULL) {
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4099 "AppWindow.c"
+#line 4110 "AppWindow.c"
}
-#line 703 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->pos_x;
-#line 703 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->pos_y;
-#line 703 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_move (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp1_, _tmp2_);
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != NULL;
-#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
-#line 4119 "AppWindow.c"
+#line 4130 "AppWindow.c"
Page* _tmp6_ = NULL;
Page* _tmp7_ = NULL;
FullscreenWindow* _tmp8_ = NULL;
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = app_window_fullscreen_window;
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_returning_from_fullscreen (_tmp7_, _tmp8_);
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 4133 "AppWindow.c"
+#line 4144 "AppWindow.c"
}
-#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = app_window_fullscreen_window;
-#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
+#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = app_window_fullscreen_window;
-#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
+#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_fullscreen_window = NULL;
-#line 714 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 4149 "AppWindow.c"
+#line 4160 "AppWindow.c"
}
@@ -4186,21 +4197,21 @@ GAction* app_window_get_common_action (AppWindow* self, const gchar* name) {
const gchar* _tmp0_ = NULL;
GAction* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
-#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (IS_APP_WINDOW (self), NULL);
-#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (name != NULL, NULL);
#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (name != NULL, NULL);
+#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), _tmp0_);
-#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp2_;
-#line 718 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4172 "AppWindow.c"
+#line 4183 "AppWindow.c"
}
@@ -4210,42 +4221,42 @@ void app_window_set_common_action_sensitive (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4196 "AppWindow.c"
+#line 4207 "AppWindow.c"
}
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4204 "AppWindow.c"
+#line 4215 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = sensitive;
-#line 724 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 4213 "AppWindow.c"
+#line 4224 "AppWindow.c"
}
-#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4217 "AppWindow.c"
+#line 4228 "AppWindow.c"
}
@@ -4255,45 +4266,45 @@ void app_window_set_common_action_important (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4241 "AppWindow.c"
+#line 4252 "AppWindow.c"
}
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4249 "AppWindow.c"
+#line 4260 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 730 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4261 "AppWindow.c"
+#line 4272 "AppWindow.c"
}
-#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4265 "AppWindow.c"
+#line 4276 "AppWindow.c"
}
@@ -4303,66 +4314,66 @@ void app_window_set_common_action_visible (AppWindow* self, const gchar* name, g
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4289 "AppWindow.c"
+#line 4300 "AppWindow.c"
}
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4297 "AppWindow.c"
+#line 4308 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 736 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4309 "AppWindow.c"
+#line 4320 "AppWindow.c"
}
-#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4313 "AppWindow.c"
+#line 4324 "AppWindow.c"
}
static void _app_window_on_update_common_actions_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4320 "AppWindow.c"
+#line 4331 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_selection_group_altered (ViewCollection* _sender, gpointer self) {
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4327 "AppWindow.c"
+#line 4338 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4334 "AppWindow.c"
+#line 4345 "AppWindow.c"
}
@@ -4374,23 +4385,23 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
Page* _tmp15_ = NULL;
Page* _tmp34_ = NULL;
Page* _tmp35_ = NULL;
-#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = old_page;
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = new_page;
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_action_availability (self, _tmp0_, _tmp1_);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = old_page;
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4362 "AppWindow.c"
+#line 4373 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -4403,49 +4414,49 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
guint _tmp14_ = 0U;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = old_page;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp6_, NULL, FALSE);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp5_);
#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp5_);
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = old_page;
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("selection-group-altered", TYPE_VIEW_COLLECTION, &_tmp10_, NULL, FALSE);
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self);
-#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp9_);
#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp9_);
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = old_page;
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _tmp12_;
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp14_, NULL, FALSE);
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self);
-#line 745 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp13_);
-#line 4411 "AppWindow.c"
+#line 4422 "AppWindow.c"
}
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = new_page;
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp15_ != NULL) {
-#line 4417 "AppWindow.c"
+#line 4428 "AppWindow.c"
Page* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
ViewCollection* _tmp18_ = NULL;
@@ -4464,135 +4475,135 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp31_ = NULL;
ViewCollection* _tmp32_ = NULL;
gint _tmp33_ = 0;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = new_page;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = page_get_view (_tmp16_);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = _tmp17_;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self, 0);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp18_);
#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp18_);
+#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = new_page;
-#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = page_get_view (_tmp19_);
-#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = _tmp20_;
-#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp21_, "selection-group-altered", (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self, 0);
-#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp21_);
#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp21_);
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = page_get_view (_tmp22_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp24_ = _tmp23_;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp24_, "items-state-changed", (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self, 0);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp24_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp25_ = new_page;
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp26_ = new_page;
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp27_ = page_get_view (_tmp26_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp28_ = _tmp27_;
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp29_ = view_collection_get_selected_count (_tmp28_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp30_ = new_page;
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp31_ = page_get_view (_tmp30_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp32_ = _tmp31_;
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp33_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_COLLECTION, DataCollection));
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp25_, _tmp29_, _tmp33_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp32_);
-#line 753 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 754 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp28_);
-#line 4490 "AppWindow.c"
+#line 4501 "AppWindow.c"
}
-#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 758 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = old_page;
-#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 758 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp35_ = new_page;
-#line 757 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 758 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_CLASS (app_window_parent_class)->switched_pages (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), _tmp34_, _tmp35_);
-#line 4498 "AppWindow.c"
+#line 4509 "AppWindow.c"
}
static void app_window_real_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
gboolean is_checkerboard = FALSE;
Page* _tmp0_ = NULL;
-#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = new_page;
-#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala"
is_checkerboard = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE);
-#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
#line 767 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
+#line 768 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectNone", is_checkerboard);
-#line 4517 "AppWindow.c"
+#line 4528 "AppWindow.c"
}
void app_window_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
-#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_action_availability (self, old_page, new_page);
-#line 4526 "AppWindow.c"
+#line 4537 "AppWindow.c"
}
static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
Page* _tmp0_ = NULL;
gint _tmp2_ = 0;
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_PAGE (page));
#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_PAGE (page));
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page;
-#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE)) {
-#line 4539 "AppWindow.c"
+#line 4550 "AppWindow.c"
gint _tmp1_ = 0;
-#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = count;
-#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectAll", _tmp1_ > 0);
-#line 4545 "AppWindow.c"
+#line 4556 "AppWindow.c"
}
-#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = selected_count;
-#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonJumpToFile", _tmp2_ == 1);
-#line 778 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_decorate_undo_action (self);
#line 779 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_decorate_undo_action (self);
+#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 4555 "AppWindow.c"
+#line 4566 "AppWindow.c"
}
void app_window_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_actions (self, page, selected_count, count);
-#line 4564 "AppWindow.c"
+#line 4575 "AppWindow.c"
}
@@ -4600,17 +4611,17 @@ static void app_window_on_update_common_actions (AppWindow* self) {
Page* page = NULL;
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
-#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
- page = _tmp0_;
#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ page = _tmp0_;
+#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = page;
-#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 4582 "AppWindow.c"
+#line 4593 "AppWindow.c"
Page* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -4620,35 +4631,35 @@ static void app_window_on_update_common_actions (AppWindow* self) {
ViewCollection* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = view_collection_get_selected_count (_tmp5_);
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = page;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection));
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp2_, _tmp6_, _tmp10_);
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 785 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 786 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4616 "AppWindow.c"
+#line 4627 "AppWindow.c"
}
-#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4620 "AppWindow.c"
+#line 4631 "AppWindow.c"
}
@@ -4663,61 +4674,61 @@ void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const
gint items = 0;
GMenu* _tmp6_ = NULL;
gint _tmp7_ = 0;
-#line 788 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 788 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (id != NULL);
-#line 788 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (new_label != NULL);
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page_get_menubar (_tmp1_);
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_menu_get_type ()) ? ((GMenu*) _tmp2_) : NULL;
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ == NULL) {
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 4653 "AppWindow.c"
+#line 4664 "AppWindow.c"
}
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
bar = _tmp4_;
-#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 793 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = bar;
-#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp5_ == NULL) {
#line 793 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_ == NULL) {
+#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (bar);
-#line 793 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 794 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4669 "AppWindow.c"
+#line 4680 "AppWindow.c"
}
-#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = bar;
-#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_menu_model_get_type (), GMenuModel));
-#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
items = _tmp7_;
-#line 4677 "AppWindow.c"
+#line 4688 "AppWindow.c"
{
gint i = 0;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
i = 0;
-#line 4682 "AppWindow.c"
+#line 4693 "AppWindow.c"
{
gboolean _tmp8_ = FALSE;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = TRUE;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
while (TRUE) {
-#line 4689 "AppWindow.c"
+#line 4700 "AppWindow.c"
gint _tmp10_ = 0;
gint _tmp11_ = 0;
GMenuModel* model = NULL;
@@ -4728,65 +4739,65 @@ void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const
gint model_items = 0;
GMenuModel* _tmp16_ = NULL;
gint _tmp17_ = 0;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp8_) {
-#line 4702 "AppWindow.c"
+#line 4713 "AppWindow.c"
gint _tmp9_ = 0;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = i;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
i = _tmp9_ + 1;
-#line 4708 "AppWindow.c"
+#line 4719 "AppWindow.c"
}
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = FALSE;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = i;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = items;
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!(_tmp10_ < _tmp11_)) {
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
break;
-#line 4720 "AppWindow.c"
+#line 4731 "AppWindow.c"
}
-#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = bar;
-#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = i;
-#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_menu_model_get_type (), GMenuModel), _tmp13_, G_MENU_LINK_SUBMENU);
-#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
- model = _tmp14_;
#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ model = _tmp14_;
+#line 800 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = bar;
-#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp15_ == NULL) {
#line 800 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 801 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (model);
-#line 800 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 801 "/home/jens/Source/shotwell/src/AppWindow.vala"
continue;
-#line 4738 "AppWindow.c"
+#line 4749 "AppWindow.c"
}
-#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = model;
-#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = g_menu_model_get_n_items (_tmp16_);
-#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
model_items = _tmp17_;
-#line 4746 "AppWindow.c"
+#line 4757 "AppWindow.c"
{
gint j = 0;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
j = 0;
-#line 4751 "AppWindow.c"
+#line 4762 "AppWindow.c"
{
gboolean _tmp18_ = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = TRUE;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
while (TRUE) {
-#line 4758 "AppWindow.c"
+#line 4769 "AppWindow.c"
gint _tmp20_ = 0;
gint _tmp21_ = 0;
GMenuModel* subsection = NULL;
@@ -4797,168 +4808,168 @@ void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const
gint sub_items = 0;
GMenuModel* _tmp26_ = NULL;
gint _tmp27_ = 0;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp18_) {
-#line 4771 "AppWindow.c"
+#line 4782 "AppWindow.c"
gint _tmp19_ = 0;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = j;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
j = _tmp19_ + 1;
-#line 4777 "AppWindow.c"
+#line 4788 "AppWindow.c"
}
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = j;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = model_items;
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!(_tmp20_ < _tmp21_)) {
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
break;
-#line 4789 "AppWindow.c"
+#line 4800 "AppWindow.c"
}
-#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = model;
-#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = j;
-#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp24_ = g_menu_model_get_item_link (_tmp22_, _tmp23_, G_MENU_LINK_SECTION);
-#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
subsection = _tmp24_;
-#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp25_ = subsection;
-#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp25_ == NULL) {
#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp25_ == NULL) {
+#line 809 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (subsection);
-#line 808 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/AppWindow.vala"
continue;
-#line 4807 "AppWindow.c"
+#line 4818 "AppWindow.c"
}
-#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp26_ = subsection;
-#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp27_ = g_menu_model_get_n_items (_tmp26_);
-#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
sub_items = _tmp27_;
-#line 4815 "AppWindow.c"
+#line 4826 "AppWindow.c"
{
gint k = 0;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
k = 0;
-#line 4820 "AppWindow.c"
+#line 4831 "AppWindow.c"
{
gboolean _tmp28_ = FALSE;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp28_ = TRUE;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
while (TRUE) {
-#line 4827 "AppWindow.c"
+#line 4838 "AppWindow.c"
gint _tmp30_ = 0;
gint _tmp31_ = 0;
GMenuAttributeIter* it = NULL;
GMenuModel* _tmp32_ = NULL;
gint _tmp33_ = 0;
GMenuAttributeIter* _tmp34_ = NULL;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp28_) {
-#line 4836 "AppWindow.c"
+#line 4847 "AppWindow.c"
gint _tmp29_ = 0;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp29_ = k;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
k = _tmp29_ + 1;
-#line 4842 "AppWindow.c"
+#line 4853 "AppWindow.c"
}
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp28_ = FALSE;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp30_ = k;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp31_ = sub_items;
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!(_tmp30_ < _tmp31_)) {
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
break;
-#line 4854 "AppWindow.c"
+#line 4865 "AppWindow.c"
}
-#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp32_ = subsection;
-#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp33_ = k;
-#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = g_menu_model_iterate_item_attributes (_tmp32_, _tmp33_);
-#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
- it = _tmp34_;
#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ it = _tmp34_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
while (TRUE) {
-#line 4866 "AppWindow.c"
+#line 4877 "AppWindow.c"
GMenuAttributeIter* _tmp35_ = NULL;
gboolean _tmp36_ = FALSE;
gboolean _tmp37_ = FALSE;
gboolean _tmp38_ = FALSE;
GMenuAttributeIter* _tmp39_ = NULL;
const gchar* _tmp40_ = NULL;
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp35_ = it;
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp36_ = g_menu_attribute_iter_next (_tmp35_);
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp36_) {
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
break;
-#line 4881 "AppWindow.c"
+#line 4892 "AppWindow.c"
}
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp39_ = it;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp40_ = g_menu_attribute_iter_get_name (_tmp39_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (g_strcmp0 (_tmp40_, "id") == 0) {
-#line 4889 "AppWindow.c"
+#line 4900 "AppWindow.c"
GMenuAttributeIter* _tmp41_ = NULL;
GVariant* _tmp42_ = NULL;
GVariant* _tmp43_ = NULL;
const gchar* _tmp44_ = NULL;
const gchar* _tmp45_ = NULL;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp41_ = it;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp42_ = g_menu_attribute_iter_get_value (_tmp41_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp43_ = _tmp42_;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp44_ = g_variant_get_string (_tmp43_, NULL);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp45_ = id;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp38_ = g_strcmp0 (_tmp44_, _tmp45_) == 0;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_variant_unref0 (_tmp43_);
-#line 4909 "AppWindow.c"
+#line 4920 "AppWindow.c"
} else {
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp38_ = FALSE;
-#line 4913 "AppWindow.c"
+#line 4924 "AppWindow.c"
}
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp38_) {
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp37_ = TRUE;
-#line 4919 "AppWindow.c"
+#line 4930 "AppWindow.c"
} else {
gboolean _tmp46_ = FALSE;
GMenuAttributeIter* _tmp47_ = NULL;
const gchar* _tmp48_ = NULL;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp47_ = it;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp48_ = g_menu_attribute_iter_get_name (_tmp47_);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (g_strcmp0 (_tmp48_, "action") == 0) {
-#line 4930 "AppWindow.c"
+#line 4941 "AppWindow.c"
GMenuAttributeIter* _tmp49_ = NULL;
GVariant* _tmp50_ = NULL;
GVariant* _tmp51_ = NULL;
@@ -4967,41 +4978,41 @@ void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const
gchar* _tmp54_ = NULL;
gchar* _tmp55_ = NULL;
gboolean _tmp56_ = FALSE;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp49_ = it;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp50_ = g_menu_attribute_iter_get_value (_tmp49_);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp51_ = _tmp50_;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp52_ = g_variant_get_string (_tmp51_, NULL);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp53_ = id;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp54_ = g_strconcat (".", _tmp53_, NULL);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp55_ = _tmp54_;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp56_ = g_str_has_suffix (_tmp52_, _tmp55_);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp46_ = _tmp56_;
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp55_);
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_variant_unref0 (_tmp51_);
-#line 4961 "AppWindow.c"
+#line 4972 "AppWindow.c"
} else {
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp46_ = FALSE;
-#line 4965 "AppWindow.c"
+#line 4976 "AppWindow.c"
}
-#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp37_ = _tmp46_;
-#line 4969 "AppWindow.c"
+#line 4980 "AppWindow.c"
}
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp37_) {
-#line 4973 "AppWindow.c"
+#line 4984 "AppWindow.c"
GMenu* md = NULL;
GMenuModel* _tmp57_ = NULL;
GMenu* _tmp58_ = NULL;
@@ -5016,85 +5027,85 @@ void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const
GMenu* _tmp66_ = NULL;
gint _tmp67_ = 0;
GMenuItem* _tmp68_ = NULL;
-#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp57_ = subsection;
-#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, g_menu_get_type ()) ? ((GMenu*) _tmp57_) : NULL);
-#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
- md = _tmp58_;
#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ md = _tmp58_;
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp59_ = subsection;
-#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp60_ = k;
-#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp61_ = g_menu_item_new_from_model (_tmp59_, _tmp60_);
-#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
- m = _tmp61_;
#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ m = _tmp61_;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp62_ = m;
-#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp63_ = new_label;
-#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_menu_item_set_label (_tmp62_, _tmp63_);
#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_item_set_label (_tmp62_, _tmp63_);
+#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp64_ = md;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp65_ = k;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_menu_remove (_tmp64_, _tmp65_);
#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_remove (_tmp64_, _tmp65_);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp66_ = md;
-#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp67_ = k;
-#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp68_ = m;
-#line 821 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_menu_insert_item (_tmp66_, _tmp67_, _tmp68_);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (m);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (md);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (it);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (subsection);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (model);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (bar);
-#line 823 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 5036 "AppWindow.c"
+#line 5047 "AppWindow.c"
}
}
-#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (it);
-#line 5041 "AppWindow.c"
+#line 5052 "AppWindow.c"
}
}
}
-#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (subsection);
-#line 5047 "AppWindow.c"
+#line 5058 "AppWindow.c"
}
}
}
-#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (model);
-#line 5053 "AppWindow.c"
+#line 5064 "AppWindow.c"
}
}
}
-#line 788 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (bar);
-#line 5059 "AppWindow.c"
+#line 5070 "AppWindow.c"
}
static gpointer _command_manager_ref0 (gpointer self) {
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self ? command_manager_ref (self) : NULL;
-#line 5066 "AppWindow.c"
+#line 5077 "AppWindow.c"
}
@@ -5102,26 +5113,26 @@ CommandManager* app_window_get_command_manager (void) {
CommandManager* result = NULL;
CommandManager* _tmp0_ = NULL;
CommandManager* _tmp1_ = NULL;
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _command_manager_ref0 (_tmp0_);
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 5082 "AppWindow.c"
+#line 5093 "AppWindow.c"
}
static void app_window_on_command_manager_altered (AppWindow* self) {
-#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_decorate_undo_action (self);
+ g_return_if_fail (IS_APP_WINDOW (self));
#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_decorate_undo_action (self);
+#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 5093 "AppWindow.c"
+#line 5104 "AppWindow.c"
}
@@ -5137,51 +5148,51 @@ static void app_window_decorate_command_manager_action (AppWindow* self, const g
CommandDescription* _tmp6_ = NULL;
const gchar* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (name != NULL);
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (prefix != NULL);
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (default_explanation != NULL);
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((desc == NULL) || IS_COMMAND_DESCRIPTION (desc));
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 5129 "AppWindow.c"
+#line 5140 "AppWindow.c"
}
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp3_ == NULL) {
#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp3_ == NULL) {
+#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 846 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 5141 "AppWindow.c"
+#line 5152 "AppWindow.c"
}
-#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = prefix;
-#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = g_strdup (_tmp4_);
-#line 849 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
label = _tmp5_;
-#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = desc;
-#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp6_ != NULL) {
-#line 5153 "AppWindow.c"
+#line 5164 "AppWindow.c"
const gchar* _tmp7_ = NULL;
CommandDescription* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -5190,62 +5201,62 @@ static void app_window_decorate_command_manager_action (AppWindow* self, const g
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
GSimpleAction* _tmp14_ = NULL;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = label;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = desc;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = command_description_get_name (_tmp8_);
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = g_strconcat (" ", _tmp10_, NULL);
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = _tmp11_;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = g_strconcat (_tmp7_, _tmp12_, NULL);
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (label);
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
label = _tmp13_;
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp12_);
-#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp10_);
#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp10_);
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = action;
-#line 853 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp14_, TRUE);
-#line 5188 "AppWindow.c"
+#line 5199 "AppWindow.c"
} else {
const gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
GSimpleAction* _tmp17_ = NULL;
-#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = prefix;
-#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = g_strdup (_tmp15_);
-#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (label);
-#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
- label = _tmp16_;
#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp16_;
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = action;
-#line 856 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp17_, FALSE);
-#line 5205 "AppWindow.c"
+#line 5216 "AppWindow.c"
}
-#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = name;
-#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = label;
-#line 858 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_menu_item_label (self, _tmp18_, _tmp19_);
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (label);
-#line 842 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 5217 "AppWindow.c"
+#line 5228 "AppWindow.c"
}
@@ -5254,23 +5265,23 @@ void app_window_decorate_undo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_undo_description (_tmp1_);
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonUndo", RESOURCES_UNDO_MENU, "", _tmp3_);
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 862 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 5242 "AppWindow.c"
+#line 5253 "AppWindow.c"
}
@@ -5279,47 +5290,47 @@ void app_window_decorate_redo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_redo_description (_tmp1_);
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonRedo", RESOURCES_REDO_MENU, "", _tmp3_);
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 867 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 5267 "AppWindow.c"
+#line 5278 "AppWindow.c"
}
static void app_window_on_undo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 872 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 873 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 872 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 873 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_undo (_tmp0_);
-#line 5279 "AppWindow.c"
+#line 5290 "AppWindow.c"
}
static void app_window_on_redo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 876 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 876 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 877 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_redo (_tmp0_);
-#line 5291 "AppWindow.c"
+#line 5302 "AppWindow.c"
}
@@ -5328,43 +5339,43 @@ static void app_window_on_select_all (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 5310 "AppWindow.c"
+#line 5321 "AppWindow.c"
}
-#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
- page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
+#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 5318 "AppWindow.c"
+#line 5329 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_select_all (_tmp5_);
-#line 882 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 5332 "AppWindow.c"
+#line 5343 "AppWindow.c"
}
-#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 5336 "AppWindow.c"
+#line 5347 "AppWindow.c"
}
@@ -5373,43 +5384,43 @@ static void app_window_on_select_none (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 5355 "AppWindow.c"
+#line 5366 "AppWindow.c"
}
-#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
- page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
+#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 5363 "AppWindow.c"
+#line 5374 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_unselect_all (_tmp5_);
-#line 888 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 889 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 5377 "AppWindow.c"
+#line 5388 "AppWindow.c"
}
-#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 5381 "AppWindow.c"
+#line 5392 "AppWindow.c"
}
@@ -5421,40 +5432,40 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig
gboolean _tmp2_ = FALSE;
GdkEventConfigure* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_state (_tmp0_);
-#line 892 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->maximized = _tmp1_ == GDK_WINDOW_STATE_MAXIMIZED;
-#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->maximized;
-#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 5407 "AppWindow.c"
+#line 5418 "AppWindow.c"
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp3_, &_tmp4_);
-#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.width = _tmp3_;
-#line 895 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.height = _tmp4_;
-#line 5416 "AppWindow.c"
+#line 5427 "AppWindow.c"
}
-#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = event;
-#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = GTK_WIDGET_CLASS (app_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
-#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp6_;
-#line 897 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 898 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 5426 "AppWindow.c"
+#line 5437 "AppWindow.c"
}
@@ -5462,26 +5473,26 @@ static void app_window_class_init (AppWindowClass * klass) {
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_parent_class = g_type_class_peek_parent (klass);
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->on_fullscreen = app_window_real_on_fullscreen;
+ ((AppWindowClass *) klass)->on_fullscreen = (void (*)(AppWindow*)) app_window_real_on_fullscreen;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->get_app_role = app_window_real_get_app_role;
+ ((AppWindowClass *) klass)->get_app_role = (gchar* (*)(AppWindow*)) app_window_real_get_app_role;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->on_quit = app_window_real_on_quit;
+ ((AppWindowClass *) klass)->on_quit = (void (*)(AppWindow*)) app_window_real_on_quit;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->destroy = app_window_real_destroy;
+ ((GtkWidgetClass *) klass)->destroy = (void (*)(GtkWidget*)) app_window_real_destroy;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->add_actions = app_window_real_add_actions;
+ ((AppWindowClass *) klass)->add_actions = (void (*)(AppWindow*)) app_window_real_add_actions;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((PageWindowClass *) klass)->switched_pages = app_window_real_switched_pages;
+ ((PageWindowClass *) klass)->switched_pages = (void (*)(PageWindow*, Page*, Page*)) app_window_real_switched_pages;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->update_common_action_availability = app_window_real_update_common_action_availability;
+ ((AppWindowClass *) klass)->update_common_action_availability = (void (*)(AppWindow*, Page*, Page*)) app_window_real_update_common_action_availability;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((AppWindowClass *) klass)->update_common_actions = app_window_real_update_common_actions;
+ ((AppWindowClass *) klass)->update_common_actions = (void (*)(AppWindow*, Page*, gint, gint)) app_window_real_update_common_actions;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
- ((GtkWidgetClass *) klass)->configure_event = app_window_real_configure_event;
+ ((GtkWidgetClass *) klass)->configure_event = (gboolean (*)(GtkWidget*, GdkEventConfigure*)) app_window_real_configure_event;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = app_window_finalize;
-#line 5453 "AppWindow.c"
+#line 5464 "AppWindow.c"
}
@@ -5492,7 +5503,7 @@ static void app_window_instance_init (AppWindow * self) {
self->pos_x = 0;
#line 405 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_y = 0;
-#line 5464 "AppWindow.c"
+#line 5475 "AppWindow.c"
}
@@ -5502,7 +5513,7 @@ static void app_window_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_APP_WINDOW, AppWindow);
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (app_window_parent_class)->finalize (obj);
-#line 5474 "AppWindow.c"
+#line 5485 "AppWindow.c"
}