summaryrefslogtreecommitdiff
path: root/src/Page.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:55:20 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:55:20 +0100
commitf6140ff1c9ec493d947da5b346508846e7a1a06f (patch)
treec01b9164ee4b0d46b6670ccee45f6181c6237d7f /src/Page.c
parent0f67b3cc674377559e66c5a6729fd499049a992f (diff)
parent2492891f112caac6076ce49721d9d5d78a152c3a (diff)
Update upstream source from tag 'upstream/0.26.4'
Update to upstream version '0.26.4' with Debian dir fae3cc48a8ec2f37979206f90dc828cbebee14c4
Diffstat (limited to 'src/Page.c')
-rw-r--r--src/Page.c10787
1 files changed, 5445 insertions, 5342 deletions
diff --git a/src/Page.c b/src/Page.c
index dd27679..c6a223c 100644
--- a/src/Page.c
+++ b/src/Page.c
@@ -1,4 +1,4 @@
-/* Page.c generated by valac 0.34.7, the Vala compiler
+/* Page.c generated by valac 0.36.6, the Vala compiler
* generated from Page.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -16,9 +16,9 @@
#include <gio/gio.h>
#include <gdk/gdk.h>
#include <cairo.h>
-#include <glib/gi18n-lib.h>
#include <float.h>
#include <math.h>
+#include <glib/gi18n-lib.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <pango/pango.h>
#include <pango/pangocairo.h>
@@ -903,8 +903,8 @@ void injection_group_add_separator (InjectionGroup* self);
enum {
INJECTION_GROUP_ELEMENT_DUMMY_PROPERTY
};
-static void injection_group_element_finalize (InjectionGroupElement* obj);
-static void injection_group_finalize (InjectionGroup* obj);
+static void injection_group_element_finalize (InjectionGroupElement * obj);
+static void injection_group_finalize (InjectionGroup * obj);
GType page_get_type (void) G_GNUC_CONST;
GType page_window_get_type (void) G_GNUC_CONST;
GType fullscreen_window_get_type (void) G_GNUC_CONST;
@@ -1156,7 +1156,7 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type);
static gboolean page_on_hide_cursor (Page* self);
static gboolean _page_on_hide_cursor_gsource_func (gpointer self);
void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label);
-static void page_finalize (GObject* obj);
+static void page_finalize (GObject * obj);
GType checkerboard_page_get_type (void) G_GNUC_CONST;
GType thumbnail_view_get_type (void) G_GNUC_CONST;
GType checkerboard_item_get_type (void) G_GNUC_CONST;
@@ -1306,7 +1306,7 @@ void data_collection_thaw_notifications (DataCollection* self);
void checkerboard_page_set_display_comments (CheckerboardPage* self, gboolean display);
static void checkerboard_page_real_set_display_comments (CheckerboardPage* self, gboolean display);
#define CHECKERBOARD_ITEM_PROP_SHOW_COMMENTS "show-comments"
-static void checkerboard_page_finalize (GObject* obj);
+static void checkerboard_page_finalize (GObject * obj);
GType single_photo_page_get_type (void) G_GNUC_CONST;
GType zoom_buffer_get_type (void) G_GNUC_CONST;
GType single_photo_page_update_reason_get_type (void) G_GNUC_CONST;
@@ -1423,7 +1423,7 @@ static void single_photo_page_real_on_previous_photo (SinglePhotoPage* self);
void single_photo_page_on_next_photo (SinglePhotoPage* self);
static void single_photo_page_real_on_next_photo (SinglePhotoPage* self);
static gboolean single_photo_page_real_key_press_event (GtkWidget* base, GdkEventKey* event);
-static void single_photo_page_finalize (GObject* obj);
+static void single_photo_page_finalize (GObject * obj);
gpointer drag_and_drop_handler_ref (gpointer instance);
void drag_and_drop_handler_unref (gpointer instance);
GParamSpec* param_spec_drag_and_drop_handler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -1482,7 +1482,7 @@ ExporterUI* exporter_ui_construct (GType object_type, Exporter* exporter);
void exporter_ui_export (ExporterUI* self, ExporterCompletionCallback completion_callback, void* completion_callback_target);
static void drag_and_drop_handler_on_export_completed (DragAndDropHandler* self);
static void _drag_and_drop_handler_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self);
-static void drag_and_drop_handler_finalize (DragAndDropHandler* obj);
+static void drag_and_drop_handler_finalize (DragAndDropHandler * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
@@ -1490,8 +1490,8 @@ static const GtkTargetEntry DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES[2] = {{"
InjectionGroup* injection_group_construct (GType object_type, const gchar* path) {
InjectionGroup* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 31 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (path != NULL, NULL);
#line 31 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1519,8 +1519,8 @@ InjectionGroup* injection_group_new (const gchar* path) {
gchar* injection_group_get_path (InjectionGroup* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 35 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_INJECTION_GROUP (self), NULL);
#line 36 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1544,8 +1544,8 @@ static gpointer _g_object_ref0 (gpointer self) {
GeeList* injection_group_get_elements (InjectionGroup* self) {
GeeList* result = NULL;
- GeeArrayList* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
+ GeeArrayList* _tmp0_;
+ GeeList* _tmp1_;
#line 39 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_INJECTION_GROUP (self), NULL);
#line 40 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1561,12 +1561,12 @@ GeeList* injection_group_get_elements (InjectionGroup* self) {
void injection_group_add_menu_item (InjectionGroup* self, const gchar* name, const gchar* action, const gchar* accellerator) {
- GeeArrayList* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- InjectionGroupElement* _tmp4_ = NULL;
- InjectionGroupElement* _tmp5_ = NULL;
+ GeeArrayList* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+ InjectionGroupElement* _tmp4_;
+ InjectionGroupElement* _tmp5_;
#line 43 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_INJECTION_GROUP (self));
#line 43 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1592,11 +1592,11 @@ void injection_group_add_menu_item (InjectionGroup* self, const gchar* name, con
void injection_group_add_menu (InjectionGroup* self, const gchar* name, const gchar* action) {
- GeeArrayList* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- InjectionGroupElement* _tmp3_ = NULL;
- InjectionGroupElement* _tmp4_ = NULL;
+ GeeArrayList* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
+ InjectionGroupElement* _tmp3_;
+ InjectionGroupElement* _tmp4_;
#line 47 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_INJECTION_GROUP (self));
#line 47 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1620,12 +1620,12 @@ void injection_group_add_menu (InjectionGroup* self, const gchar* name, const gc
void injection_group_add_separator (InjectionGroup* self) {
- GeeArrayList* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- InjectionGroupElement* _tmp4_ = NULL;
- InjectionGroupElement* _tmp5_ = NULL;
+ GeeArrayList* _tmp0_;
+ gint _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ InjectionGroupElement* _tmp4_;
+ InjectionGroupElement* _tmp5_;
#line 51 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_INJECTION_GROUP (self));
#line 52 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1666,14 +1666,14 @@ GType injection_group_element_item_type_get_type (void) {
InjectionGroupElement* injection_group_element_construct (GType object_type, const gchar* name, const gchar* action, const gchar* accellerator, InjectionGroupElementItemType kind) {
InjectionGroupElement* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- InjectionGroupElementItemType _tmp9_ = 0;
+ const gchar* _tmp3_;
+ gchar* _tmp6_;
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
+ InjectionGroupElementItemType _tmp9_;
#line 19 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 19 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1691,14 +1691,14 @@ InjectionGroupElement* injection_group_element_construct (GType object_type, con
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
#line 1694 "Page.c"
- const gchar* _tmp4_ = NULL;
+ const gchar* _tmp4_;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp4_;
#line 1700 "Page.c"
} else {
- const gchar* _tmp5_ = NULL;
+ const gchar* _tmp5_;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = name;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1778,7 +1778,7 @@ static gchar* injection_group_value_element_collect_value (GValue* value, guint
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
#line 1781 "Page.c"
- InjectionGroupElement* object;
+ InjectionGroupElement * object;
object = collect_values[0].v_pointer;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
@@ -1805,7 +1805,7 @@ static gchar* injection_group_value_element_collect_value (GValue* value, guint
static gchar* injection_group_value_element_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- InjectionGroupElement** object_p;
+ InjectionGroupElement ** object_p;
object_p = collect_values[0].v_pointer;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (!object_p) {
@@ -1857,7 +1857,7 @@ gpointer injection_group_value_get_element (const GValue* value) {
void injection_group_value_set_element (GValue* value, gpointer v_object) {
- InjectionGroupElement* old;
+ InjectionGroupElement * old;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, INJECTION_GROUP_TYPE_ELEMENT));
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1888,7 +1888,7 @@ void injection_group_value_set_element (GValue* value, gpointer v_object) {
void injection_group_value_take_element (GValue* value, gpointer v_object) {
- InjectionGroupElement* old;
+ InjectionGroupElement * old;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, INJECTION_GROUP_TYPE_ELEMENT));
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
@@ -1932,7 +1932,7 @@ static void injection_group_element_instance_init (InjectionGroupElement * self)
}
-static void injection_group_element_finalize (InjectionGroupElement* obj) {
+static void injection_group_element_finalize (InjectionGroupElement * obj) {
InjectionGroupElement * self;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, INJECTION_GROUP_TYPE_ELEMENT, InjectionGroupElement);
@@ -1963,7 +1963,7 @@ GType injection_group_element_get_type (void) {
gpointer injection_group_element_ref (gpointer instance) {
- InjectionGroupElement* self;
+ InjectionGroupElement * self;
self = instance;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
g_atomic_int_inc (&self->ref_count);
@@ -1974,7 +1974,7 @@ gpointer injection_group_element_ref (gpointer instance) {
void injection_group_element_unref (gpointer instance) {
- InjectionGroupElement* self;
+ InjectionGroupElement * self;
self = instance;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -2029,7 +2029,7 @@ static gchar* value_injection_group_collect_value (GValue* value, guint n_collec
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
#line 2032 "Page.c"
- InjectionGroup* object;
+ InjectionGroup * object;
object = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
@@ -2056,7 +2056,7 @@ static gchar* value_injection_group_collect_value (GValue* value, guint n_collec
static gchar* value_injection_group_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- InjectionGroup** object_p;
+ InjectionGroup ** object_p;
object_p = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (!object_p) {
@@ -2108,7 +2108,7 @@ gpointer value_get_injection_group (const GValue* value) {
void value_set_injection_group (GValue* value, gpointer v_object) {
- InjectionGroup* old;
+ InjectionGroup * old;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INJECTION_GROUP));
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2139,7 +2139,7 @@ void value_set_injection_group (GValue* value, gpointer v_object) {
void value_take_injection_group (GValue* value, gpointer v_object) {
- InjectionGroup* old;
+ InjectionGroup * old;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INJECTION_GROUP));
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2179,7 +2179,7 @@ static void injection_group_class_init (InjectionGroupClass * klass) {
static void injection_group_instance_init (InjectionGroup * self) {
- GeeArrayList* _tmp0_ = NULL;
+ GeeArrayList* _tmp0_;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = INJECTION_GROUP_GET_PRIVATE (self);
#line 28 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2194,7 +2194,7 @@ static void injection_group_instance_init (InjectionGroup * self) {
}
-static void injection_group_finalize (InjectionGroup* obj) {
+static void injection_group_finalize (InjectionGroup * obj) {
InjectionGroup * self;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_INJECTION_GROUP, InjectionGroup);
@@ -2223,7 +2223,7 @@ GType injection_group_get_type (void) {
gpointer injection_group_ref (gpointer instance) {
- InjectionGroup* self;
+ InjectionGroup * self;
self = instance;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
g_atomic_int_inc (&self->ref_count);
@@ -2234,7 +2234,7 @@ gpointer injection_group_ref (gpointer instance) {
void injection_group_unref (gpointer instance) {
- InjectionGroup* self;
+ InjectionGroup * self;
self = instance;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -2265,12 +2265,12 @@ static void _page_attach_view_signals_gtk_widget_realize (GtkWidget* _sender, gp
Page* page_construct (GType object_type, const gchar* page_name) {
Page * self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ ViewCollection* _tmp5_;
GdkPoint _tmp6_ = {0};
#line 89 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
@@ -2318,12 +2318,12 @@ Page* page_construct (GType object_type, const gchar* page_name) {
static void page_real_destroy (GtkWidget* base) {
Page * self;
- gboolean _tmp0_ = FALSE;
- ViewCollection* _tmp1_ = NULL;
- GtkToolbar* _tmp2_ = NULL;
- OneShotScheduler* _tmp4_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ gboolean _tmp0_;
+ ViewCollection* _tmp1_;
+ GtkToolbar* _tmp2_;
+ OneShotScheduler* _tmp4_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
#line 111 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE, Page);
#line 112 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2349,7 +2349,7 @@ static void page_real_destroy (GtkWidget* base) {
#line 123 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
#line 2352 "Page.c"
- GtkToolbar* _tmp3_ = NULL;
+ GtkToolbar* _tmp3_;
#line 124 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->toolbar;
#line 124 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2361,7 +2361,7 @@ static void page_real_destroy (GtkWidget* base) {
#line 127 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
#line 2364 "Page.c"
- OneShotScheduler* _tmp5_ = NULL;
+ OneShotScheduler* _tmp5_;
#line 128 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->update_actions_scheduler;
#line 128 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2386,8 +2386,8 @@ static void page_real_destroy (GtkWidget* base) {
gchar* page_get_page_name (Page* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 137 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 138 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2403,8 +2403,8 @@ gchar* page_get_page_name (Page* self) {
static void page_real_set_page_name (Page* self, const gchar* page_name) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 141 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (page_name != NULL);
#line 142 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2430,8 +2430,8 @@ void page_set_page_name (Page* self, const gchar* page_name) {
gchar* page_to_string (Page* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 145 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 146 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2455,8 +2455,8 @@ static gpointer _data_collection_ref0 (gpointer self) {
ViewCollection* page_get_view (Page* self) {
ViewCollection* result = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
#line 149 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 150 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2473,8 +2473,8 @@ ViewCollection* page_get_view (Page* self) {
GtkWindow* page_get_container (Page* self) {
GtkWindow* result = NULL;
- GtkWindow* _tmp0_ = NULL;
- GtkWindow* _tmp1_ = NULL;
+ GtkWindow* _tmp0_;
+ GtkWindow* _tmp1_;
#line 153 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 154 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2490,9 +2490,9 @@ GtkWindow* page_get_container (Page* self) {
static void page_real_set_container (Page* self, GtkWindow* container) {
- GtkWindow* _tmp0_ = NULL;
- GtkWindow* _tmp1_ = NULL;
- GtkWindow* _tmp2_ = NULL;
+ GtkWindow* _tmp0_;
+ GtkWindow* _tmp1_;
+ GtkWindow* _tmp2_;
#line 157 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GTK_IS_WINDOW (container));
#line 158 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2591,17 +2591,17 @@ static void _page_on_event_source_realize_gtk_widget_realize (GtkWidget* _sender
void page_set_event_source (Page* self, GtkWidget* event_source) {
- GtkWidget* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- GtkWidget* _tmp3_ = NULL;
- GtkWidget* _tmp4_ = NULL;
- GtkWidget* _tmp5_ = NULL;
- GtkWidget* _tmp6_ = NULL;
- GtkWidget* _tmp7_ = NULL;
- GtkWidget* _tmp8_ = NULL;
- GtkWidget* _tmp9_ = NULL;
- GtkWidget* _tmp10_ = NULL;
+ GtkWidget* _tmp0_;
+ GtkWidget* _tmp1_;
+ GtkWidget* _tmp2_;
+ GtkWidget* _tmp3_;
+ GtkWidget* _tmp4_;
+ GtkWidget* _tmp5_;
+ GtkWidget* _tmp6_;
+ GtkWidget* _tmp7_;
+ GtkWidget* _tmp8_;
+ GtkWidget* _tmp9_;
+ GtkWidget* _tmp10_;
#line 167 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 167 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2625,7 +2625,7 @@ void page_set_event_source (Page* self, GtkWidget* event_source) {
#line 174 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event_source;
#line 174 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_widget_add_events (_tmp4_, (gint) ((((((GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK) | GDK_POINTER_MOTION_MASK) | GDK_POINTER_MOTION_HINT_MASK) | GDK_BUTTON_MOTION_MASK) | GDK_LEAVE_NOTIFY_MASK) | GDK_SCROLL_MASK));
+ gtk_widget_add_events (_tmp4_, (gint) (((((((GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK) | GDK_POINTER_MOTION_MASK) | GDK_POINTER_MOTION_HINT_MASK) | GDK_BUTTON_MOTION_MASK) | GDK_LEAVE_NOTIFY_MASK) | GDK_SCROLL_MASK) | GDK_SMOOTH_SCROLL_MASK));
#line 178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event_source;
#line 178 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2655,17 +2655,17 @@ void page_set_event_source (Page* self, GtkWidget* event_source) {
static void page_detach_event_source (Page* self) {
- GtkWidget* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
- guint _tmp2_ = 0U;
- GtkWidget* _tmp3_ = NULL;
- guint _tmp4_ = 0U;
- GtkWidget* _tmp5_ = NULL;
- guint _tmp6_ = 0U;
- GtkWidget* _tmp7_ = NULL;
- guint _tmp8_ = 0U;
- GtkWidget* _tmp9_ = NULL;
- guint _tmp10_ = 0U;
+ GtkWidget* _tmp0_;
+ GtkWidget* _tmp1_;
+ guint _tmp2_;
+ GtkWidget* _tmp3_;
+ guint _tmp4_;
+ GtkWidget* _tmp5_;
+ guint _tmp6_;
+ GtkWidget* _tmp7_;
+ guint _tmp8_;
+ GtkWidget* _tmp9_;
+ guint _tmp10_;
#line 186 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 187 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2718,8 +2718,8 @@ static void page_detach_event_source (Page* self) {
GtkWidget* page_get_event_source (Page* self) {
GtkWidget* result = NULL;
- GtkWidget* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
+ GtkWidget* _tmp0_;
+ GtkWidget* _tmp1_;
#line 201 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 202 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2744,11 +2744,11 @@ static gpointer _injection_group_ref0 (gpointer self) {
GMenuModel* page_get_menubar (Page* self) {
GMenuModel* result = NULL;
GMenu* model = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GObject* _tmp1_ = NULL;
- GMenu* _tmp2_ = NULL;
- GMenu* _tmp3_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GtkBuilder* _tmp0_;
+ GObject* _tmp1_;
+ GMenu* _tmp2_;
+ GMenu* _tmp3_;
+ gboolean _tmp5_;
#line 206 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 207 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2764,7 +2764,7 @@ GMenuModel* page_get_menubar (Page* self) {
#line 208 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == NULL) {
#line 2767 "Page.c"
- GMenu* _tmp4_ = NULL;
+ GMenu* _tmp4_;
#line 209 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = g_menu_new ();
#line 209 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2781,12 +2781,12 @@ GMenuModel* page_get_menubar (Page* self) {
if (!_tmp5_) {
#line 2783 "Page.c"
InjectionGroup** injection_groups = NULL;
- gint _tmp6_ = 0;
- InjectionGroup** _tmp7_ = NULL;
- gint injection_groups_length1 = 0;
- gint _injection_groups_size_ = 0;
- InjectionGroup** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
+ gint _tmp6_;
+ InjectionGroup** _tmp7_;
+ gint injection_groups_length1;
+ gint _injection_groups_size_;
+ InjectionGroup** _tmp8_;
+ gint _tmp8__length1;
#line 214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_init_collect_injection_groups (self, &_tmp6_);
#line 214 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2812,7 +2812,7 @@ GMenuModel* page_get_menubar (Page* self) {
#line 215 "/home/jens/Source/shotwell/src/Page.vala"
for (group_it = 0; group_it < _tmp8__length1; group_it = group_it + 1) {
#line 2815 "Page.c"
- InjectionGroup* _tmp9_ = NULL;
+ InjectionGroup* _tmp9_;
InjectionGroup* group = NULL;
#line 215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _injection_group_ref0 (group_collection[group_it]);
@@ -2821,8 +2821,8 @@ GMenuModel* page_get_menubar (Page* self) {
#line 2822 "Page.c"
{
gint items = 0;
- GMenu* _tmp10_ = NULL;
- gint _tmp11_ = 0;
+ GMenu* _tmp10_;
+ gint _tmp11_;
#line 216 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = model;
#line 216 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2842,24 +2842,24 @@ GMenuModel* page_get_menubar (Page* self) {
#line 217 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
#line 2845 "Page.c"
- gint _tmp14_ = 0;
- gint _tmp15_ = 0;
+ gint _tmp14_;
+ gint _tmp15_;
GMenuModel* submenu = NULL;
- GMenu* _tmp16_ = NULL;
- gint _tmp17_ = 0;
- GMenuModel* _tmp18_ = NULL;
+ GMenu* _tmp16_;
+ gint _tmp17_;
+ GMenuModel* _tmp18_;
GMenuModel* section = NULL;
- GMenuModel* _tmp19_ = NULL;
- InjectionGroup* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
- GMenuModel* _tmp23_ = NULL;
- GMenuModel* _tmp24_ = NULL;
- GMenuModel* _tmp25_ = NULL;
+ GMenuModel* _tmp19_;
+ InjectionGroup* _tmp20_;
+ gchar* _tmp21_;
+ gchar* _tmp22_;
+ GMenuModel* _tmp23_;
+ GMenuModel* _tmp24_;
+ GMenuModel* _tmp25_;
#line 217 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp12_) {
#line 2862 "Page.c"
- gint _tmp13_ = 0;
+ gint _tmp13_;
#line 217 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = i;
#line 217 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2916,12 +2916,12 @@ GMenuModel* page_get_menubar (Page* self) {
}
{
GeeList* _element_list = NULL;
- InjectionGroup* _tmp26_ = NULL;
- GeeList* _tmp27_ = NULL;
+ InjectionGroup* _tmp26_;
+ GeeList* _tmp27_;
gint _element_size = 0;
- GeeList* _tmp28_ = NULL;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
+ GeeList* _tmp28_;
+ gint _tmp29_;
+ gint _tmp30_;
gint _element_index = 0;
#line 227 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = group;
@@ -2942,18 +2942,18 @@ GMenuModel* page_get_menubar (Page* self) {
#line 227 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
#line 2945 "Page.c"
- gint _tmp31_ = 0;
- gint _tmp32_ = 0;
- gint _tmp33_ = 0;
+ gint _tmp31_;
+ gint _tmp32_;
+ gint _tmp33_;
InjectionGroupElement* element = NULL;
- GeeList* _tmp34_ = NULL;
- gint _tmp35_ = 0;
- gpointer _tmp36_ = NULL;
+ GeeList* _tmp34_;
+ gint _tmp35_;
+ gpointer _tmp36_;
GMenu* menu = NULL;
- GMenuModel* _tmp37_ = NULL;
- GMenu* _tmp38_ = NULL;
- InjectionGroupElement* _tmp39_ = NULL;
- InjectionGroupElementItemType _tmp40_ = 0;
+ GMenuModel* _tmp37_;
+ GMenu* _tmp38_;
+ InjectionGroupElement* _tmp39_;
+ InjectionGroupElementItemType _tmp40_;
#line 227 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _element_index;
#line 227 "/home/jens/Source/shotwell/src/Page.vala"
@@ -2993,18 +2993,18 @@ GMenuModel* page_get_menubar (Page* self) {
#line 2994 "Page.c"
{
GMenuItem* item = NULL;
- InjectionGroupElement* _tmp41_ = NULL;
- const gchar* _tmp42_ = NULL;
- InjectionGroupElement* _tmp43_ = NULL;
- const gchar* _tmp44_ = NULL;
- gchar* _tmp45_ = NULL;
- gchar* _tmp46_ = NULL;
- GMenuItem* _tmp47_ = NULL;
- GMenuItem* _tmp48_ = NULL;
- InjectionGroupElement* _tmp49_ = NULL;
- const gchar* _tmp50_ = NULL;
- GMenu* _tmp54_ = NULL;
- GMenuItem* _tmp55_ = NULL;
+ InjectionGroupElement* _tmp41_;
+ const gchar* _tmp42_;
+ InjectionGroupElement* _tmp43_;
+ const gchar* _tmp44_;
+ gchar* _tmp45_;
+ gchar* _tmp46_;
+ GMenuItem* _tmp47_;
+ GMenuItem* _tmp48_;
+ InjectionGroupElement* _tmp49_;
+ const gchar* _tmp50_;
+ GMenu* _tmp54_;
+ GMenuItem* _tmp55_;
#line 231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = element;
#line 231 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3032,9 +3032,9 @@ GMenuModel* page_get_menubar (Page* self) {
#line 233 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp50_ != NULL) {
#line 3035 "Page.c"
- GMenuItem* _tmp51_ = NULL;
- InjectionGroupElement* _tmp52_ = NULL;
- const gchar* _tmp53_ = NULL;
+ GMenuItem* _tmp51_;
+ InjectionGroupElement* _tmp52_;
+ const gchar* _tmp53_;
#line 234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = item;
#line 234 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3104,26 +3104,26 @@ GMenuModel* page_get_menubar (Page* self) {
static GtkToolbar* page_real_get_toolbar (Page* self) {
GtkToolbar* result = NULL;
- GtkToolbar* _tmp0_ = NULL;
- GtkToolbar* _tmp12_ = NULL;
- GtkToolbar* _tmp13_ = NULL;
+ GtkToolbar* _tmp0_;
+ GtkToolbar* _tmp12_;
+ GtkToolbar* _tmp13_;
#line 255 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->toolbar;
#line 255 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
#line 3115 "Page.c"
GtkToolbar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- GtkToolbar* _tmp8_ = NULL;
- GtkToolbar* _tmp9_ = NULL;
- GtkStyleContext* _tmp10_ = NULL;
- GtkToolbar* _tmp11_ = NULL;
+ const gchar* _tmp2_;
+ GtkToolbar* _tmp8_;
+ GtkToolbar* _tmp9_;
+ GtkStyleContext* _tmp10_;
+ GtkToolbar* _tmp11_;
#line 256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->toolbar_path;
#line 256 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
#line 3126 "Page.c"
- GtkToolbar* _tmp3_ = NULL;
+ GtkToolbar* _tmp3_;
#line 256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = (GtkToolbar*) gtk_toolbar_new ();
#line 256 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3134,10 +3134,10 @@ static GtkToolbar* page_real_get_toolbar (Page* self) {
_tmp1_ = _tmp3_;
#line 3136 "Page.c"
} else {
- GtkBuilder* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- GObject* _tmp6_ = NULL;
- GtkToolbar* _tmp7_ = NULL;
+ GtkBuilder* _tmp4_;
+ const gchar* _tmp5_;
+ GObject* _tmp6_;
+ GtkToolbar* _tmp7_;
#line 257 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->builder;
#line 257 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3214,10 +3214,10 @@ GtkMenu* page_get_page_context_menu (Page* self) {
static void page_real_switching_from (Page* self) {
GActionMap* map = NULL;
- GtkWindow* _tmp0_ = NULL;
- GActionMap* _tmp1_ = NULL;
- GActionMap* _tmp2_ = NULL;
- const gchar* _tmp4_ = NULL;
+ GtkWindow* _tmp0_;
+ GActionMap* _tmp1_;
+ GActionMap* _tmp2_;
+ const gchar* _tmp4_;
#line 270 "/home/jens/Source/shotwell/src/Page.vala"
self->in_view = FALSE;
#line 272 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3237,7 +3237,7 @@ static void page_real_switching_from (Page* self) {
#line 273 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
#line 3240 "Page.c"
- GActionMap* _tmp3_ = NULL;
+ GActionMap* _tmp3_;
#line 274 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = map;
#line 274 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3271,19 +3271,19 @@ void page_switching_from (Page* self) {
static void page_real_switched_to (Page* self) {
GActionMap* map = NULL;
- GtkWindow* _tmp0_ = NULL;
- GActionMap* _tmp1_ = NULL;
- GActionMap* _tmp2_ = NULL;
+ GtkWindow* _tmp0_;
+ GActionMap* _tmp1_;
+ GActionMap* _tmp2_;
gint selected_count = 0;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
gint count = 0;
- ViewCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+ ViewCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
#line 281 "/home/jens/Source/shotwell/src/Page.vala"
self->in_view = TRUE;
#line 282 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3305,7 +3305,7 @@ static void page_real_switched_to (Page* self) {
#line 284 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
#line 3308 "Page.c"
- GActionMap* _tmp3_ = NULL;
+ GActionMap* _tmp3_;
#line 285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = map;
#line 285 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3372,7 +3372,7 @@ void page_ready (Page* self) {
gboolean page_is_in_view (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 297 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 298 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3386,7 +3386,7 @@ gboolean page_is_in_view (Page* self) {
static void page_real_switching_to_fullscreen (Page* self, FullscreenWindow* fsw) {
- FullscreenWindow* _tmp0_ = NULL;
+ FullscreenWindow* _tmp0_;
#line 301 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_FULLSCREEN_WINDOW (fsw));
#line 302 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3407,7 +3407,7 @@ void page_switching_to_fullscreen (Page* self, FullscreenWindow* fsw) {
static void page_real_returning_from_fullscreen (Page* self, FullscreenWindow* fsw) {
- FullscreenWindow* _tmp0_ = NULL;
+ FullscreenWindow* _tmp0_;
#line 305 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_FULLSCREEN_WINDOW (fsw));
#line 306 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3432,8 +3432,8 @@ void page_returning_from_fullscreen (Page* self, FullscreenWindow* fsw) {
GAction* page_get_action (Page* self, const gchar* name) {
GAction* result = NULL;
GActionMap* map = NULL;
- GtkWindow* _tmp0_ = NULL;
- GActionMap* _tmp5_ = NULL;
+ GtkWindow* _tmp0_;
+ GActionMap* _tmp5_;
#line 310 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 310 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3445,8 +3445,8 @@ GAction* page_get_action (Page* self, const gchar* name) {
#line 312 "/home/jens/Source/shotwell/src/Page.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_FULLSCREEN_WINDOW)) {
#line 3448 "Page.c"
- GtkWindow* _tmp1_ = NULL;
- GActionMap* _tmp2_ = NULL;
+ GtkWindow* _tmp1_;
+ GActionMap* _tmp2_;
#line 313 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->container;
#line 313 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3457,8 +3457,8 @@ GAction* page_get_action (Page* self, const gchar* name) {
map = _tmp2_;
#line 3459 "Page.c"
} else {
- AppWindow* _tmp3_ = NULL;
- GActionMap* _tmp4_ = NULL;
+ AppWindow* _tmp3_;
+ GActionMap* _tmp4_;
#line 315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = app_window_get_instance ();
#line 315 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3480,10 +3480,10 @@ GAction* page_get_action (Page* self, const gchar* name) {
#line 318 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ != NULL) {
#line 3483 "Page.c"
- GActionMap* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- GAction* _tmp8_ = NULL;
- GAction* _tmp9_ = NULL;
+ GActionMap* _tmp6_;
+ const gchar* _tmp7_;
+ GAction* _tmp8_;
+ GAction* _tmp9_;
#line 319 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = map;
#line 319 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3512,10 +3512,10 @@ GAction* page_get_action (Page* self, const gchar* name) {
void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
#line 325 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 325 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3539,8 +3539,8 @@ void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitiv
#line 327 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
#line 3542 "Page.c"
- GSimpleAction* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GSimpleAction* _tmp4_;
+ gboolean _tmp5_;
#line 328 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 328 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3556,8 +3556,8 @@ void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitiv
void page_set_action_important (Page* self, const gchar* name, gboolean important) {
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
#line 331 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 331 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3573,8 +3573,8 @@ void page_set_action_important (Page* self, const gchar* name, gboolean importan
void page_set_action_visible (Page* self, const gchar* name, gboolean visible) {
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
#line 335 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 335 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3590,7 +3590,7 @@ void page_set_action_visible (Page* self, const gchar* name, gboolean visible) {
void page_set_action_short_label (Page* self, const gchar* name, const gchar* short_label) {
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 339 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 339 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3607,13 +3607,13 @@ void page_set_action_short_label (Page* self, const gchar* name, const gchar* sh
void page_set_action_details (Page* self, const gchar* name, const gchar* label, const gchar* tooltip, gboolean sensitive) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- GSimpleAction* _tmp7_ = NULL;
- gboolean _tmp8_ = FALSE;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
+ const gchar* _tmp4_;
+ GSimpleAction* _tmp7_;
+ gboolean _tmp8_;
#line 343 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 343 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3647,8 +3647,8 @@ void page_set_action_details (Page* self, const gchar* name, const gchar* label,
#line 349 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
#line 3650 "Page.c"
- const gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
+ const gchar* _tmp5_;
+ const gchar* _tmp6_;
#line 350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = name;
#line 350 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3671,9 +3671,9 @@ void page_set_action_details (Page* self, const gchar* name, const gchar* label,
void page_activate_action (Page* self, const gchar* name) {
GAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GAction* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GAction* _tmp2_;
#line 355 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 355 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3689,7 +3689,7 @@ void page_activate_action (Page* self, const gchar* name) {
#line 358 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
#line 3692 "Page.c"
- GAction* _tmp3_ = NULL;
+ GAction* _tmp3_;
#line 359 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
#line 359 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3705,10 +3705,10 @@ void page_activate_action (Page* self, const gchar* name) {
GAction* page_get_common_action (Page* self, const gchar* name, gboolean log_warning) {
GAction* result = NULL;
GAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GAction* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GAction* _tmp2_;
+ gboolean _tmp3_;
#line 362 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 362 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3734,9 +3734,9 @@ GAction* page_get_common_action (Page* self, const gchar* name, gboolean log_war
#line 368 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
#line 3737 "Page.c"
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ const gchar* _tmp6_;
#line 369 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_page_name (self);
#line 369 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3761,10 +3761,10 @@ GAction* page_get_common_action (Page* self, const gchar* name, gboolean log_war
void page_set_common_action_sensitive (Page* self, const gchar* name, gboolean sensitive) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
#line 374 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 374 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3788,8 +3788,8 @@ void page_set_common_action_sensitive (Page* self, const gchar* name, gboolean s
#line 376 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
#line 3791 "Page.c"
- GSimpleAction* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GSimpleAction* _tmp4_;
+ gboolean _tmp5_;
#line 377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 377 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3805,7 +3805,7 @@ void page_set_common_action_sensitive (Page* self, const gchar* name, gboolean s
void page_set_common_action_label (Page* self, const gchar* name, const gchar* label) {
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 380 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 380 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3821,7 +3821,7 @@ void page_set_common_action_label (Page* self, const gchar* name, const gchar* l
void page_set_common_action_important (Page* self, const gchar* name, gboolean important) {
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 384 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 384 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3836,10 +3836,10 @@ void page_set_common_action_important (Page* self, const gchar* name, gboolean i
void page_activate_common_action (Page* self, const gchar* name) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
#line 388 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 388 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3863,7 +3863,7 @@ void page_activate_common_action (Page* self, const gchar* name) {
#line 390 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
#line 3866 "Page.c"
- GSimpleAction* _tmp4_ = NULL;
+ GSimpleAction* _tmp4_;
#line 391 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 391 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3878,7 +3878,7 @@ void page_activate_common_action (Page* self, const gchar* name) {
gboolean page_get_ctrl_pressed (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 394 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 395 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3893,7 +3893,7 @@ gboolean page_get_ctrl_pressed (Page* self) {
gboolean page_get_alt_pressed (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 398 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 399 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3908,7 +3908,7 @@ gboolean page_get_alt_pressed (Page* self) {
gboolean page_get_shift_pressed (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 402 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 403 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3923,7 +3923,7 @@ gboolean page_get_shift_pressed (Page* self) {
gboolean page_get_super_pressed (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 406 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 407 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3945,10 +3945,10 @@ static GVariant* _variant_new20 (gboolean value) {
void page_set_action_active (Page* self, const gchar* name, gboolean active) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ GAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
#line 410 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 410 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3972,9 +3972,9 @@ void page_set_action_active (Page* self, const gchar* name, gboolean active) {
#line 412 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
#line 3975 "Page.c"
- GSimpleAction* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
- GVariant* _tmp6_ = NULL;
+ GSimpleAction* _tmp4_;
+ gboolean _tmp5_;
+ GVariant* _tmp6_;
#line 413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 413 "/home/jens/Source/shotwell/src/Page.vala"
@@ -3999,26 +3999,26 @@ static gboolean page_get_modifiers (Page* self, gboolean* ctrl, gboolean* alt, g
gboolean _vala_shift = FALSE;
gboolean _vala_super = FALSE;
gboolean result = FALSE;
- AppWindow* _tmp0_ = NULL;
- AppWindow* _tmp1_ = NULL;
- GdkWindow* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ AppWindow* _tmp0_;
+ AppWindow* _tmp1_;
+ GdkWindow* _tmp2_;
+ gboolean _tmp3_;
gint x = 0;
gint y = 0;
GdkModifierType mask = 0;
- AppWindow* _tmp4_ = NULL;
- AppWindow* _tmp5_ = NULL;
- GdkWindow* _tmp6_ = NULL;
- GdkDisplay* _tmp7_ = NULL;
- GdkDeviceManager* _tmp8_ = NULL;
- GdkDevice* _tmp9_ = NULL;
+ AppWindow* _tmp4_;
+ AppWindow* _tmp5_;
+ GdkWindow* _tmp6_;
+ GdkDisplay* _tmp7_;
+ GdkDeviceManager* _tmp8_;
+ GdkDevice* _tmp9_;
gint _tmp10_ = 0;
gint _tmp11_ = 0;
GdkModifierType _tmp12_ = 0;
- GdkModifierType _tmp13_ = 0;
- GdkModifierType _tmp14_ = 0;
- GdkModifierType _tmp15_ = 0;
- GdkModifierType _tmp16_ = 0;
+ GdkModifierType _tmp13_;
+ GdkModifierType _tmp14_;
+ GdkModifierType _tmp15_;
+ GdkModifierType _tmp16_;
#line 417 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 418 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4150,19 +4150,19 @@ static void page_update_modifiers (Page* self) {
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
+ gboolean _tmp4_;
gboolean _tmp5_ = FALSE;
- gboolean _tmp6_ = FALSE;
+ gboolean _tmp6_;
gboolean _tmp11_ = FALSE;
- gboolean _tmp12_ = FALSE;
+ gboolean _tmp12_;
gboolean _tmp17_ = FALSE;
- gboolean _tmp18_ = FALSE;
+ gboolean _tmp18_;
gboolean _tmp23_ = FALSE;
- gboolean _tmp24_ = FALSE;
- gboolean _tmp29_ = FALSE;
- gboolean _tmp30_ = FALSE;
- gboolean _tmp31_ = FALSE;
- gboolean _tmp32_ = FALSE;
+ gboolean _tmp24_;
+ gboolean _tmp29_;
+ gboolean _tmp30_;
+ gboolean _tmp31_;
+ gboolean _tmp32_;
#line 440 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 443 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4186,7 +4186,7 @@ static void page_update_modifiers (Page* self) {
#line 448 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
#line 4189 "Page.c"
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp7_;
#line 448 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = ctrl_currently_pressed;
#line 448 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4204,13 +4204,13 @@ static void page_update_modifiers (Page* self) {
#line 4205 "Page.c"
} else {
gboolean _tmp8_ = FALSE;
- gboolean _tmp9_ = FALSE;
+ gboolean _tmp9_;
#line 450 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->ctrl_pressed;
#line 450 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp9_) {
#line 4213 "Page.c"
- gboolean _tmp10_ = FALSE;
+ gboolean _tmp10_;
#line 450 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = ctrl_currently_pressed;
#line 450 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4233,7 +4233,7 @@ static void page_update_modifiers (Page* self) {
#line 453 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_) {
#line 4236 "Page.c"
- gboolean _tmp13_ = FALSE;
+ gboolean _tmp13_;
#line 453 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = alt_currently_pressed;
#line 453 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4251,13 +4251,13 @@ static void page_update_modifiers (Page* self) {
#line 4252 "Page.c"
} else {
gboolean _tmp14_ = FALSE;
- gboolean _tmp15_ = FALSE;
+ gboolean _tmp15_;
#line 455 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->alt_pressed;
#line 455 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp15_) {
#line 4260 "Page.c"
- gboolean _tmp16_ = FALSE;
+ gboolean _tmp16_;
#line 455 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
#line 455 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4280,7 +4280,7 @@ static void page_update_modifiers (Page* self) {
#line 458 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_) {
#line 4283 "Page.c"
- gboolean _tmp19_ = FALSE;
+ gboolean _tmp19_;
#line 458 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = shift_currently_pressed;
#line 458 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4298,13 +4298,13 @@ static void page_update_modifiers (Page* self) {
#line 4299 "Page.c"
} else {
gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
+ gboolean _tmp21_;
#line 460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = self->priv->shift_pressed;
#line 460 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
#line 4307 "Page.c"
- gboolean _tmp22_ = FALSE;
+ gboolean _tmp22_;
#line 460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = shift_currently_pressed;
#line 460 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4327,7 +4327,7 @@ static void page_update_modifiers (Page* self) {
#line 463 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_) {
#line 4330 "Page.c"
- gboolean _tmp25_ = FALSE;
+ gboolean _tmp25_;
#line 463 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = super_currently_pressed;
#line 463 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4345,13 +4345,13 @@ static void page_update_modifiers (Page* self) {
#line 4346 "Page.c"
} else {
gboolean _tmp26_ = FALSE;
- gboolean _tmp27_ = FALSE;
+ gboolean _tmp27_;
#line 465 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
#line 465 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp27_) {
#line 4354 "Page.c"
- gboolean _tmp28_ = FALSE;
+ gboolean _tmp28_;
#line 465 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = super_currently_pressed;
#line 465 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4392,9 +4392,9 @@ static void page_update_modifiers (Page* self) {
PageWindow* page_get_page_window (Page* self) {
PageWindow* result = NULL;
GtkWidget* p = NULL;
- GtkContainer* _tmp0_ = NULL;
- GtkContainer* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
+ GtkContainer* _tmp0_;
+ GtkContainer* _tmp1_;
+ GtkWidget* _tmp2_;
#line 474 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 475 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4408,12 +4408,12 @@ PageWindow* page_get_page_window (Page* self) {
#line 476 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
#line 4411 "Page.c"
- GtkWidget* _tmp3_ = NULL;
- GtkWidget* _tmp4_ = NULL;
- GtkWidget* _tmp7_ = NULL;
- GtkContainer* _tmp8_ = NULL;
- GtkContainer* _tmp9_ = NULL;
- GtkWidget* _tmp10_ = NULL;
+ GtkWidget* _tmp3_;
+ GtkWidget* _tmp4_;
+ GtkWidget* _tmp7_;
+ GtkContainer* _tmp8_;
+ GtkContainer* _tmp9_;
+ GtkWidget* _tmp10_;
#line 476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = p;
#line 476 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4427,8 +4427,8 @@ PageWindow* page_get_page_window (Page* self) {
#line 477 "/home/jens/Source/shotwell/src/Page.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_PAGE_WINDOW)) {
#line 4430 "Page.c"
- GtkWidget* _tmp5_ = NULL;
- PageWindow* _tmp6_ = NULL;
+ GtkWidget* _tmp5_;
+ PageWindow* _tmp6_;
#line 478 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = p;
#line 478 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4467,7 +4467,7 @@ PageWindow* page_get_page_window (Page* self) {
CommandManager* page_get_command_manager (Page* self) {
CommandManager* result = NULL;
- CommandManager* _tmp0_ = NULL;
+ CommandManager* _tmp0_;
#line 486 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
#line 487 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4528,13 +4528,13 @@ static GVariant* _variant_new22 (gboolean value) {
void page_on_action_toggle (Page* self, GAction* action, GVariant* value) {
GVariant* new_state = NULL;
- GAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- GVariant* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
- GAction* _tmp6_ = NULL;
+ GAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+ GVariant* _tmp4_;
+ GVariant* _tmp5_;
+ GAction* _tmp6_;
#line 493 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 493 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4566,8 +4566,8 @@ void page_on_action_toggle (Page* self, GAction* action, GVariant* value) {
void page_on_action_radio (Page* self, GAction* action, GVariant* value) {
- GAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
+ GAction* _tmp0_;
+ GVariant* _tmp1_;
#line 498 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 498 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4584,11 +4584,11 @@ void page_on_action_radio (Page* self, GAction* action, GVariant* value) {
static void page_add_ui (Page* self) {
GeeList* ui_filenames = NULL;
- GeeArrayList* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ GeeArrayList* _tmp0_;
+ GeeList* _tmp1_;
+ GeeList* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
#line 502 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 504 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4608,8 +4608,8 @@ static void page_add_ui (Page* self) {
#line 506 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == 0) {
#line 4611 "Page.c"
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
#line 507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_page_name (self);
#line 507 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4622,12 +4622,12 @@ static void page_add_ui (Page* self) {
}
{
GeeList* _ui_filename_list = NULL;
- GeeList* _tmp7_ = NULL;
- GeeList* _tmp8_ = NULL;
+ GeeList* _tmp7_;
+ GeeList* _tmp8_;
gint _ui_filename_size = 0;
- GeeList* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+ GeeList* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
gint _ui_filename_index = 0;
#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = ui_filenames;
@@ -4648,14 +4648,14 @@ static void page_add_ui (Page* self) {
#line 509 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
#line 4651 "Page.c"
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
+ gint _tmp12_;
+ gint _tmp13_;
+ gint _tmp14_;
gchar* ui_filename = NULL;
- GeeList* _tmp15_ = NULL;
- gint _tmp16_ = 0;
- gpointer _tmp17_ = NULL;
- const gchar* _tmp18_ = NULL;
+ GeeList* _tmp15_;
+ gint _tmp16_;
+ gpointer _tmp17_;
+ const gchar* _tmp18_;
#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _ui_filename_index;
#line 509 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4697,8 +4697,8 @@ static void page_add_ui (Page* self) {
void page_init_toolbar (Page* self, const gchar* path) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 515 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 515 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4744,29 +4744,29 @@ static void _page_on_update_actions_data_collection_contents_altered (DataCollec
static void page_attach_view_signals (Page* self) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
gint selected_count = 0;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
gint count = 0;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
- ViewCollection* _tmp13_ = NULL;
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- ViewCollection* _tmp17_ = NULL;
- ViewCollection* _tmp18_ = NULL;
- ViewCollection* _tmp19_ = NULL;
- ViewCollection* _tmp20_ = NULL;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
+ ViewCollection* _tmp13_;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ ViewCollection* _tmp16_;
+ ViewCollection* _tmp17_;
+ ViewCollection* _tmp18_;
+ ViewCollection* _tmp19_;
+ ViewCollection* _tmp20_;
#line 520 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 521 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4852,19 +4852,19 @@ static void page_attach_view_signals (Page* self) {
static void page_detach_view_signals (Page* self) {
- gboolean _tmp0_ = FALSE;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- guint _tmp6_ = 0U;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- ViewCollection* _tmp10_ = NULL;
- ViewCollection* _tmp11_ = NULL;
- guint _tmp12_ = 0U;
+ gboolean _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ guint _tmp3_;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ guint _tmp6_;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ guint _tmp9_;
+ ViewCollection* _tmp10_;
+ ViewCollection* _tmp11_;
+ guint _tmp12_;
#line 540 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 541 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4929,8 +4929,8 @@ static void _page_on_update_actions_on_idle_one_shot_callback (gpointer self) {
static void page_on_update_actions (Page* self) {
- OneShotScheduler* _tmp0_ = NULL;
- OneShotScheduler* _tmp6_ = NULL;
+ OneShotScheduler* _tmp0_;
+ OneShotScheduler* _tmp6_;
#line 552 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 553 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4938,11 +4938,11 @@ static void page_on_update_actions (Page* self) {
#line 553 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
#line 4941 "Page.c"
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- OneShotScheduler* _tmp5_ = NULL;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ OneShotScheduler* _tmp5_;
#line 554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (self);
#line 554 "/home/jens/Source/shotwell/src/Page.vala"
@@ -4972,14 +4972,14 @@ static void page_on_update_actions (Page* self) {
static void page_on_update_actions_on_idle (Page* self) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- ViewCollection* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- gint _tmp7_ = 0;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+ ViewCollection* _tmp2_;
+ ViewCollection* _tmp3_;
+ gint _tmp4_;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ gint _tmp7_;
#line 562 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 563 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5022,8 +5022,8 @@ static void page_on_update_actions_on_idle (Page* self) {
static void page_init_load_ui (Page* self, const gchar* ui_filename) {
gchar* ui_resource = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
GError * _inner_error_ = NULL;
#line 572 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
@@ -5037,7 +5037,7 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
ui_resource = _tmp1_;
#line 5039 "Page.c"
{
- GtkBuilder* _tmp2_ = NULL;
+ GtkBuilder* _tmp2_;
#line 575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->builder;
#line 575 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5045,22 +5045,22 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
#line 575 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5048 "Page.c"
- goto __catch254_g_error;
+ goto __catch255_g_error;
}
#line 576 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->menubar_injected = FALSE;
#line 5053 "Page.c"
}
- goto __finally254;
- __catch254_g_error:
+ goto __finally255;
+ __catch255_g_error:
{
GError* err = NULL;
- GError* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- Application* _tmp7_ = NULL;
- Application* _tmp8_ = NULL;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ Application* _tmp7_;
+ Application* _tmp8_;
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
err = _inner_error_;
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5089,7 +5089,7 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
_g_error_free0 (err);
#line 5091 "Page.c"
}
- __finally254:
+ __finally255:
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5126,9 +5126,9 @@ void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) {
static InjectionGroup** page_real_init_collect_injection_groups (Page* self, int* result_length1) {
InjectionGroup** result = NULL;
- InjectionGroup** _tmp0_ = NULL;
- InjectionGroup** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ InjectionGroup** _tmp0_;
+ InjectionGroup** _tmp1_;
+ gint _tmp1__length1;
#line 593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = g_new0 (InjectionGroup*, 0 + 1);
#line 593 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5222,17 +5222,17 @@ static gboolean _page_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender,
void page_enable_drag_source (Page* self, GdkDragAction actions, GtkTargetEntry* source_target_entries, int source_target_entries_length1) {
- gboolean _tmp0_ = FALSE;
- GtkWidget* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- GtkTargetEntry* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- GdkDragAction _tmp4_ = 0;
- GtkWidget* _tmp5_ = NULL;
- GtkWidget* _tmp6_ = NULL;
- GtkWidget* _tmp7_ = NULL;
- GtkWidget* _tmp8_ = NULL;
- GtkWidget* _tmp9_ = NULL;
+ gboolean _tmp0_;
+ GtkWidget* _tmp1_;
+ GtkWidget* _tmp2_;
+ GtkTargetEntry* _tmp3_;
+ gint _tmp3__length1;
+ GdkDragAction _tmp4_;
+ GtkWidget* _tmp5_;
+ GtkWidget* _tmp6_;
+ GtkWidget* _tmp7_;
+ GtkWidget* _tmp8_;
+ GtkWidget* _tmp9_;
#line 609 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 610 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5284,19 +5284,19 @@ void page_enable_drag_source (Page* self, GdkDragAction actions, GtkTargetEntry*
void page_disable_drag_source (Page* self) {
- gboolean _tmp0_ = FALSE;
- GtkWidget* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- GtkWidget* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- GtkWidget* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
- GtkWidget* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- GtkWidget* _tmp10_ = NULL;
- guint _tmp11_ = 0U;
- GtkWidget* _tmp12_ = NULL;
+ gboolean _tmp0_;
+ GtkWidget* _tmp1_;
+ GtkWidget* _tmp2_;
+ guint _tmp3_;
+ GtkWidget* _tmp4_;
+ guint _tmp5_;
+ GtkWidget* _tmp6_;
+ guint _tmp7_;
+ GtkWidget* _tmp8_;
+ guint _tmp9_;
+ GtkWidget* _tmp10_;
+ guint _tmp11_;
+ GtkWidget* _tmp12_;
#line 628 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 629 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5353,7 +5353,7 @@ void page_disable_drag_source (Page* self) {
gboolean page_is_dnd_enabled (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 644 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 645 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5367,7 +5367,7 @@ gboolean page_is_dnd_enabled (Page* self) {
static void page_on_drag_begin (Page* self, GdkDragContext* context) {
- GdkDragContext* _tmp0_ = NULL;
+ GdkDragContext* _tmp0_;
#line 648 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 648 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5381,10 +5381,10 @@ static void page_on_drag_begin (Page* self, GdkDragContext* context) {
static void page_on_drag_data_get (Page* self, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time) {
- GdkDragContext* _tmp0_ = NULL;
- GtkSelectionData* _tmp1_ = NULL;
- guint _tmp2_ = 0U;
- guint _tmp3_ = 0U;
+ GdkDragContext* _tmp0_;
+ GtkSelectionData* _tmp1_;
+ guint _tmp2_;
+ guint _tmp3_;
#line 652 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 652 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5406,7 +5406,7 @@ static void page_on_drag_data_get (Page* self, GdkDragContext* context, GtkSelec
static void page_on_drag_data_delete (Page* self, GdkDragContext* context) {
- GdkDragContext* _tmp0_ = NULL;
+ GdkDragContext* _tmp0_;
#line 657 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 657 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5420,7 +5420,7 @@ static void page_on_drag_data_delete (Page* self, GdkDragContext* context) {
static void page_on_drag_end (Page* self, GdkDragContext* context) {
- GdkDragContext* _tmp0_ = NULL;
+ GdkDragContext* _tmp0_;
#line 661 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
#line 661 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5456,9 +5456,9 @@ gboolean page_source_drag_failed (Page* self, GdkDragContext* context, GtkDragRe
static gboolean page_on_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) {
gboolean result = FALSE;
- GdkDragContext* _tmp0_ = NULL;
- GtkDragResult _tmp1_ = 0;
- gboolean _tmp2_ = FALSE;
+ GdkDragContext* _tmp0_;
+ GtkDragResult _tmp1_;
+ gboolean _tmp2_;
#line 673 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 673 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5482,26 +5482,26 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
gint _vala_y = 0;
GdkModifierType _vala_mask = 0;
gboolean result = FALSE;
- GtkWidget* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
- GdkWindow* _tmp2_ = NULL;
- GdkDisplay* _tmp3_ = NULL;
- GdkDeviceManager* _tmp4_ = NULL;
- GdkDevice* _tmp5_ = NULL;
+ GtkWidget* _tmp0_;
+ GtkWidget* _tmp1_;
+ GdkWindow* _tmp2_;
+ GdkDisplay* _tmp3_;
+ GdkDeviceManager* _tmp4_;
+ GdkDevice* _tmp5_;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
GdkModifierType _tmp8_ = 0;
gboolean _tmp9_ = FALSE;
- GdkPoint _tmp10_ = {0};
- gint _tmp11_ = 0;
- gint _tmp14_ = 0;
- GdkPoint _tmp15_ = {0};
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
- gint _tmp19_ = 0;
- GdkPoint _tmp20_ = {0};
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
+ GdkPoint _tmp10_;
+ gint _tmp11_;
+ gint _tmp14_;
+ GdkPoint _tmp15_;
+ gint _tmp16_;
+ gint _tmp17_;
+ gint _tmp19_;
+ GdkPoint _tmp20_;
+ gint _tmp21_;
+ gint _tmp22_;
#line 681 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 682 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5566,8 +5566,8 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
_tmp9_ = TRUE;
#line 5568 "Page.c"
} else {
- GdkPoint _tmp12_ = {0};
- gint _tmp13_ = 0;
+ GdkPoint _tmp12_;
+ gint _tmp13_;
#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->last_down;
#line 693 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5613,7 +5613,7 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
#line 700 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp17_ >= 0x7FFF) {
#line 5616 "Page.c"
- gint _tmp18_ = 0;
+ gint _tmp18_;
#line 701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _vala_x;
#line 701 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5631,7 +5631,7 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
#line 703 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_ >= 0x7FFF) {
#line 5634 "Page.c"
- gint _tmp23_ = 0;
+ gint _tmp23_;
#line 704 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _vala_y;
#line 704 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5792,8 +5792,8 @@ gboolean page_on_right_released (Page* self, GdkEventButton* event) {
static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
- GdkEventButton* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
+ GdkEventButton* _tmp0_;
+ guint _tmp1_;
#line 733 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 733 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5808,19 +5808,19 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
case 1:
#line 5810 "Page.c"
{
- GtkWidget* _tmp2_ = NULL;
- GdkEventButton* _tmp4_ = NULL;
- gdouble _tmp5_ = 0.0;
- GdkEventButton* _tmp6_ = NULL;
- gdouble _tmp7_ = 0.0;
- GdkEventButton* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+ GtkWidget* _tmp2_;
+ GdkEventButton* _tmp4_;
+ gdouble _tmp5_;
+ GdkEventButton* _tmp6_;
+ gdouble _tmp7_;
+ GdkEventButton* _tmp8_;
+ gboolean _tmp9_;
#line 736 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
#line 736 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
#line 5823 "Page.c"
- GtkWidget* _tmp3_ = NULL;
+ GtkWidget* _tmp3_;
#line 737 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
#line 737 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5853,8 +5853,8 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
case 2:
#line 5855 "Page.c"
{
- GdkEventButton* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ GdkEventButton* _tmp10_;
+ gboolean _tmp11_;
#line 746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
#line 746 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5869,8 +5869,8 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
case 3:
#line 5871 "Page.c"
{
- GdkEventButton* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+ GdkEventButton* _tmp12_;
+ gboolean _tmp13_;
#line 749 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
#line 749 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5895,8 +5895,8 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
static gboolean page_on_button_released_internal (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
- GdkEventButton* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
+ GdkEventButton* _tmp0_;
+ guint _tmp1_;
#line 756 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 756 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5912,8 +5912,8 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
#line 5913 "Page.c"
{
GdkPoint _tmp2_ = {0};
- GdkEventButton* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ GdkEventButton* _tmp3_;
+ gboolean _tmp4_;
#line 760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_.x = -1;
#line 760 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5934,8 +5934,8 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
case 2:
#line 5936 "Page.c"
{
- GdkEventButton* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GdkEventButton* _tmp5_;
+ gboolean _tmp6_;
#line 765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
#line 765 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5950,8 +5950,8 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
case 3:
#line 5952 "Page.c"
{
- GdkEventButton* _tmp7_ = NULL;
- gboolean _tmp8_ = FALSE;
+ GdkEventButton* _tmp7_;
+ gboolean _tmp8_;
#line 768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
#line 768 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6178,10 +6178,10 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
- GdkEventKey* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- const gchar* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ GdkEventKey* _tmp4_;
+ guint _tmp5_;
+ const gchar* _tmp6_;
+ const gchar* _tmp7_;
GQuark _tmp9_ = 0U;
#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
@@ -6204,8 +6204,8 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
#line 6207 "Page.c"
- GdkEventKey* _tmp30_ = NULL;
- gboolean _tmp31_ = FALSE;
+ GdkEventKey* _tmp30_;
+ gboolean _tmp31_;
#line 815 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 815 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6238,9 +6238,9 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp10_ = FALSE;
- gboolean _tmp11_ = FALSE;
- GdkEventKey* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ gboolean _tmp11_;
+ GdkEventKey* _tmp13_;
+ gboolean _tmp14_;
#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
#line 824 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6249,7 +6249,7 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
_tmp10_ = TRUE;
#line 6251 "Page.c"
} else {
- gboolean _tmp12_ = FALSE;
+ gboolean _tmp12_;
#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
#line 824 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6284,9 +6284,9 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp15_ = FALSE;
- gboolean _tmp16_ = FALSE;
- GdkEventKey* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
+ gboolean _tmp16_;
+ GdkEventKey* _tmp18_;
+ gboolean _tmp19_;
#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
#line 835 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6295,7 +6295,7 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
_tmp15_ = TRUE;
#line 6297 "Page.c"
} else {
- gboolean _tmp17_ = FALSE;
+ gboolean _tmp17_;
#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
#line 835 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6330,9 +6330,9 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
- GdkEventKey* _tmp23_ = NULL;
- gboolean _tmp24_ = FALSE;
+ gboolean _tmp21_;
+ GdkEventKey* _tmp23_;
+ gboolean _tmp24_;
#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
#line 844 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6341,7 +6341,7 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
_tmp20_ = TRUE;
#line 6343 "Page.c"
} else {
- gboolean _tmp22_ = FALSE;
+ gboolean _tmp22_;
#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
#line 844 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6376,9 +6376,9 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp25_ = FALSE;
- gboolean _tmp26_ = FALSE;
- GdkEventKey* _tmp28_ = NULL;
- gboolean _tmp29_ = FALSE;
+ gboolean _tmp26_;
+ GdkEventKey* _tmp28_;
+ gboolean _tmp29_;
#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
#line 853 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6387,7 +6387,7 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
_tmp25_ = TRUE;
#line 6389 "Page.c"
} else {
- gboolean _tmp27_ = FALSE;
+ gboolean _tmp27_;
#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
#line 853 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6438,10 +6438,10 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
- GdkEventKey* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- const gchar* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ GdkEventKey* _tmp4_;
+ guint _tmp5_;
+ const gchar* _tmp6_;
+ const gchar* _tmp7_;
GQuark _tmp9_ = 0U;
#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
@@ -6464,8 +6464,8 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
#line 6467 "Page.c"
- GdkEventKey* _tmp30_ = NULL;
- gboolean _tmp31_ = FALSE;
+ GdkEventKey* _tmp30_;
+ gboolean _tmp31_;
#line 864 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 864 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6498,9 +6498,9 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp10_ = FALSE;
- gboolean _tmp11_ = FALSE;
- GdkEventKey* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ gboolean _tmp11_;
+ GdkEventKey* _tmp13_;
+ gboolean _tmp14_;
#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
#line 873 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6509,7 +6509,7 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
_tmp10_ = TRUE;
#line 6511 "Page.c"
} else {
- gboolean _tmp12_ = FALSE;
+ gboolean _tmp12_;
#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
#line 873 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6544,9 +6544,9 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp15_ = FALSE;
- gboolean _tmp16_ = FALSE;
- GdkEventKey* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
+ gboolean _tmp16_;
+ GdkEventKey* _tmp18_;
+ gboolean _tmp19_;
#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
#line 884 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6555,7 +6555,7 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
_tmp15_ = TRUE;
#line 6557 "Page.c"
} else {
- gboolean _tmp17_ = FALSE;
+ gboolean _tmp17_;
#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
#line 884 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6590,9 +6590,9 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
- GdkEventKey* _tmp23_ = NULL;
- gboolean _tmp24_ = FALSE;
+ gboolean _tmp21_;
+ GdkEventKey* _tmp23_;
+ gboolean _tmp24_;
#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
#line 893 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6601,7 +6601,7 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
_tmp20_ = TRUE;
#line 6603 "Page.c"
} else {
- gboolean _tmp22_ = FALSE;
+ gboolean _tmp22_;
#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
#line 893 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6636,9 +6636,9 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
default:
{
gboolean _tmp25_ = FALSE;
- gboolean _tmp26_ = FALSE;
- GdkEventKey* _tmp28_ = NULL;
- gboolean _tmp29_ = FALSE;
+ gboolean _tmp26_;
+ GdkEventKey* _tmp28_;
+ gboolean _tmp29_;
#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
#line 902 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6647,7 +6647,7 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
_tmp25_ = TRUE;
#line 6649 "Page.c"
} else {
- gboolean _tmp27_ = FALSE;
+ gboolean _tmp27_;
#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
#line 902 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6849,30 +6849,30 @@ static gboolean _page_check_configure_halted_gsource_func (gpointer self) {
gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
gboolean result = FALSE;
GdkRectangle rect = {0};
- GdkEventConfigure* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- GdkEventConfigure* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- GdkEventConfigure* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- GdkEventConfigure* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gulong _tmp8_ = 0UL;
+ GdkEventConfigure* _tmp0_;
+ gint _tmp1_;
+ GdkEventConfigure* _tmp2_;
+ gint _tmp3_;
+ GdkEventConfigure* _tmp4_;
+ gint _tmp5_;
+ GdkEventConfigure* _tmp6_;
+ gint _tmp7_;
+ gulong _tmp8_;
gboolean _tmp29_ = FALSE;
- GdkRectangle _tmp30_ = {0};
- gint _tmp31_ = 0;
- GdkRectangle _tmp32_ = {0};
- gint _tmp33_ = 0;
+ GdkRectangle _tmp30_;
+ gint _tmp31_;
+ GdkRectangle _tmp32_;
+ gint _tmp33_;
gboolean _tmp39_ = FALSE;
- GdkRectangle _tmp40_ = {0};
- gint _tmp41_ = 0;
- GdkRectangle _tmp42_ = {0};
- gint _tmp43_ = 0;
- GdkRectangle _tmp49_ = {0};
- gulong _tmp50_ = 0UL;
- GdkEventConfigure* _tmp51_ = NULL;
- GdkRectangle _tmp52_ = {0};
- gboolean _tmp53_ = FALSE;
+ GdkRectangle _tmp40_;
+ gint _tmp41_;
+ GdkRectangle _tmp42_;
+ gint _tmp43_;
+ GdkRectangle _tmp49_;
+ gulong _tmp50_;
+ GdkEventConfigure* _tmp51_;
+ GdkRectangle _tmp52_;
+ gboolean _tmp53_;
#line 945 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 945 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6909,15 +6909,15 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
if (_tmp8_ == ((gulong) 0)) {
#line 6911 "Page.c"
gboolean _tmp9_ = FALSE;
- GdkRectangle _tmp10_ = {0};
- gint _tmp11_ = 0;
- GdkRectangle _tmp12_ = {0};
- gint _tmp13_ = 0;
+ GdkRectangle _tmp10_;
+ gint _tmp11_;
+ GdkRectangle _tmp12_;
+ gint _tmp13_;
gboolean _tmp19_ = FALSE;
- GdkRectangle _tmp20_ = {0};
- gint _tmp21_ = 0;
- GdkRectangle _tmp22_ = {0};
- gint _tmp23_ = 0;
+ GdkRectangle _tmp20_;
+ gint _tmp21_;
+ GdkRectangle _tmp22_;
+ gint _tmp23_;
#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->last_position;
#line 954 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6932,10 +6932,10 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
_tmp9_ = TRUE;
#line 6934 "Page.c"
} else {
- GdkRectangle _tmp14_ = {0};
- gint _tmp15_ = 0;
- GdkRectangle _tmp16_ = {0};
- gint _tmp17_ = 0;
+ GdkRectangle _tmp14_;
+ gint _tmp15_;
+ GdkRectangle _tmp16_;
+ gint _tmp17_;
#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->last_position;
#line 954 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6951,7 +6951,7 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
#line 954 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
#line 6954 "Page.c"
- GdkRectangle _tmp18_ = {0};
+ GdkRectangle _tmp18_;
#line 955 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = rect;
#line 955 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6974,10 +6974,10 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
_tmp19_ = TRUE;
#line 6976 "Page.c"
} else {
- GdkRectangle _tmp24_ = {0};
- gint _tmp25_ = 0;
- GdkRectangle _tmp26_ = {0};
- gint _tmp27_ = 0;
+ GdkRectangle _tmp24_;
+ gint _tmp25_;
+ GdkRectangle _tmp26_;
+ gint _tmp27_;
#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = self->priv->last_position;
#line 959 "/home/jens/Source/shotwell/src/Page.vala"
@@ -6993,7 +6993,7 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
#line 959 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
#line 6996 "Page.c"
- GdkRectangle _tmp28_ = {0};
+ GdkRectangle _tmp28_;
#line 960 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = rect;
#line 960 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7020,10 +7020,10 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
_tmp29_ = TRUE;
#line 7022 "Page.c"
} else {
- GdkRectangle _tmp34_ = {0};
- gint _tmp35_ = 0;
- GdkRectangle _tmp36_ = {0};
- gint _tmp37_ = 0;
+ GdkRectangle _tmp34_;
+ gint _tmp35_;
+ GdkRectangle _tmp36_;
+ gint _tmp37_;
#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->last_position;
#line 969 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7039,7 +7039,7 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
#line 969 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
#line 7042 "Page.c"
- GdkRectangle _tmp38_ = {0};
+ GdkRectangle _tmp38_;
#line 970 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = rect;
#line 970 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7060,10 +7060,10 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
_tmp39_ = TRUE;
#line 7062 "Page.c"
} else {
- GdkRectangle _tmp44_ = {0};
- gint _tmp45_ = 0;
- GdkRectangle _tmp46_ = {0};
- gint _tmp47_ = 0;
+ GdkRectangle _tmp44_;
+ gint _tmp45_;
+ GdkRectangle _tmp46_;
+ gint _tmp47_;
#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->last_position;
#line 972 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7079,7 +7079,7 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
#line 972 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_) {
#line 7082 "Page.c"
- GdkRectangle _tmp48_ = {0};
+ GdkRectangle _tmp48_;
#line 973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = rect;
#line 973 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7110,13 +7110,13 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
static gboolean page_check_configure_halted (Page* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
- gulong _tmp1_ = 0UL;
- gulong _tmp2_ = 0UL;
+ gboolean _tmp0_;
+ gulong _tmp1_;
+ gulong _tmp2_;
GtkAllocation allocation = {0};
GtkAllocation _tmp3_ = {0};
- gboolean _tmp4_ = FALSE;
- gboolean _tmp7_ = FALSE;
+ gboolean _tmp4_;
+ gboolean _tmp7_;
#line 981 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 982 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7150,8 +7150,8 @@ static gboolean page_check_configure_halted (Page* self) {
#line 991 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
#line 7153 "Page.c"
- GtkAllocation _tmp5_ = {0};
- GdkRectangle _tmp6_ = {0};
+ GtkAllocation _tmp5_;
+ GdkRectangle _tmp6_;
#line 992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = allocation;
#line 992 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7165,8 +7165,8 @@ static gboolean page_check_configure_halted (Page* self) {
#line 994 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_) {
#line 7168 "Page.c"
- GtkAllocation _tmp8_ = {0};
- GdkRectangle _tmp9_ = {0};
+ GtkAllocation _tmp8_;
+ GdkRectangle _tmp9_;
#line 995 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = allocation;
#line 995 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7236,13 +7236,13 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
gint x = 0;
gint y = 0;
GdkModifierType mask = 0;
- GdkEventMotion* _tmp0_ = NULL;
- gint16 _tmp1_ = 0;
- GdkEventMotion* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- GdkModifierType _tmp14_ = 0;
- gboolean _tmp15_ = FALSE;
+ GdkEventMotion* _tmp0_;
+ gint16 _tmp1_;
+ GdkEventMotion* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
+ GdkModifierType _tmp14_;
+ gboolean _tmp15_;
#line 1014 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 1014 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7267,12 +7267,12 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
mask = _tmp4_;
#line 7269 "Page.c"
} else {
- GdkEventMotion* _tmp5_ = NULL;
- gdouble _tmp6_ = 0.0;
- GdkEventMotion* _tmp7_ = NULL;
- gdouble _tmp8_ = 0.0;
- GdkEventMotion* _tmp9_ = NULL;
- GdkModifierType _tmp10_ = 0;
+ GdkEventMotion* _tmp5_;
+ gdouble _tmp6_;
+ GdkEventMotion* _tmp7_;
+ gdouble _tmp8_;
+ GdkEventMotion* _tmp9_;
+ GdkModifierType _tmp10_;
#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7313,8 +7313,8 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
- GdkEventScroll* _tmp0_ = NULL;
- GdkScrollDirection _tmp1_ = 0;
+ GdkEventScroll* _tmp0_;
+ GdkScrollDirection _tmp1_;
#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7329,8 +7329,8 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
case GDK_SCROLL_UP:
#line 7331 "Page.c"
{
- GdkEventScroll* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ GdkEventScroll* _tmp2_;
+ gboolean _tmp3_;
#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7345,8 +7345,8 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
case GDK_SCROLL_DOWN:
#line 7347 "Page.c"
{
- GdkEventScroll* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GdkEventScroll* _tmp4_;
+ gboolean _tmp5_;
#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7361,8 +7361,8 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
case GDK_SCROLL_LEFT:
#line 7363 "Page.c"
{
- GdkEventScroll* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GdkEventScroll* _tmp6_;
+ gboolean _tmp7_;
#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7377,8 +7377,8 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
case GDK_SCROLL_RIGHT:
#line 7379 "Page.c"
{
- GdkEventScroll* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+ GdkEventScroll* _tmp8_;
+ gboolean _tmp9_;
#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
@@ -7389,13 +7389,114 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
return result;
#line 7391 "Page.c"
}
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
+ case GDK_SCROLL_SMOOTH:
+#line 7395 "Page.c"
+ {
+ {
+ gdouble dx = 0.0;
+ gdouble dy = 0.0;
+ GdkEventScroll* _tmp10_;
+ gdouble _tmp11_ = 0.0;
+ gdouble _tmp12_ = 0.0;
+ gdouble _tmp13_;
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp10_ = event;
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
+ gdk_event_get_scroll_deltas ((GdkEvent*) _tmp10_, &_tmp11_, &_tmp12_);
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
+ dx = _tmp11_;
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
+ dy = _tmp12_;
+#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp13_ = dy;
+#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp13_ < ((gdouble) 0)) {
+#line 7416 "Page.c"
+ GdkEventScroll* _tmp14_;
+ gboolean _tmp15_;
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp14_ = event;
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp15_ = page_on_mousewheel_up (self, _tmp14_);
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp15_;
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 7427 "Page.c"
+ } else {
+ gdouble _tmp16_;
+#line 1049 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp16_ = dy;
+#line 1049 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp16_ > ((gdouble) 0)) {
+#line 7434 "Page.c"
+ GdkEventScroll* _tmp17_;
+ gboolean _tmp18_;
+#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp17_ = event;
+#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp18_ = page_on_mousewheel_down (self, _tmp17_);
+#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp18_;
+#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 7445 "Page.c"
+ } else {
+ gdouble _tmp19_;
+#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp19_ = dx;
+#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp19_ < ((gdouble) 0)) {
+#line 7452 "Page.c"
+ GdkEventScroll* _tmp20_;
+ gboolean _tmp21_;
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp20_ = event;
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp21_ = page_on_mousewheel_left (self, _tmp20_);
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp21_;
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 7463 "Page.c"
+ } else {
+ gdouble _tmp22_;
+#line 1053 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp22_ = dx;
+#line 1053 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp22_ > ((gdouble) 0)) {
+#line 7470 "Page.c"
+ GdkEventScroll* _tmp23_;
+ gboolean _tmp24_;
+#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp23_ = event;
+#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp24_ = page_on_mousewheel_right (self, _tmp23_);
+#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp24_;
+#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 7481 "Page.c"
+ } else {
+#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
+ result = FALSE;
+#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 7487 "Page.c"
+ }
+ }
+ }
+ }
+ }
+ }
default:
{
-#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7399 "Page.c"
+#line 7500 "Page.c"
}
}
}
@@ -7403,910 +7504,910 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
static gboolean page_real_on_mousewheel_up (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7413 "Page.c"
+#line 7514 "Page.c"
}
gboolean page_on_mousewheel_up (Page* self, GdkEventScroll* event) {
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_up (self, event);
-#line 7422 "Page.c"
+#line 7523 "Page.c"
}
static gboolean page_real_on_mousewheel_down (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1069 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1069 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7434 "Page.c"
+#line 7535 "Page.c"
}
gboolean page_on_mousewheel_down (Page* self, GdkEventScroll* event) {
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_down (self, event);
-#line 7443 "Page.c"
+#line 7544 "Page.c"
}
static gboolean page_real_on_mousewheel_left (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7455 "Page.c"
+#line 7556 "Page.c"
}
gboolean page_on_mousewheel_left (Page* self, GdkEventScroll* event) {
-#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_left (self, event);
-#line 7464 "Page.c"
+#line 7565 "Page.c"
}
static gboolean page_real_on_mousewheel_right (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1076 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7476 "Page.c"
+#line 7577 "Page.c"
}
gboolean page_on_mousewheel_right (Page* self, GdkEventScroll* event) {
-#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1076 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1076 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_right (self, event);
-#line 7485 "Page.c"
+#line 7586 "Page.c"
}
static gboolean page_real_on_context_keypress (Page* self) {
gboolean result = FALSE;
-#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7495 "Page.c"
+#line 7596 "Page.c"
}
gboolean page_on_context_keypress (Page* self) {
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_keypress (self);
-#line 7504 "Page.c"
+#line 7605 "Page.c"
}
static gboolean page_real_on_context_buttonpress (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7516 "Page.c"
+#line 7617 "Page.c"
}
gboolean page_on_context_buttonpress (Page* self, GdkEventButton* event) {
-#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_buttonpress (self, event);
-#line 7525 "Page.c"
+#line 7626 "Page.c"
}
static gboolean page_real_on_context_invoked (Page* self) {
gboolean result = FALSE;
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7535 "Page.c"
+#line 7636 "Page.c"
}
gboolean page_on_context_invoked (Page* self) {
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1088 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1088 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_invoked (self);
-#line 7544 "Page.c"
+#line 7645 "Page.c"
}
gboolean page_popup_context_menu (Page* self, GtkMenu* context_menu, GdkEventButton* event) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
- GtkMenu* _tmp1_ = NULL;
- GdkEventButton* _tmp3_ = NULL;
-#line 1075 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp1_;
+ GdkEventButton* _tmp3_;
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1075 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail ((context_menu == NULL) || GTK_IS_MENU (context_menu), FALSE);
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = context_menu;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 7563 "Page.c"
+#line 7664 "Page.c"
} else {
- gboolean _tmp2_ = FALSE;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp2_;
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_on_context_invoked (self);
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 7570 "Page.c"
+#line 7671 "Page.c"
}
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7578 "Page.c"
+#line 7679 "Page.c"
}
-#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == NULL) {
-#line 7584 "Page.c"
- GtkMenu* _tmp4_ = NULL;
- guint32 _tmp5_ = 0U;
-#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7685 "Page.c"
+ GtkMenu* _tmp4_;
+ guint32 _tmp5_;
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = context_menu;
-#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_get_current_event_time ();
-#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp4_, NULL, NULL, NULL, NULL, (guint) 0, _tmp5_);
-#line 7593 "Page.c"
+#line 7694 "Page.c"
} else {
- GtkMenu* _tmp6_ = NULL;
- GdkEventButton* _tmp7_ = NULL;
- guint _tmp8_ = 0U;
- GdkEventButton* _tmp9_ = NULL;
- guint32 _tmp10_ = 0U;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp6_;
+ GdkEventButton* _tmp7_;
+ guint _tmp8_;
+ GdkEventButton* _tmp9_;
+ guint32 _tmp10_;
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = context_menu;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->button;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->time;
-#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp6_, NULL, NULL, NULL, NULL, _tmp8_, _tmp10_);
-#line 7612 "Page.c"
+#line 7713 "Page.c"
}
-#line 1086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7618 "Page.c"
+#line 7719 "Page.c"
}
void page_on_event_source_realize (Page* self) {
- GtkWidget* _tmp0_ = NULL;
- GdkWindow* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- GdkWindow* _tmp3_ = NULL;
- GdkCursor* _tmp4_ = NULL;
+ GtkWidget* _tmp0_;
+ GdkWindow* _tmp1_;
+ GtkWidget* _tmp2_;
+ GdkWindow* _tmp3_;
+ GdkCursor* _tmp4_;
GdkWindow* parent_window = NULL;
- GtkWidget* _tmp9_ = NULL;
- GdkWindow* _tmp10_ = NULL;
- GdkWindow* _tmp11_ = NULL;
- GdkWindow* _tmp20_ = NULL;
-#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWidget* _tmp9_;
+ GdkWindow* _tmp10_;
+ GdkWindow* _tmp11_;
+ GdkWindow* _tmp20_;
+#line 1106 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (_tmp0_);
-#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_ != NULL, "event_source.get_window() != null");
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (_tmp2_);
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_window_get_cursor (_tmp3_);
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
-#line 7649 "Page.c"
- GtkWidget* _tmp5_ = NULL;
- GdkWindow* _tmp6_ = NULL;
- GdkCursor* _tmp7_ = NULL;
- GdkCursorType _tmp8_ = 0;
-#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7750 "Page.c"
+ GtkWidget* _tmp5_;
+ GdkWindow* _tmp6_;
+ GdkCursor* _tmp7_;
+ GdkCursorType _tmp8_;
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_window_get_cursor (_tmp6_);
-#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_get_cursor_type (_tmp7_);
-#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp8_;
-#line 1094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1111 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 7666 "Page.c"
+#line 7767 "Page.c"
}
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gtk_widget_get_window (_tmp9_);
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _g_object_ref0 (_tmp10_);
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp11_;
-#line 7676 "Page.c"
+#line 7777 "Page.c"
{
gboolean _tmp12_ = FALSE;
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = TRUE;
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 7683 "Page.c"
- GdkWindow* _tmp17_ = NULL;
- GdkWindow* _tmp18_ = NULL;
- GdkWindow* _tmp19_ = NULL;
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7784 "Page.c"
+ GdkWindow* _tmp17_;
+ GdkWindow* _tmp18_;
+ GdkWindow* _tmp19_;
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp12_) {
-#line 7689 "Page.c"
+#line 7790 "Page.c"
gboolean _tmp13_ = FALSE;
- GdkWindow* _tmp14_ = NULL;
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkWindow* _tmp14_;
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = parent_window;
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_ != NULL) {
-#line 7696 "Page.c"
- GdkWindow* _tmp15_ = NULL;
- GdkCursor* _tmp16_ = NULL;
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7797 "Page.c"
+ GdkWindow* _tmp15_;
+ GdkCursor* _tmp16_;
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = parent_window;
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = gdk_window_get_cursor (_tmp15_);
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp16_ == NULL;
-#line 7705 "Page.c"
+#line 7806 "Page.c"
} else {
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 7709 "Page.c"
+#line 7810 "Page.c"
}
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 7715 "Page.c"
+#line 7816 "Page.c"
}
}
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = FALSE;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = parent_window;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = gdk_window_get_parent (_tmp17_);
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _g_object_ref0 (_tmp18_);
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp19_;
-#line 7730 "Page.c"
+#line 7831 "Page.c"
}
}
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = parent_window;
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != NULL) {
-#line 7737 "Page.c"
- GdkWindow* _tmp21_ = NULL;
- GdkCursor* _tmp22_ = NULL;
- GdkCursorType _tmp23_ = 0;
-#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7838 "Page.c"
+ GdkWindow* _tmp21_;
+ GdkCursor* _tmp22_;
+ GdkCursorType _tmp23_;
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = parent_window;
-#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = gdk_window_get_cursor (_tmp21_);
-#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = gdk_cursor_get_cursor_type (_tmp22_);
-#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp23_;
-#line 7749 "Page.c"
+#line 7850 "Page.c"
}
-#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1106 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 7753 "Page.c"
+#line 7854 "Page.c"
}
void page_set_cursor_hide_time (Page* self, gint hide_time) {
- gint _tmp0_ = 0;
-#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp0_;
+#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1125 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hide_time;
-#line 1108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1125 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = _tmp0_;
-#line 7765 "Page.c"
+#line 7866 "Page.c"
}
void page_start_cursor_hiding (Page* self) {
-#line 1111 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1128 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1112 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7774 "Page.c"
+#line 7875 "Page.c"
}
void page_stop_cursor_hiding (Page* self) {
- guint _tmp0_ = 0U;
-#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp0_;
+#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1133 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->last_timeout_id;
-#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1133 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != ((guint) 0)) {
-#line 7786 "Page.c"
- guint _tmp1_ = 0U;
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7887 "Page.c"
+ guint _tmp1_;
+#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp1_);
-#line 7792 "Page.c"
+#line 7893 "Page.c"
}
}
void page_suspend_cursor_hiding (Page* self) {
- gint _tmp0_ = 0;
- guint _tmp1_ = 0U;
-#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp0_;
+ guint _tmp1_;
+#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_msec;
-#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_time_cached = _tmp0_;
-#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != ((guint) 0)) {
-#line 7810 "Page.c"
- guint _tmp2_ = 0U;
-#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7911 "Page.c"
+ guint _tmp2_;
+#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_timeout_id;
-#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp2_);
-#line 7816 "Page.c"
+#line 7917 "Page.c"
}
-#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = 0;
-#line 7820 "Page.c"
+#line 7921 "Page.c"
}
void page_restore_cursor_hiding (Page* self) {
- gint _tmp0_ = 0;
-#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp0_;
+#line 1146 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_time_cached;
-#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = _tmp0_;
-#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1148 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7834 "Page.c"
+#line 7935 "Page.c"
}
static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) {
- GdkCursorType _tmp0_ = 0;
+ GdkCursorType _tmp0_;
gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
-#line 1136 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp2_;
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = cursor_type;
-#line 1136 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp0_;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hidden;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 7850 "Page.c"
- GtkWidget* _tmp3_ = NULL;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 7951 "Page.c"
+ GtkWidget* _tmp3_;
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 7856 "Page.c"
+#line 7957 "Page.c"
} else {
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = FALSE;
-#line 7860 "Page.c"
+#line 7961 "Page.c"
}
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 7864 "Page.c"
+#line 7965 "Page.c"
GdkDisplay* display = NULL;
- GtkWidget* _tmp4_ = NULL;
- GdkWindow* _tmp5_ = NULL;
- GdkDisplay* _tmp6_ = NULL;
- GdkDisplay* _tmp7_ = NULL;
- GtkWidget* _tmp8_ = NULL;
- GdkWindow* _tmp9_ = NULL;
- GdkDisplay* _tmp10_ = NULL;
- GdkCursorType _tmp11_ = 0;
- GdkCursor* _tmp12_ = NULL;
- GdkCursor* _tmp13_ = NULL;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWidget* _tmp4_;
+ GdkWindow* _tmp5_;
+ GdkDisplay* _tmp6_;
+ GdkDisplay* _tmp7_;
+ GtkWidget* _tmp8_;
+ GdkWindow* _tmp9_;
+ GdkDisplay* _tmp10_;
+ GdkCursorType _tmp11_;
+ GdkCursor* _tmp12_;
+ GdkCursor* _tmp13_;
+#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_window (_tmp4_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_window_get_display (_tmp5_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (_tmp6_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
display = _tmp7_;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = gtk_widget_get_window (_tmp8_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = display;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cursor_type;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_cursor_new_for_display (_tmp10_, _tmp11_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp9_, _tmp13_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp13_);
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 7904 "Page.c"
+#line 8005 "Page.c"
}
}
void page_set_page_cursor (Page* self, GdkCursorType cursor_type) {
-#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->set_page_cursor (self, cursor_type);
-#line 7914 "Page.c"
+#line 8015 "Page.c"
}
static gboolean _page_on_hide_cursor_gsource_func (gpointer self) {
gboolean result;
result = page_on_hide_cursor ((Page*) self);
-#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7923 "Page.c"
+#line 8024 "Page.c"
}
static void page_check_cursor_hiding (Page* self) {
- gboolean _tmp0_ = FALSE;
- gint _tmp2_ = 0;
-#line 1144 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp0_;
+ gint _tmp2_;
+#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hidden;
-#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 7936 "Page.c"
- GdkCursorType _tmp1_ = 0;
-#line 1146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8037 "Page.c"
+ GdkCursorType _tmp1_;
+#line 1163 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hidden = FALSE;
-#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_cursor;
-#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Page.vala"
page_set_page_cursor (self, _tmp1_);
-#line 7944 "Page.c"
+#line 8045 "Page.c"
}
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hide_msec;
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != 0) {
-#line 7950 "Page.c"
- guint _tmp3_ = 0U;
- gint _tmp5_ = 0;
- guint _tmp6_ = 0U;
-#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8051 "Page.c"
+ guint _tmp3_;
+ gint _tmp5_;
+ guint _tmp6_;
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->last_timeout_id;
-#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != ((guint) 0)) {
-#line 7958 "Page.c"
- guint _tmp4_ = 0U;
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8059 "Page.c"
+ guint _tmp4_;
+#line 1169 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->last_timeout_id;
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1169 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp4_);
-#line 7964 "Page.c"
+#line 8065 "Page.c"
}
-#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->cursor_hide_msec;
-#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) _tmp5_, _page_on_hide_cursor_gsource_func, g_object_ref (self), g_object_unref);
-#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = _tmp6_;
-#line 7972 "Page.c"
+#line 8073 "Page.c"
}
}
static gboolean page_on_hide_cursor (Page* self) {
gboolean result = FALSE;
- GtkWidget* _tmp0_ = NULL;
-#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWidget* _tmp0_;
+#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1158 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hidden = TRUE;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 7988 "Page.c"
+#line 8089 "Page.c"
GdkDisplay* display = NULL;
- GtkWidget* _tmp1_ = NULL;
- GdkWindow* _tmp2_ = NULL;
- GdkDisplay* _tmp3_ = NULL;
- GdkDisplay* _tmp4_ = NULL;
- GtkWidget* _tmp5_ = NULL;
- GdkWindow* _tmp6_ = NULL;
- GdkDisplay* _tmp7_ = NULL;
- GdkCursor* _tmp8_ = NULL;
- GdkCursor* _tmp9_ = NULL;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWidget* _tmp1_;
+ GdkWindow* _tmp2_;
+ GdkDisplay* _tmp3_;
+ GdkDisplay* _tmp4_;
+ GtkWidget* _tmp5_;
+ GdkWindow* _tmp6_;
+ GdkDisplay* _tmp7_;
+ GdkCursor* _tmp8_;
+ GdkCursor* _tmp9_;
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (_tmp1_);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gdk_window_get_display (_tmp2_);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
display = _tmp4_;
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = display;
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_new_for_display (_tmp7_, GDK_BLANK_CURSOR);
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp6_, _tmp9_);
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 8025 "Page.c"
+#line 8126 "Page.c"
}
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = (guint) 0;
-#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8033 "Page.c"
+#line 8134 "Page.c"
}
void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_label) {
- AppWindow* _tmp0_ = NULL;
- AppWindow* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
-#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
+ AppWindow* _tmp0_;
+ AppWindow* _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+#line 1188 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1188 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (id != NULL);
-#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1188 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (new_label != NULL);
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = app_window_get_instance ();
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = id;
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = new_label;
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
app_window_update_menu_item_label (_tmp1_, _tmp2_, _tmp3_);
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 8060 "Page.c"
+#line 8161 "Page.c"
}
GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gchar* extension_point) {
GMenuModel* result = NULL;
gint items = 0;
- GMenuModel* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GMenuModel* _tmp0_;
+ gint _tmp1_;
GMenuModel* section = NULL;
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL);
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (extension_point != NULL, NULL);
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = model;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_menu_model_get_n_items (_tmp0_);
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
items = _tmp1_;
-#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1196 "/home/jens/Source/shotwell/src/Page.vala"
section = NULL;
-#line 8084 "Page.c"
+#line 8185 "Page.c"
{
gint i = 0;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
i = 0;
-#line 8089 "Page.c"
+#line 8190 "Page.c"
{
gboolean _tmp2_ = FALSE;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = TRUE;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8096 "Page.c"
+#line 8197 "Page.c"
gboolean _tmp4_ = FALSE;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ gint _tmp5_;
+ gint _tmp6_;
gchar* name = NULL;
- GMenuModel* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- const gchar* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+ GMenuModel* _tmp8_;
+ gint _tmp9_;
+ const gchar* _tmp10_;
+ const gchar* _tmp11_;
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 8107 "Page.c"
- gint _tmp3_ = 0;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8208 "Page.c"
+ gint _tmp3_;
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = i;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
i = _tmp3_ + 1;
-#line 8113 "Page.c"
+#line 8214 "Page.c"
}
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = FALSE;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = i;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = items;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ < _tmp6_) {
-#line 8123 "Page.c"
- GMenuModel* _tmp7_ = NULL;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8224 "Page.c"
+ GMenuModel* _tmp7_;
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = section;
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp7_ == NULL;
-#line 8129 "Page.c"
+#line 8230 "Page.c"
} else {
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = FALSE;
-#line 8133 "Page.c"
+#line 8234 "Page.c"
}
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp4_) {
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8139 "Page.c"
+#line 8240 "Page.c"
}
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1199 "/home/jens/Source/shotwell/src/Page.vala"
name = NULL;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = model;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = i;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL);
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = name;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = extension_point;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
if (g_strcmp0 (_tmp10_, _tmp11_) == 0) {
-#line 8155 "Page.c"
- GMenuModel* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- GMenuModel* _tmp14_ = NULL;
-#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8256 "Page.c"
+ GMenuModel* _tmp12_;
+ gint _tmp13_;
+ GMenuModel* _tmp14_;
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = model;
-#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = i;
-#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_menu_model_get_item_link (_tmp12_, _tmp13_, G_MENU_LINK_SECTION);
-#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp14_;
-#line 8169 "Page.c"
+#line 8270 "Page.c"
} else {
GMenuModel* subsection = NULL;
- GMenuModel* _tmp15_ = NULL;
- gint _tmp16_ = 0;
- GMenuModel* _tmp17_ = NULL;
- GMenuModel* _tmp18_ = NULL;
+ GMenuModel* _tmp15_;
+ gint _tmp16_;
+ GMenuModel* _tmp17_;
+ GMenuModel* _tmp18_;
gint sub_items = 0;
- GMenuModel* _tmp19_ = NULL;
- gint _tmp20_ = 0;
-#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
+ GMenuModel* _tmp19_;
+ gint _tmp20_;
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = model;
-#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = i;
-#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_menu_model_get_item_link (_tmp15_, _tmp16_, G_MENU_LINK_SECTION);
-#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
subsection = _tmp17_;
-#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = subsection;
-#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == NULL) {
-#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1207 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1207 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1207 "/home/jens/Source/shotwell/src/Page.vala"
continue;
-#line 8197 "Page.c"
+#line 8298 "Page.c"
}
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = subsection;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = g_menu_model_get_n_items (_tmp19_);
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
sub_items = _tmp20_;
-#line 8205 "Page.c"
+#line 8306 "Page.c"
{
gint j = 0;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
j = 0;
-#line 8210 "Page.c"
+#line 8311 "Page.c"
{
gboolean _tmp21_ = FALSE;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = TRUE;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8217 "Page.c"
+#line 8318 "Page.c"
gboolean _tmp23_ = FALSE;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
+ gint _tmp24_;
+ gint _tmp25_;
GMenuModel* submenu = NULL;
- GMenuModel* _tmp27_ = NULL;
- gint _tmp28_ = 0;
- GMenuModel* _tmp29_ = NULL;
- GMenuModel* _tmp30_ = NULL;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+ GMenuModel* _tmp27_;
+ gint _tmp28_;
+ GMenuModel* _tmp29_;
+ GMenuModel* _tmp30_;
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 8228 "Page.c"
- gint _tmp22_ = 0;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8329 "Page.c"
+ gint _tmp22_;
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = j;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
j = _tmp22_ + 1;
-#line 8234 "Page.c"
+#line 8335 "Page.c"
}
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = j;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = sub_items;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ < _tmp25_) {
-#line 8244 "Page.c"
- GMenuModel* _tmp26_ = NULL;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8345 "Page.c"
+ GMenuModel* _tmp26_;
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = section;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp26_ == NULL;
-#line 8250 "Page.c"
+#line 8351 "Page.c"
} else {
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = FALSE;
-#line 8254 "Page.c"
+#line 8355 "Page.c"
}
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp23_) {
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8260 "Page.c"
+#line 8361 "Page.c"
}
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = subsection;
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = j;
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_menu_model_get_item_link (_tmp27_, _tmp28_, G_MENU_LINK_SUBMENU);
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
submenu = _tmp29_;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = submenu;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp30_ != NULL) {
-#line 8274 "Page.c"
- GMenuModel* _tmp31_ = NULL;
- const gchar* _tmp32_ = NULL;
- GMenuModel* _tmp33_ = NULL;
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8375 "Page.c"
+ GMenuModel* _tmp31_;
+ const gchar* _tmp32_;
+ GMenuModel* _tmp33_;
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = submenu;
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = extension_point;
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = page_find_extension_point (self, _tmp31_, _tmp32_);
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp33_;
-#line 8288 "Page.c"
+#line 8389 "Page.c"
}
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (submenu);
-#line 8292 "Page.c"
+#line 8393 "Page.c"
}
}
}
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 8298 "Page.c"
+#line 8399 "Page.c"
}
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 8302 "Page.c"
+#line 8403 "Page.c"
}
}
}
-#line 1205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
result = section;
-#line 1205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8310 "Page.c"
+#line 8411 "Page.c"
}
@@ -8316,115 +8417,115 @@ static void page_class_init (PageClass * klass) {
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (PagePrivate));
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((GtkWidgetClass *) klass)->destroy = (void (*)(GtkWidget*)) page_real_destroy;
+ ((GtkWidgetClass *) klass)->destroy = (void (*) (GtkWidget *)) page_real_destroy;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->set_page_name = (void (*)(Page*, const gchar*)) page_real_set_page_name;
+ ((PageClass *) klass)->set_page_name = (void (*) (Page *, const gchar*)) page_real_set_page_name;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->set_container = (void (*)(Page*, GtkWindow*)) page_real_set_container;
+ ((PageClass *) klass)->set_container = (void (*) (Page *, GtkWindow*)) page_real_set_container;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->clear_container = (void (*)(Page*)) page_real_clear_container;
+ ((PageClass *) klass)->clear_container = (void (*) (Page *)) page_real_clear_container;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->get_toolbar = (GtkToolbar* (*)(Page*)) page_real_get_toolbar;
+ ((PageClass *) klass)->get_toolbar = (GtkToolbar* (*) (Page *)) page_real_get_toolbar;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*)(Page*)) page_real_get_page_context_menu;
+ ((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*) (Page *)) page_real_get_page_context_menu;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switching_from = (void (*)(Page*)) page_real_switching_from;
+ ((PageClass *) klass)->switching_from = (void (*) (Page *)) page_real_switching_from;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switched_to = (void (*)(Page*)) page_real_switched_to;
+ ((PageClass *) klass)->switched_to = (void (*) (Page *)) page_real_switched_to;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->ready = (void (*)(Page*)) page_real_ready;
+ ((PageClass *) klass)->ready = (void (*) (Page *)) page_real_ready;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switching_to_fullscreen = (void (*)(Page*, FullscreenWindow*)) page_real_switching_to_fullscreen;
+ ((PageClass *) klass)->switching_to_fullscreen = (void (*) (Page *, FullscreenWindow*)) page_real_switching_to_fullscreen;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->returning_from_fullscreen = (void (*)(Page*, FullscreenWindow*)) page_real_returning_from_fullscreen;
+ ((PageClass *) klass)->returning_from_fullscreen = (void (*) (Page *, FullscreenWindow*)) page_real_returning_from_fullscreen;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->add_actions = (void (*)(Page*, GActionMap*)) page_real_add_actions;
+ ((PageClass *) klass)->add_actions = (void (*) (Page *, GActionMap*)) page_real_add_actions;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->remove_actions = (void (*)(Page*, GActionMap*)) page_real_remove_actions;
+ ((PageClass *) klass)->remove_actions = (void (*) (Page *, GActionMap*)) page_real_remove_actions;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->init_collect_ui_filenames = (void (*)(Page*, GeeList*)) page_real_init_collect_ui_filenames;
+ ((PageClass *) klass)->init_collect_ui_filenames = (void (*) (Page *, GeeList*)) page_real_init_collect_ui_filenames;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->init_collect_injection_groups = (InjectionGroup** (*)(Page*, int*)) page_real_init_collect_injection_groups;
+ ((PageClass *) klass)->init_collect_injection_groups = (InjectionGroup** (*) (Page *, int*)) page_real_init_collect_injection_groups;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->init_actions = (void (*)(Page*, gint, gint)) page_real_init_actions;
+ ((PageClass *) klass)->init_actions = (void (*) (Page *, gint, gint)) page_real_init_actions;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->update_actions = (void (*)(Page*, gint, gint)) page_real_update_actions;
+ ((PageClass *) klass)->update_actions = (void (*) (Page *, gint, gint)) page_real_update_actions;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->source_drag_failed = (gboolean (*)(Page*, GdkDragContext*, GtkDragResult)) page_real_source_drag_failed;
+ ((PageClass *) klass)->source_drag_failed = (gboolean (*) (Page *, GdkDragContext*, GtkDragResult)) page_real_source_drag_failed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_left_click = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_left_click;
+ ((PageClass *) klass)->on_left_click = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_left_click;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_middle_click = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_middle_click;
+ ((PageClass *) klass)->on_middle_click = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_middle_click;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_right_click = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_right_click;
+ ((PageClass *) klass)->on_right_click = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_right_click;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_left_released = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_left_released;
+ ((PageClass *) klass)->on_left_released = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_left_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_middle_released = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_middle_released;
+ ((PageClass *) klass)->on_middle_released = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_middle_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_right_released = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_right_released;
+ ((PageClass *) klass)->on_right_released = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_right_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_ctrl_pressed = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_ctrl_pressed;
+ ((PageClass *) klass)->on_ctrl_pressed = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_ctrl_pressed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_ctrl_released = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_ctrl_released;
+ ((PageClass *) klass)->on_ctrl_released = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_ctrl_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_alt_pressed = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_alt_pressed;
+ ((PageClass *) klass)->on_alt_pressed = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_alt_pressed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_alt_released = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_alt_released;
+ ((PageClass *) klass)->on_alt_released = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_alt_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_shift_pressed = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_shift_pressed;
+ ((PageClass *) klass)->on_shift_pressed = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_shift_pressed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_shift_released = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_shift_released;
+ ((PageClass *) klass)->on_shift_released = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_shift_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_super_pressed = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_super_pressed;
+ ((PageClass *) klass)->on_super_pressed = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_super_pressed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_super_released = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_super_released;
+ ((PageClass *) klass)->on_super_released = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_super_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_app_key_pressed = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_app_key_pressed;
+ ((PageClass *) klass)->on_app_key_pressed = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_app_key_pressed;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_app_key_released = (gboolean (*)(Page*, GdkEventKey*)) page_real_on_app_key_released;
+ ((PageClass *) klass)->on_app_key_released = (gboolean (*) (Page *, GdkEventKey*)) page_real_on_app_key_released;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_move = (void (*)(Page*, GdkRectangle*)) page_real_on_move;
+ ((PageClass *) klass)->on_move = (void (*) (Page *, GdkRectangle*)) page_real_on_move;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_move_start = (void (*)(Page*, GdkRectangle*)) page_real_on_move_start;
+ ((PageClass *) klass)->on_move_start = (void (*) (Page *, GdkRectangle*)) page_real_on_move_start;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_move_finished = (void (*)(Page*, GdkRectangle*)) page_real_on_move_finished;
+ ((PageClass *) klass)->on_move_finished = (void (*) (Page *, GdkRectangle*)) page_real_on_move_finished;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_resize = (void (*)(Page*, GdkRectangle*)) page_real_on_resize;
+ ((PageClass *) klass)->on_resize = (void (*) (Page *, GdkRectangle*)) page_real_on_resize;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_resize_start = (void (*)(Page*, GdkRectangle*)) page_real_on_resize_start;
+ ((PageClass *) klass)->on_resize_start = (void (*) (Page *, GdkRectangle*)) page_real_on_resize_start;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_resize_finished = (void (*)(Page*, GdkRectangle*)) page_real_on_resize_finished;
+ ((PageClass *) klass)->on_resize_finished = (void (*) (Page *, GdkRectangle*)) page_real_on_resize_finished;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_configure = (gboolean (*)(Page*, GdkEventConfigure*, GdkRectangle*)) page_real_on_configure;
+ ((PageClass *) klass)->on_configure = (gboolean (*) (Page *, GdkEventConfigure*, GdkRectangle*)) page_real_on_configure;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_motion = (gboolean (*)(Page*, GdkEventMotion*, gint, gint, GdkModifierType)) page_real_on_motion;
+ ((PageClass *) klass)->on_motion = (gboolean (*) (Page *, GdkEventMotion*, gint, gint, GdkModifierType)) page_real_on_motion;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_leave_notify_event = (gboolean (*)(Page*)) page_real_on_leave_notify_event;
+ ((PageClass *) klass)->on_leave_notify_event = (gboolean (*) (Page *)) page_real_on_leave_notify_event;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_mousewheel_up = (gboolean (*)(Page*, GdkEventScroll*)) page_real_on_mousewheel_up;
+ ((PageClass *) klass)->on_mousewheel_up = (gboolean (*) (Page *, GdkEventScroll*)) page_real_on_mousewheel_up;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_mousewheel_down = (gboolean (*)(Page*, GdkEventScroll*)) page_real_on_mousewheel_down;
+ ((PageClass *) klass)->on_mousewheel_down = (gboolean (*) (Page *, GdkEventScroll*)) page_real_on_mousewheel_down;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_mousewheel_left = (gboolean (*)(Page*, GdkEventScroll*)) page_real_on_mousewheel_left;
+ ((PageClass *) klass)->on_mousewheel_left = (gboolean (*) (Page *, GdkEventScroll*)) page_real_on_mousewheel_left;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_mousewheel_right = (gboolean (*)(Page*, GdkEventScroll*)) page_real_on_mousewheel_right;
+ ((PageClass *) klass)->on_mousewheel_right = (gboolean (*) (Page *, GdkEventScroll*)) page_real_on_mousewheel_right;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) page_real_on_context_keypress;
+ ((PageClass *) klass)->on_context_keypress = (gboolean (*) (Page *)) page_real_on_context_keypress;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_context_buttonpress = (gboolean (*)(Page*, GdkEventButton*)) page_real_on_context_buttonpress;
+ ((PageClass *) klass)->on_context_buttonpress = (gboolean (*) (Page *, GdkEventButton*)) page_real_on_context_buttonpress;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_context_invoked = (gboolean (*)(Page*)) page_real_on_context_invoked;
+ ((PageClass *) klass)->on_context_invoked = (gboolean (*) (Page *)) page_real_on_context_invoked;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->set_page_cursor = (void (*)(Page*, GdkCursorType)) page_real_set_page_cursor;
+ ((PageClass *) klass)->set_page_cursor = (void (*) (Page *, GdkCursorType)) page_real_set_page_cursor;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = page_finalize;
-#line 8423 "Page.c"
+#line 8524 "Page.c"
}
static void page_instance_init (Page * self) {
- GtkBuilder* _tmp0_ = NULL;
+ GtkBuilder* _tmp0_;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = PAGE_GET_PRIVATE (self);
#line 61 "/home/jens/Source/shotwell/src/Page.vala"
@@ -8477,11 +8578,11 @@ static void page_instance_init (Page * self) {
self->priv->update_actions_scheduler = NULL;
#line 205 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->menubar_injected = FALSE;
-#line 8481 "Page.c"
+#line 8582 "Page.c"
}
-static void page_finalize (GObject* obj) {
+static void page_finalize (GObject * obj) {
Page * self;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PAGE, Page);
@@ -8503,7 +8604,7 @@ static void page_finalize (GObject* obj) {
_one_shot_scheduler_unref0 (self->priv->update_actions_scheduler);
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (page_parent_class)->finalize (obj);
-#line 8507 "Page.c"
+#line 8608 "Page.c"
}
@@ -8532,1115 +8633,1120 @@ GType checkerboard_page_activator_get_type (void) {
static void _checkerboard_page_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, GeeCollection* hidden, gpointer self) {
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_hidden ((CheckerboardPage*) self, hidden);
-#line 8538 "Page.c"
+#line 8639 "Page.c"
}
static void _checkerboard_page_on_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_contents_altered ((CheckerboardPage*) self, added, removed);
-#line 8545 "Page.c"
+#line 8646 "Page.c"
}
static void _checkerboard_page_on_items_state_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_state_changed ((CheckerboardPage*) self, changed);
-#line 8552 "Page.c"
+#line 8653 "Page.c"
}
static void _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
-#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_visibility_changed ((CheckerboardPage*) self, changed);
-#line 8559 "Page.c"
+#line 8660 "Page.c"
}
CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* page_name) {
CheckerboardPage * self = NULL;
- const gchar* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- CheckerboardLayout* _tmp3_ = NULL;
- CheckerboardLayout* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- CheckerboardLayout* _tmp6_ = NULL;
- GtkViewport* _tmp7_ = NULL;
- GtkViewport* _tmp8_ = NULL;
- GtkViewport* _tmp9_ = NULL;
- CheckerboardLayout* _tmp10_ = NULL;
- CheckerboardLayout* _tmp11_ = NULL;
- GtkAdjustment* _tmp12_ = NULL;
- GtkAdjustment* _tmp13_ = NULL;
- GtkViewport* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- ViewCollection* _tmp17_ = NULL;
- ViewCollection* _tmp18_ = NULL;
- ViewCollection* _tmp19_ = NULL;
- ViewCollection* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- ViewCollection* _tmp22_ = NULL;
-#line 1244 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ CheckerboardLayout* _tmp3_;
+ CheckerboardLayout* _tmp4_;
+ const gchar* _tmp5_;
+ CheckerboardLayout* _tmp6_;
+ GtkViewport* _tmp7_;
+ GtkViewport* _tmp8_;
+ GtkViewport* _tmp9_;
+ CheckerboardLayout* _tmp10_;
+ CheckerboardLayout* _tmp11_;
+ GtkAdjustment* _tmp12_;
+ GtkAdjustment* _tmp13_;
+ GtkViewport* _tmp14_;
+ ViewCollection* _tmp15_;
+ ViewCollection* _tmp16_;
+ ViewCollection* _tmp17_;
+ ViewCollection* _tmp18_;
+ ViewCollection* _tmp19_;
+ ViewCollection* _tmp20_;
+ ViewCollection* _tmp21_;
+ ViewCollection* _tmp22_;
+#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
-#line 1245 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 1245 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
self = (CheckerboardPage*) page_construct (object_type, _tmp0_);
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_new (_tmp2_);
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp3_);
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->layout);
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->layout = _tmp3_;
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1265 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->layout;
-#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1265 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_name;
-#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1265 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp4_, _tmp5_);
-#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->layout;
-#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
-#line 1253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE);
-#line 1255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1272 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->viewport;
-#line 1255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1272 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), (guint) 0);
-#line 1256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->viewport;
-#line 1256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
gtk_viewport_set_shadow_type (_tmp8_, GTK_SHADOW_NONE);
-#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->viewport;
-#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->layout;
-#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gtk_scrolled_window_get_hadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_adjustments (_tmp11_, _tmp12_, _tmp13_);
-#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->viewport;
-#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp16_, "items-hidden", (GCallback) _checkerboard_page_on_items_hidden_view_collection_items_hidden, self, 0);
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp16_);
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _checkerboard_page_on_contents_altered_data_collection_contents_altered, self, 0);
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp18_);
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp20_, "items-state-changed", (GCallback) _checkerboard_page_on_items_state_changed_view_collection_items_state_changed, self, 0);
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp20_);
-#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp22_, "items-visibility-changed", (GCallback) _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed, self, 0);
-#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1290 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 1244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 8684 "Page.c"
+#line 8785 "Page.c"
}
void checkerboard_page_init_item_context_menu (CheckerboardPage* self, const gchar* path) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (path != NULL);
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->item_context_menu_path);
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu_path = _tmp1_;
-#line 8703 "Page.c"
+#line 8804 "Page.c"
}
void checkerboard_page_init_page_context_menu (CheckerboardPage* self, const gchar* path) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+#line 1297 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1297 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (path != NULL);
-#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_context_menu_path);
-#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu_path = _tmp1_;
-#line 8722 "Page.c"
+#line 8823 "Page.c"
}
GtkMenu* checkerboard_page_get_context_menu (CheckerboardPage* self) {
GtkMenu* result = NULL;
GtkMenu* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gboolean _tmp4_ = FALSE;
-#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ gint _tmp3_;
+ gboolean _tmp4_;
+#line 1301 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_get_selected_count (_tmp2_);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != 0;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 8747 "Page.c"
- GtkMenu* _tmp5_ = NULL;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 8848 "Page.c"
+ GtkMenu* _tmp5_;
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = checkerboard_page_get_item_context_menu (self);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp5_;
-#line 8755 "Page.c"
+#line 8856 "Page.c"
} else {
- GtkMenu* _tmp6_ = NULL;
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp6_;
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp6_;
-#line 8764 "Page.c"
+#line 8865 "Page.c"
}
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8770 "Page.c"
+#line 8871 "Page.c"
}
static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage* self) {
GtkMenu* result = NULL;
- GtkMenu* _tmp0_ = NULL;
- GtkMenu* _tmp8_ = NULL;
- GtkMenu* _tmp9_ = NULL;
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp0_;
+ GtkMenu* _tmp8_;
+ GtkMenu* _tmp9_;
+#line 1309 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->item_context_menu;
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1309 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 8783 "Page.c"
+#line 8884 "Page.c"
GMenuModel* model = NULL;
- GtkBuilder* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- GObject* _tmp3_ = NULL;
- GMenuModel* _tmp4_ = NULL;
- GMenuModel* _tmp5_ = NULL;
- GtkMenu* _tmp6_ = NULL;
- GtkMenu* _tmp7_ = NULL;
-#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkBuilder* _tmp1_;
+ const gchar* _tmp2_;
+ GObject* _tmp3_;
+ GMenuModel* _tmp4_;
+ GMenuModel* _tmp5_;
+ GtkMenu* _tmp6_;
+ GtkMenu* _tmp7_;
+#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->item_context_menu_path;
-#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL);
-#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp4_;
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = model;
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp6_);
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu = _tmp6_;
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1313 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->item_context_menu;
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1313 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1309 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 8818 "Page.c"
+#line 8919 "Page.c"
}
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->item_context_menu;
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8828 "Page.c"
+#line 8929 "Page.c"
}
GtkMenu* checkerboard_page_get_item_context_menu (CheckerboardPage* self) {
-#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_item_context_menu (self);
-#line 8837 "Page.c"
+#line 8938 "Page.c"
}
static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) {
CheckerboardPage * self;
GtkMenu* result = NULL;
- GtkMenu* _tmp0_ = NULL;
- GtkMenu* _tmp8_ = NULL;
- GtkMenu* _tmp9_ = NULL;
-#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ GtkMenu* _tmp1_;
+ GtkMenu* _tmp9_;
+ GtkMenu* _tmp10_;
+#line 1320 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp0_ = self->priv->page_context_menu;
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp0_ = self->priv->page_context_menu_path;
+#line 1321 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 8853 "Page.c"
+#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+ result = NULL;
+#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 8959 "Page.c"
+ }
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp1_ = self->priv->page_context_menu;
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp1_ == NULL) {
+#line 8965 "Page.c"
GMenuModel* model = NULL;
- GtkBuilder* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- GObject* _tmp3_ = NULL;
- GMenuModel* _tmp4_ = NULL;
- GMenuModel* _tmp5_ = NULL;
- GtkMenu* _tmp6_ = NULL;
- GtkMenu* _tmp7_ = NULL;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp2_ = self->priv->page_context_menu_path;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
- model = _tmp4_;
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp5_ = model;
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
- g_object_ref_sink (_tmp6_);
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkBuilder* _tmp2_;
+ const gchar* _tmp3_;
+ GObject* _tmp4_;
+ GMenuModel* _tmp5_;
+ GMenuModel* _tmp6_;
+ GtkMenu* _tmp7_;
+ GtkMenu* _tmp8_;
+#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
+#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp3_ = self->priv->page_context_menu_path;
+#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp4_ = gtk_builder_get_object (_tmp2_, _tmp3_);
+#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp4_) : NULL);
+#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+ model = _tmp5_;
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp6_ = model;
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp7_ = (GtkMenu*) gtk_menu_new_from_model (_tmp6_);
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+ g_object_ref_sink (_tmp7_);
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->page_context_menu = _tmp6_;
-#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp7_ = self->priv->page_context_menu;
-#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->page_context_menu = _tmp7_;
+#line 1328 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp8_ = self->priv->page_context_menu;
+#line 1328 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_menu_attach_to_widget (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 8888 "Page.c"
+#line 9000 "Page.c"
}
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp8_ = self->priv->page_context_menu;
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
- result = _tmp9_;
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp9_ = self->priv->page_context_menu;
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp10_ = _g_object_ref0 (_tmp9_);
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp10_;
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8898 "Page.c"
+#line 9010 "Page.c"
}
static gboolean checkerboard_page_real_on_context_keypress (Page* base) {
CheckerboardPage * self;
gboolean result = FALSE;
- GtkMenu* _tmp0_ = NULL;
- GtkMenu* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp0_;
+ GtkMenu* _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = checkerboard_page_get_context_menu (self);
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8925 "Page.c"
+#line 9037 "Page.c"
}
static gchar* checkerboard_page_real_get_view_empty_message (CheckerboardPage* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp0_ = _ ("No photos/videos");
-#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp1_ = g_strdup (_tmp0_);
-#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
- result = _tmp1_;
-#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
+ gchar* _tmp0_;
+#line 1339 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp0_ = g_strdup (_ ("No photos/videos"));
+#line 1339 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp0_;
+#line 1339 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8941 "Page.c"
+#line 9050 "Page.c"
}
gchar* checkerboard_page_get_view_empty_message (CheckerboardPage* self) {
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_empty_message (self);
-#line 8950 "Page.c"
+#line 9059 "Page.c"
}
static gchar* checkerboard_page_real_get_filter_no_match_message (CheckerboardPage* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp0_ = _ ("No photos/videos found which match the current filter");
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp1_ = g_strdup (_tmp0_);
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
- result = _tmp1_;
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
+ gchar* _tmp0_;
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp0_ = g_strdup (_ ("No photos/videos found which match the current filter"));
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+ result = _tmp0_;
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8966 "Page.c"
+#line 9072 "Page.c"
}
gchar* checkerboard_page_get_filter_no_match_message (CheckerboardPage* self) {
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_filter_no_match_message (self);
-#line 8975 "Page.c"
+#line 9081 "Page.c"
}
static void checkerboard_page_real_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (modifiers != NULL);
-#line 8984 "Page.c"
+#line 9090 "Page.c"
}
void checkerboard_page_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->on_item_activated (self, item, activator, modifiers);
-#line 8993 "Page.c"
+#line 9099 "Page.c"
}
CheckerboardLayout* checkerboard_page_get_checkerboard_layout (CheckerboardPage* self) {
CheckerboardLayout* result = NULL;
- CheckerboardLayout* _tmp0_ = NULL;
- CheckerboardLayout* _tmp1_ = NULL;
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ CheckerboardLayout* _tmp1_;
+#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9011 "Page.c"
+#line 9117 "Page.c"
}
static SearchViewFilter* checkerboard_page_real_get_search_view_filter (CheckerboardPage* self) {
-#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
g_critical ("Type `%s' does not implement abstract method `checkerboard_page_get_search_view_filter'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 9020 "Page.c"
+#line 9126 "Page.c"
}
SearchViewFilter* checkerboard_page_get_search_view_filter (CheckerboardPage* self) {
-#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_search_view_filter (self);
-#line 9029 "Page.c"
+#line 9135 "Page.c"
}
static CoreViewTracker* checkerboard_page_real_get_view_tracker (CheckerboardPage* self) {
CoreViewTracker* result = NULL;
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1358 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1358 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9039 "Page.c"
+#line 9145 "Page.c"
}
CoreViewTracker* checkerboard_page_get_view_tracker (CheckerboardPage* self) {
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_tracker (self);
-#line 9048 "Page.c"
+#line 9154 "Page.c"
}
static void _checkerboard_page_on_view_filter_refresh_view_filter_refresh (ViewFilter* _sender, gpointer self) {
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh ((CheckerboardPage*) self);
-#line 9055 "Page.c"
+#line 9161 "Page.c"
}
static void checkerboard_page_real_switching_from (Page* base) {
CheckerboardPage * self;
- CheckerboardLayout* _tmp0_ = NULL;
- SearchViewFilter* _tmp1_ = NULL;
- SearchViewFilter* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
-#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ SearchViewFilter* _tmp1_;
+ SearchViewFilter* _tmp2_;
+ guint _tmp3_;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_in_view (_tmp0_, FALSE);
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("refresh", TYPE_VIEW_FILTER, &_tmp3_, NULL, FALSE);
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self);
-#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
_view_filter_unref0 (_tmp2_);
-#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1368 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 9093 "Page.c"
+#line 9199 "Page.c"
}
static void checkerboard_page_real_switched_to (Page* base) {
CheckerboardPage * self;
- CheckerboardLayout* _tmp0_ = NULL;
- SearchViewFilter* _tmp1_ = NULL;
- SearchViewFilter* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- ViewCollection* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
-#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ SearchViewFilter* _tmp1_;
+ SearchViewFilter* _tmp2_;
+ ViewCollection* _tmp3_;
+ ViewCollection* _tmp4_;
+ gint _tmp5_;
+ gboolean _tmp6_;
+#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_in_view (_tmp0_, TRUE);
-#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), "refresh", (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self, 0);
-#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
_view_filter_unref0 (_tmp2_);
-#line 1354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh (self);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = view_collection_get_selected_count (_tmp4_);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_ > 0;
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp4_);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 9134 "Page.c"
+#line 9240 "Page.c"
CheckerboardItem* item = NULL;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- DataView* _tmp9_ = NULL;
- CheckerboardItem* _tmp10_ = NULL;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ DataView* _tmp9_;
+ CheckerboardItem* _tmp10_;
GtkAdjustment* vadj = NULL;
- GtkAdjustment* _tmp11_ = NULL;
- GtkAdjustment* _tmp12_ = NULL;
+ GtkAdjustment* _tmp11_;
+ GtkAdjustment* _tmp12_;
gboolean _tmp13_ = FALSE;
- GtkAdjustment* _tmp14_ = NULL;
- CheckerboardItem* _tmp15_ = NULL;
- GdkRectangle _tmp16_ = {0};
- gint _tmp17_ = 0;
- AdjustmentRelation _tmp18_ = 0;
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkAdjustment* _tmp14_;
+ CheckerboardItem* _tmp15_;
+ GdkRectangle _tmp16_;
+ gint _tmp17_;
+ AdjustmentRelation _tmp18_;
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_at (_tmp8_, 0);
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp10_;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _g_object_ref0 (_tmp11_);
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp12_;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = vadj;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->allocation;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_.y;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp14_, _tmp17_);
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 9179 "Page.c"
- GtkAdjustment* _tmp19_ = NULL;
- CheckerboardItem* _tmp20_ = NULL;
- GdkRectangle _tmp21_ = {0};
- gint _tmp22_ = 0;
- CheckerboardItem* _tmp23_ = NULL;
- GdkRectangle _tmp24_ = {0};
- gint _tmp25_ = 0;
- AdjustmentRelation _tmp26_ = 0;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9285 "Page.c"
+ GtkAdjustment* _tmp19_;
+ CheckerboardItem* _tmp20_;
+ GdkRectangle _tmp21_;
+ gint _tmp22_;
+ CheckerboardItem* _tmp23_;
+ GdkRectangle _tmp24_;
+ gint _tmp25_;
+ AdjustmentRelation _tmp26_;
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = vadj;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_->allocation;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.height;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp19_, _tmp22_ + _tmp25_);
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp26_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 9206 "Page.c"
+#line 9312 "Page.c"
} else {
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 9210 "Page.c"
+#line 9316 "Page.c"
}
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 9214 "Page.c"
+#line 9320 "Page.c"
gint top = 0;
- CheckerboardItem* _tmp27_ = NULL;
- GdkRectangle _tmp28_ = {0};
- gint _tmp29_ = 0;
- GtkAdjustment* _tmp30_ = NULL;
- gdouble _tmp31_ = 0.0;
- GtkAdjustment* _tmp45_ = NULL;
- gint _tmp46_ = 0;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp27_;
+ GdkRectangle _tmp28_;
+ gint _tmp29_;
+ GtkAdjustment* _tmp30_;
+ gdouble _tmp31_;
+ GtkAdjustment* _tmp45_;
+ gint _tmp46_;
+#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
top = 0;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = item;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_->allocation;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_.y;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = vadj;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = gtk_adjustment_get_value (_tmp30_);
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp29_) < _tmp31_) {
-#line 9237 "Page.c"
- CheckerboardItem* _tmp32_ = NULL;
- GdkRectangle _tmp33_ = {0};
- gint _tmp34_ = 0;
- gint _tmp35_ = 0;
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9343 "Page.c"
+ CheckerboardItem* _tmp32_;
+ GdkRectangle _tmp33_;
+ gint _tmp34_;
+ gint _tmp35_;
+#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = item;
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_->allocation;
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp33_.y;
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp34_;
-#line 1368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1388 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = top;
-#line 1368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1388 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp35_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9254 "Page.c"
+#line 9360 "Page.c"
} else {
- CheckerboardItem* _tmp36_ = NULL;
- GdkRectangle _tmp37_ = {0};
- gint _tmp38_ = 0;
- CheckerboardItem* _tmp39_ = NULL;
- GdkRectangle _tmp40_ = {0};
- gint _tmp41_ = 0;
- GtkAdjustment* _tmp42_ = NULL;
- gdouble _tmp43_ = 0.0;
- gint _tmp44_ = 0;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp36_;
+ GdkRectangle _tmp37_;
+ gint _tmp38_;
+ CheckerboardItem* _tmp39_;
+ GdkRectangle _tmp40_;
+ gint _tmp41_;
+ GtkAdjustment* _tmp42_;
+ gdouble _tmp43_;
+ gint _tmp44_;
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = item;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_->allocation;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.y;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = item;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = _tmp39_->allocation;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_.height;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = vadj;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = gtk_adjustment_get_page_size (_tmp42_);
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_);
-#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = top;
-#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp44_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9287 "Page.c"
+#line 9393 "Page.c"
}
-#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = vadj;
-#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = top;
-#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1394 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp45_, (gdouble) _tmp46_);
-#line 9295 "Page.c"
+#line 9401 "Page.c"
}
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 9301 "Page.c"
+#line 9407 "Page.c"
}
-#line 1379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 9305 "Page.c"
+#line 9411 "Page.c"
}
static void checkerboard_page_on_view_filter_refresh (CheckerboardPage* self) {
-#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9314 "Page.c"
+#line 9420 "Page.c"
}
static void checkerboard_page_on_contents_altered (CheckerboardPage* self, GeeIterable* added, GeeIterable* removed) {
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1406 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1406 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added));
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1406 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed));
-#line 1388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1408 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9327 "Page.c"
+#line 9433 "Page.c"
}
static void checkerboard_page_on_items_state_changed (CheckerboardPage* self, GeeIterable* changed) {
-#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_ITERABLE (changed));
-#line 1392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9338 "Page.c"
+#line 9444 "Page.c"
}
static void checkerboard_page_on_items_visibility_changed (CheckerboardPage* self, GeeCollection* changed) {
-#line 1395 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1395 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_COLLECTION (changed));
-#line 1396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9349 "Page.c"
+#line 9455 "Page.c"
}
static void checkerboard_page_update_view_filter_message (CheckerboardPage* self) {
gboolean _tmp0_ = FALSE;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ gboolean _tmp3_;
+ gboolean _tmp4_;
+#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_are_items_filtered_out (_tmp2_);
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 9373 "Page.c"
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- gint _tmp7_ = 0;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9479 "Page.c"
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ gint _tmp7_;
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_ == 0;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 9387 "Page.c"
+#line 9493 "Page.c"
} else {
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 9391 "Page.c"
+#line 9497 "Page.c"
}
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 9395 "Page.c"
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9501 "Page.c"
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_page_get_filter_no_match_message (self);
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp9_);
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp9_);
-#line 9406 "Page.c"
+#line 9512 "Page.c"
} else {
- ViewCollection* _tmp10_ = NULL;
- ViewCollection* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gboolean _tmp13_ = FALSE;
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp10_;
+ ViewCollection* _tmp11_;
+ gint _tmp12_;
+ gboolean _tmp13_;
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_ == 0;
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp13_) {
-#line 9424 "Page.c"
- gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
-#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9530 "Page.c"
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_view_empty_message (self);
-#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp15_);
-#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 9435 "Page.c"
+#line 9541 "Page.c"
} else {
-#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1425 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_unset_page_message (self);
-#line 9439 "Page.c"
+#line 9545 "Page.c"
}
}
}
void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* message) {
- CheckerboardLayout* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
-#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ const gchar* _tmp1_;
+ gboolean _tmp2_;
+#line 1429 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (message != NULL);
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = message;
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_message (_tmp0_, _tmp1_);
-#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_) {
-#line 9463 "Page.c"
- CheckerboardLayout* _tmp3_ = NULL;
-#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9569 "Page.c"
+ CheckerboardLayout* _tmp3_;
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->layout;
-#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 9469 "Page.c"
+#line 9575 "Page.c"
}
}
void checkerboard_page_unset_page_message (CheckerboardPage* self) {
- CheckerboardLayout* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
-#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ gboolean _tmp1_;
+#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_unset_message (_tmp0_);
-#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 9487 "Page.c"
- CheckerboardLayout* _tmp2_ = NULL;
-#line 1418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9593 "Page.c"
+ CheckerboardLayout* _tmp2_;
+#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 9493 "Page.c"
+#line 9599 "Page.c"
}
}
static void checkerboard_page_real_set_page_name (Page* base, const gchar* name) {
CheckerboardPage * self;
- const gchar* _tmp0_ = NULL;
- CheckerboardLayout* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ CheckerboardLayout* _tmp1_;
+ const gchar* _tmp2_;
+#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->set_page_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_);
-#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = name;
-#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp1_, _tmp2_);
-#line 9517 "Page.c"
+#line 9623 "Page.c"
}
CheckerboardItem* checkerboard_page_get_item_at_pixel (CheckerboardPage* self, gdouble x, gdouble y) {
CheckerboardItem* result = NULL;
- CheckerboardLayout* _tmp0_ = NULL;
- gdouble _tmp1_ = 0.0;
- gdouble _tmp2_ = 0.0;
- CheckerboardItem* _tmp3_ = NULL;
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp0_;
+ gdouble _tmp1_;
+ gdouble _tmp2_;
+ CheckerboardItem* _tmp3_;
+#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_get_item_at_pixel (_tmp0_, _tmp1_, _tmp2_);
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9541 "Page.c"
+#line 9647 "Page.c"
}
static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterable* hidden) {
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_ITERABLE (hidden));
-#line 9550 "Page.c"
+#line 9656 "Page.c"
{
GeeIterator* _view_it = NULL;
- GeeIterable* _tmp0_ = NULL;
- GeeIterator* _tmp1_ = NULL;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+ GeeIterable* _tmp0_;
+ GeeIterator* _tmp1_;
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hidden;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gee_iterable_iterator (_tmp0_);
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_view_it = _tmp1_;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 9563 "Page.c"
- GeeIterator* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+#line 9669 "Page.c"
+ GeeIterator* _tmp2_;
+ gboolean _tmp3_;
DataView* view = NULL;
- GeeIterator* _tmp4_ = NULL;
- gpointer _tmp5_ = NULL;
+ GeeIterator* _tmp4_;
+ gpointer _tmp5_;
CheckerboardItem* item = NULL;
- DataView* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp9_ = NULL;
- CheckerboardItem* _tmp10_ = NULL;
- CheckerboardItem* _tmp11_ = NULL;
- CheckerboardItem* _tmp12_ = NULL;
- CheckerboardItem* _tmp13_ = NULL;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+ DataView* _tmp6_;
+ CheckerboardItem* _tmp7_;
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp9_;
+ CheckerboardItem* _tmp10_;
+ CheckerboardItem* _tmp11_;
+ CheckerboardItem* _tmp12_;
+ CheckerboardItem* _tmp13_;
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _view_it;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gee_iterator_next (_tmp2_);
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp3_) {
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9586 "Page.c"
+#line 9692 "Page.c"
}
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _view_it;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gee_iterator_get (_tmp4_);
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
view = (DataView*) _tmp5_;
-#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1453 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = view;
-#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1453 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1453 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp7_;
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->anchor;
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ == _tmp9_) {
-#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = NULL;
-#line 9610 "Page.c"
+#line 9716 "Page.c"
}
-#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1458 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->cursor;
-#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1458 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1458 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_ == _tmp11_) {
-#line 1439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1459 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1459 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 9622 "Page.c"
+#line 9728 "Page.c"
}
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->highlighted;
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = item;
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ == _tmp13_) {
-#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 9634 "Page.c"
+#line 9740 "Page.c"
}
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 9640 "Page.c"
+#line 9746 "Page.c"
}
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_it);
-#line 9644 "Page.c"
+#line 9750 "Page.c"
}
}
@@ -9650,392 +9756,392 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
gboolean result = FALSE;
gboolean handled = FALSE;
guint state = 0U;
- GdkEventKey* _tmp0_ = NULL;
- GdkModifierType _tmp1_ = 0;
- GdkEventKey* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- const gchar* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
+ GdkEventKey* _tmp0_;
+ GdkModifierType _tmp1_;
+ GdkEventKey* _tmp2_;
+ guint _tmp3_;
+ const gchar* _tmp4_;
+ const gchar* _tmp5_;
GQuark _tmp7_ = 0U;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label0 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label1 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label2 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label3 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label4 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label5 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label6 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label7 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label8 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label9 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label10 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label11 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label12 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label13 = 0;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label14 = 0;
-#line 9691 "Page.c"
- gboolean _tmp45_ = FALSE;
+#line 9797 "Page.c"
+ gboolean _tmp45_;
gboolean _tmp46_ = FALSE;
-#line 1446 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1446 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1467 "/home/jens/Source/shotwell/src/Page.vala"
handled = TRUE;
-#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->state;
-#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp1_ & GDK_SHIFT_MASK);
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->keyval;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_);
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("Up")))) || (_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("KP_Up"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9720 "Page.c"
+#line 9826 "Page.c"
default:
{
- guint _tmp8_ = 0U;
-#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp8_;
+#line 1475 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH);
-#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = state;
-#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp8_);
-#line 1457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9732 "Page.c"
+#line 9838 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label2) ? _tmp6_label2 : (_tmp6_label2 = g_quark_from_static_string ("Down")))) || (_tmp7_ == ((0 != _tmp6_label3) ? _tmp6_label3 : (_tmp6_label3 = g_quark_from_static_string ("KP_Down"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9738 "Page.c"
+#line 9844 "Page.c"
default:
{
- guint _tmp9_ = 0U;
-#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp9_;
+#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH);
-#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = state;
-#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp9_);
-#line 1463 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9750 "Page.c"
+#line 9856 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label4) ? _tmp6_label4 : (_tmp6_label4 = g_quark_from_static_string ("Left")))) || (_tmp7_ == ((0 != _tmp6_label5) ? _tmp6_label5 : (_tmp6_label5 = g_quark_from_static_string ("KP_Left"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9756 "Page.c"
+#line 9862 "Page.c"
default:
{
- guint _tmp10_ = 0U;
-#line 1467 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp10_;
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_WEST);
-#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = state;
-#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp10_);
-#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9768 "Page.c"
+#line 9874 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label6) ? _tmp6_label6 : (_tmp6_label6 = g_quark_from_static_string ("Right")))) || (_tmp7_ == ((0 != _tmp6_label7) ? _tmp6_label7 : (_tmp6_label7 = g_quark_from_static_string ("KP_Right"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9774 "Page.c"
+#line 9880 "Page.c"
default:
{
- guint _tmp11_ = 0U;
-#line 1473 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp11_;
+#line 1493 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_EAST);
-#line 1474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = state;
-#line 1474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp11_);
-#line 1475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9786 "Page.c"
+#line 9892 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label8) ? _tmp6_label8 : (_tmp6_label8 = g_quark_from_static_string ("Home")))) || (_tmp7_ == ((0 != _tmp6_label9) ? _tmp6_label9 : (_tmp6_label9 = g_quark_from_static_string ("KP_Home"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9792 "Page.c"
+#line 9898 "Page.c"
default:
{
CheckerboardItem* first = NULL;
- ViewCollection* _tmp12_ = NULL;
- ViewCollection* _tmp13_ = NULL;
- DataView* _tmp14_ = NULL;
- CheckerboardItem* _tmp15_ = NULL;
- CheckerboardItem* _tmp16_ = NULL;
- guint _tmp18_ = 0U;
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp12_;
+ ViewCollection* _tmp13_;
+ DataView* _tmp14_;
+ CheckerboardItem* _tmp15_;
+ CheckerboardItem* _tmp16_;
+ guint _tmp18_;
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_first (_tmp13_);
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
first = _tmp15_;
-#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = first;
-#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != NULL) {
-#line 9818 "Page.c"
- CheckerboardItem* _tmp17_ = NULL;
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9924 "Page.c"
+ CheckerboardItem* _tmp17_;
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = first;
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp17_);
-#line 9824 "Page.c"
+#line 9930 "Page.c"
}
-#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = state;
-#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp18_);
-#line 1483 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (first);
-#line 1483 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9834 "Page.c"
+#line 9940 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label10) ? _tmp6_label10 : (_tmp6_label10 = g_quark_from_static_string ("End")))) || (_tmp7_ == ((0 != _tmp6_label11) ? _tmp6_label11 : (_tmp6_label11 = g_quark_from_static_string ("KP_End"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9840 "Page.c"
+#line 9946 "Page.c"
default:
{
CheckerboardItem* last = NULL;
- ViewCollection* _tmp19_ = NULL;
- ViewCollection* _tmp20_ = NULL;
- DataView* _tmp21_ = NULL;
- CheckerboardItem* _tmp22_ = NULL;
- CheckerboardItem* _tmp23_ = NULL;
- guint _tmp25_ = 0U;
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp19_;
+ ViewCollection* _tmp20_;
+ DataView* _tmp21_;
+ CheckerboardItem* _tmp22_;
+ CheckerboardItem* _tmp23_;
+ guint _tmp25_;
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_collection_get_last (_tmp20_);
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp20_);
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
last = _tmp22_;
-#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = last;
-#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_ != NULL) {
-#line 9866 "Page.c"
- CheckerboardItem* _tmp24_ = NULL;
-#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 9972 "Page.c"
+ CheckerboardItem* _tmp24_;
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = last;
-#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp24_);
-#line 9872 "Page.c"
+#line 9978 "Page.c"
}
-#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = state;
-#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp25_);
-#line 1491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1511 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (last);
-#line 1491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1511 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9882 "Page.c"
+#line 9988 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label12) ? _tmp6_label12 : (_tmp6_label12 = g_quark_from_static_string ("Return")))) || (_tmp7_ == ((0 != _tmp6_label13) ? _tmp6_label13 : (_tmp6_label13 = g_quark_from_static_string ("KP_Enter"))))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9888 "Page.c"
+#line 9994 "Page.c"
default:
{
- ViewCollection* _tmp26_ = NULL;
- ViewCollection* _tmp27_ = NULL;
- gint _tmp28_ = 0;
- gboolean _tmp29_ = FALSE;
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp26_;
+ ViewCollection* _tmp27_;
+ gint _tmp28_;
+ gboolean _tmp29_;
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = view_collection_get_selected_count (_tmp27_);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_ == 1;
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp27_);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 9907 "Page.c"
- ViewCollection* _tmp30_ = NULL;
- ViewCollection* _tmp31_ = NULL;
- DataView* _tmp32_ = NULL;
- CheckerboardItem* _tmp33_ = NULL;
+#line 10013 "Page.c"
+ ViewCollection* _tmp30_;
+ ViewCollection* _tmp31_;
+ DataView* _tmp32_;
+ CheckerboardItem* _tmp33_;
CheckerboardPageKeyboardModifiers _tmp34_ = {0};
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _tmp30_;
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = view_collection_get_selected_at (_tmp31_, 0);
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_item_activated (self, _tmp33_, CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD, &_tmp34_);
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp33_);
-#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp31_);
-#line 9929 "Page.c"
+#line 10035 "Page.c"
} else {
-#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 9933 "Page.c"
+#line 10039 "Page.c"
}
-#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9937 "Page.c"
+#line 10043 "Page.c"
}
}
} else if (_tmp7_ == ((0 != _tmp6_label14) ? _tmp6_label14 : (_tmp6_label14 = g_quark_from_static_string ("space")))) {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9943 "Page.c"
+#line 10049 "Page.c"
default:
{
Marker* marker = NULL;
- ViewCollection* _tmp35_ = NULL;
- ViewCollection* _tmp36_ = NULL;
- CheckerboardLayout* _tmp37_ = NULL;
- CheckerboardItem* _tmp38_ = NULL;
- CheckerboardItem* _tmp39_ = NULL;
- Marker* _tmp40_ = NULL;
- Marker* _tmp41_ = NULL;
- ViewCollection* _tmp42_ = NULL;
- ViewCollection* _tmp43_ = NULL;
- Marker* _tmp44_ = NULL;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp35_;
+ ViewCollection* _tmp36_;
+ CheckerboardLayout* _tmp37_;
+ CheckerboardItem* _tmp38_;
+ CheckerboardItem* _tmp39_;
+ Marker* _tmp40_;
+ Marker* _tmp41_;
+ ViewCollection* _tmp42_;
+ ViewCollection* _tmp43_;
+ Marker* _tmp44_;
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->layout;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = checkerboard_layout_get_cursor (_tmp37_);
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_DATA_OBJECT, DataObject));
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp39_);
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp36_);
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp41_;
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _tmp42_;
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = marker;
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp43_, _tmp44_);
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp43_);
-#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9991 "Page.c"
+#line 10097 "Page.c"
}
}
} else {
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9997 "Page.c"
+#line 10103 "Page.c"
default:
{
-#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1529 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10004 "Page.c"
+#line 10110 "Page.c"
}
}
}
-#line 1512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = handled;
-#line 1512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp45_) {
-#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10016 "Page.c"
+#line 10122 "Page.c"
}
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event != NULL) {
-#line 10020 "Page.c"
- GdkEventKey* _tmp47_ = NULL;
- gboolean _tmp48_ = FALSE;
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10126 "Page.c"
+ GdkEventKey* _tmp47_;
+ gboolean _tmp48_;
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = event;
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp47_);
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp48_;
-#line 10029 "Page.c"
+#line 10135 "Page.c"
} else {
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = TRUE;
-#line 10033 "Page.c"
+#line 10139 "Page.c"
}
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp46_;
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10039 "Page.c"
+#line 10145 "Page.c"
}
@@ -10043,1487 +10149,1487 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardPage * self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
- GdkEventButton* _tmp1_ = NULL;
- GdkEventType _tmp2_ = 0;
+ GdkEventButton* _tmp1_;
+ GdkEventType _tmp2_;
guint state = 0U;
- GdkEventButton* _tmp5_ = NULL;
- GdkModifierType _tmp6_ = 0;
+ GdkEventButton* _tmp5_;
+ GdkModifierType _tmp6_;
CheckerboardItem* item = NULL;
- GdkEventButton* _tmp7_ = NULL;
- gdouble _tmp8_ = 0.0;
- GdkEventButton* _tmp9_ = NULL;
- gdouble _tmp10_ = 0.0;
- CheckerboardItem* _tmp11_ = NULL;
- CheckerboardItem* _tmp12_ = NULL;
- ViewCollection* _tmp106_ = NULL;
- ViewCollection* _tmp107_ = NULL;
- gint _tmp108_ = 0;
- gboolean _tmp109_ = FALSE;
-#line 1518 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkEventButton* _tmp7_;
+ gdouble _tmp8_;
+ GdkEventButton* _tmp9_;
+ gdouble _tmp10_;
+ CheckerboardItem* _tmp11_;
+ CheckerboardItem* _tmp12_;
+ ViewCollection* _tmp106_;
+ ViewCollection* _tmp107_;
+ gint _tmp108_;
+ gboolean _tmp109_;
+#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = event;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_->type;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != GDK_BUTTON_PRESS) {
-#line 10073 "Page.c"
- GdkEventButton* _tmp3_ = NULL;
- GdkEventType _tmp4_ = 0;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10179 "Page.c"
+ GdkEventButton* _tmp3_;
+ GdkEventType _tmp4_;
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->type;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp4_ != GDK_2BUTTON_PRESS;
-#line 10082 "Page.c"
+#line 10188 "Page.c"
} else {
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 10086 "Page.c"
+#line 10192 "Page.c"
}
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1541 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1541 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10094 "Page.c"
+#line 10200 "Page.c"
}
-#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK));
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->x;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->y;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = checkerboard_page_get_item_at_pixel (self, _tmp8_, _tmp10_);
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp11_;
-#line 1529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ != NULL) {
-#line 10118 "Page.c"
- CheckerboardLayout* _tmp13_ = NULL;
- CheckerboardItem* _tmp14_ = NULL;
- GdkEventButton* _tmp15_ = NULL;
- gdouble _tmp16_ = 0.0;
- GdkEventButton* _tmp17_ = NULL;
- gdouble _tmp18_ = 0.0;
- GdkEventButton* _tmp19_ = NULL;
- GdkModifierType _tmp20_ = 0;
- gboolean _tmp21_ = FALSE;
- guint _tmp22_ = 0U;
- CheckerboardLayout* _tmp80_ = NULL;
- CheckerboardItem* _tmp81_ = NULL;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10224 "Page.c"
+ CheckerboardLayout* _tmp13_;
+ CheckerboardItem* _tmp14_;
+ GdkEventButton* _tmp15_;
+ gdouble _tmp16_;
+ GdkEventButton* _tmp17_;
+ gdouble _tmp18_;
+ GdkEventButton* _tmp19_;
+ GdkModifierType _tmp20_;
+ gboolean _tmp21_;
+ guint _tmp22_;
+ CheckerboardLayout* _tmp80_;
+ CheckerboardItem* _tmp81_;
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = item;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = event;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->x;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_->y;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = event;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_->state;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = checkerboard_layout_handle_left_click (_tmp13_, _tmp14_, _tmp16_, _tmp18_, _tmp20_);
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10157 "Page.c"
+#line 10263 "Page.c"
}
-#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = state;
-#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp22_) {
-#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 10165 "Page.c"
+#line 10271 "Page.c"
{
Marker* marker = NULL;
- ViewCollection* _tmp23_ = NULL;
- ViewCollection* _tmp24_ = NULL;
- CheckerboardItem* _tmp25_ = NULL;
- Marker* _tmp26_ = NULL;
- Marker* _tmp27_ = NULL;
- ViewCollection* _tmp28_ = NULL;
- ViewCollection* _tmp29_ = NULL;
- Marker* _tmp30_ = NULL;
- CheckerboardItem* _tmp31_ = NULL;
- gboolean _tmp32_ = FALSE;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp23_;
+ ViewCollection* _tmp24_;
+ CheckerboardItem* _tmp25_;
+ Marker* _tmp26_;
+ Marker* _tmp27_;
+ ViewCollection* _tmp28_;
+ ViewCollection* _tmp29_;
+ Marker* _tmp30_;
+ CheckerboardItem* _tmp31_;
+ gboolean _tmp32_;
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = item;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATA_OBJECT, DataObject));
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp24_);
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp27_;
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1560 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1560 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1560 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1560 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp29_, _tmp30_);
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1560 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_VIEW, DataView));
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp32_) {
-#line 10208 "Page.c"
- CheckerboardItem* _tmp33_ = NULL;
- CheckerboardItem* _tmp34_ = NULL;
- CheckerboardItem* _tmp35_ = NULL;
- CheckerboardItem* _tmp36_ = NULL;
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10314 "Page.c"
+ CheckerboardItem* _tmp33_;
+ CheckerboardItem* _tmp34_;
+ CheckerboardItem* _tmp35_;
+ CheckerboardItem* _tmp36_;
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = item;
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _g_object_ref0 (_tmp33_);
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp34_;
-#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _g_object_ref0 (_tmp35_);
-#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp36_;
-#line 10229 "Page.c"
+#line 10335 "Page.c"
}
-#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1566 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1566 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10235 "Page.c"
+#line 10341 "Page.c"
}
-#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 10239 "Page.c"
+#line 10345 "Page.c"
{
- ViewCollection* _tmp37_ = NULL;
- ViewCollection* _tmp38_ = NULL;
- CheckerboardItem* _tmp39_ = NULL;
- CheckerboardItem* _tmp42_ = NULL;
- CheckerboardItem* _tmp43_ = NULL;
- CheckerboardItem* _tmp44_ = NULL;
- CheckerboardItem* _tmp45_ = NULL;
-#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp37_;
+ ViewCollection* _tmp38_;
+ CheckerboardItem* _tmp39_;
+ CheckerboardItem* _tmp42_;
+ CheckerboardItem* _tmp43_;
+ CheckerboardItem* _tmp44_;
+ CheckerboardItem* _tmp45_;
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = self->anchor;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_ == NULL) {
-#line 10260 "Page.c"
- CheckerboardItem* _tmp40_ = NULL;
- CheckerboardItem* _tmp41_ = NULL;
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10366 "Page.c"
+ CheckerboardItem* _tmp40_;
+ CheckerboardItem* _tmp41_;
+#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _g_object_ref0 (_tmp40_);
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp41_;
-#line 10271 "Page.c"
+#line 10377 "Page.c"
}
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = self->anchor;
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = item;
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp42_, _tmp43_);
-#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _g_object_ref0 (_tmp44_);
-#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp45_;
-#line 1557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1577 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10289 "Page.c"
+#line 10395 "Page.c"
}
-#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 10293 "Page.c"
+#line 10399 "Page.c"
{
- CheckerboardItem* _tmp46_ = NULL;
- CheckerboardItem* _tmp49_ = NULL;
- CheckerboardItem* _tmp50_ = NULL;
- CheckerboardItem* _tmp51_ = NULL;
- CheckerboardItem* _tmp52_ = NULL;
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp46_;
+ CheckerboardItem* _tmp49_;
+ CheckerboardItem* _tmp50_;
+ CheckerboardItem* _tmp51_;
+ CheckerboardItem* _tmp52_;
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = self->anchor;
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp46_ == NULL) {
-#line 10304 "Page.c"
- CheckerboardItem* _tmp47_ = NULL;
- CheckerboardItem* _tmp48_ = NULL;
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10410 "Page.c"
+ CheckerboardItem* _tmp47_;
+ CheckerboardItem* _tmp48_;
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _g_object_ref0 (_tmp47_);
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp48_;
-#line 10315 "Page.c"
+#line 10421 "Page.c"
}
-#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = self->anchor;
-#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = item;
-#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp49_, _tmp50_);
-#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = item;
-#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _g_object_ref0 (_tmp51_);
-#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp52_;
-#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1590 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10333 "Page.c"
+#line 10439 "Page.c"
}
default:
{
- GdkEventButton* _tmp53_ = NULL;
- GdkEventType _tmp54_ = 0;
- CheckerboardItem* _tmp76_ = NULL;
- CheckerboardItem* _tmp77_ = NULL;
- CheckerboardItem* _tmp78_ = NULL;
- CheckerboardItem* _tmp79_ = NULL;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkEventButton* _tmp53_;
+ GdkEventType _tmp54_;
+ CheckerboardItem* _tmp76_;
+ CheckerboardItem* _tmp77_;
+ CheckerboardItem* _tmp78_;
+ CheckerboardItem* _tmp79_;
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = event;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = _tmp53_->type;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp54_ == GDK_2BUTTON_PRESS) {
-#line 10349 "Page.c"
- CheckerboardItem* _tmp55_ = NULL;
- CheckerboardItem* _tmp56_ = NULL;
-#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10455 "Page.c"
+ CheckerboardItem* _tmp55_;
+ CheckerboardItem* _tmp56_;
+#line 1594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = item;
-#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = _g_object_ref0 (_tmp55_);
-#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1594 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1594 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = _tmp56_;
-#line 10360 "Page.c"
+#line 10466 "Page.c"
} else {
- CheckerboardItem* _tmp57_ = NULL;
- gboolean _tmp58_ = FALSE;
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp57_;
+ gboolean _tmp58_;
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = item;
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_DATA_VIEW, DataView));
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp58_) {
-#line 10370 "Page.c"
+#line 10476 "Page.c"
Marker* all = NULL;
- ViewCollection* _tmp59_ = NULL;
- ViewCollection* _tmp60_ = NULL;
- Marker* _tmp61_ = NULL;
- Marker* _tmp62_ = NULL;
- Marker* _tmp63_ = NULL;
- ViewCollection* _tmp64_ = NULL;
- ViewCollection* _tmp65_ = NULL;
- GeeList* _tmp66_ = NULL;
- GeeList* _tmp67_ = NULL;
- ViewCollection* _tmp68_ = NULL;
- ViewCollection* _tmp69_ = NULL;
- Marker* _tmp70_ = NULL;
- ViewCollection* _tmp71_ = NULL;
- ViewCollection* _tmp72_ = NULL;
- CheckerboardItem* _tmp73_ = NULL;
- Marker* _tmp74_ = NULL;
- Marker* _tmp75_ = NULL;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp59_;
+ ViewCollection* _tmp60_;
+ Marker* _tmp61_;
+ Marker* _tmp62_;
+ Marker* _tmp63_;
+ ViewCollection* _tmp64_;
+ ViewCollection* _tmp65_;
+ GeeList* _tmp66_;
+ GeeList* _tmp67_;
+ ViewCollection* _tmp68_;
+ ViewCollection* _tmp69_;
+ Marker* _tmp70_;
+ ViewCollection* _tmp71_;
+ ViewCollection* _tmp72_;
+ CheckerboardItem* _tmp73_;
+ Marker* _tmp74_;
+ Marker* _tmp75_;
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp60_);
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
all = _tmp62_;
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = all;
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = _tmp64_;
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = view_collection_get_selected (_tmp65_);
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = _tmp66_;
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp67_);
-#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp65_);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp68_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = _tmp68_;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = all;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp71_;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = item;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp74_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_DATA_OBJECT, DataObject));
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = _tmp74_;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp69_, _tmp70_, _tmp75_);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp75_);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp72_);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp69_);
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 10443 "Page.c"
+#line 10549 "Page.c"
}
}
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = item;
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = _g_object_ref0 (_tmp76_);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp77_;
-#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp78_ = item;
-#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = _g_object_ref0 (_tmp78_);
-#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp79_;
-#line 1590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1610 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10464 "Page.c"
+#line 10570 "Page.c"
}
}
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = self->priv->layout;
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = item;
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp80_, _tmp81_);
-#line 10473 "Page.c"
+#line 10579 "Page.c"
} else {
- guint _tmp82_ = 0U;
- GeeArrayList* _tmp85_ = NULL;
- CheckerboardLayout* _tmp101_ = NULL;
- GdkEventButton* _tmp102_ = NULL;
- gdouble _tmp103_ = 0.0;
- GdkEventButton* _tmp104_ = NULL;
- gdouble _tmp105_ = 0.0;
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+ guint _tmp82_;
+ GeeArrayList* _tmp85_;
+ CheckerboardLayout* _tmp101_;
+ GdkEventButton* _tmp102_;
+ gdouble _tmp103_;
+ GdkEventButton* _tmp104_;
+ gdouble _tmp105_;
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = state;
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp82_ != ((guint) GDK_CONTROL_MASK)) {
-#line 10486 "Page.c"
- ViewCollection* _tmp83_ = NULL;
- ViewCollection* _tmp84_ = NULL;
-#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10592 "Page.c"
+ ViewCollection* _tmp83_;
+ ViewCollection* _tmp84_;
+#line 1617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = _tmp83_;
-#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1617 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp84_);
-#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1617 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp84_);
-#line 10497 "Page.c"
+#line 10603 "Page.c"
}
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = gee_array_list_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = _tmp85_;
-#line 10505 "Page.c"
+#line 10611 "Page.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp86_ = NULL;
- ViewCollection* _tmp87_ = NULL;
- GeeList* _tmp88_ = NULL;
- GeeList* _tmp89_ = NULL;
+ ViewCollection* _tmp86_;
+ ViewCollection* _tmp87_;
+ GeeList* _tmp88_;
+ GeeList* _tmp89_;
gint _view_size = 0;
- GeeList* _tmp90_ = NULL;
- gint _tmp91_ = 0;
- gint _tmp92_ = 0;
+ GeeList* _tmp90_;
+ gint _tmp91_;
+ gint _tmp92_;
gint _view_index = 0;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = _tmp86_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = view_collection_get_selected (_tmp87_);
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = _tmp88_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp87_);
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_view_list = _tmp89_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = _view_list;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp91_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = _tmp91_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_view_size = _tmp92_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = -1;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 10541 "Page.c"
- gint _tmp93_ = 0;
- gint _tmp94_ = 0;
- gint _tmp95_ = 0;
+#line 10647 "Page.c"
+ gint _tmp93_;
+ gint _tmp94_;
+ gint _tmp95_;
DataView* view = NULL;
- GeeList* _tmp96_ = NULL;
- gint _tmp97_ = 0;
- gpointer _tmp98_ = NULL;
- GeeArrayList* _tmp99_ = NULL;
- DataView* _tmp100_ = NULL;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+ GeeList* _tmp96_;
+ gint _tmp97_;
+ gpointer _tmp98_;
+ GeeArrayList* _tmp99_;
+ DataView* _tmp100_;
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = _view_index;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = _tmp93_ + 1;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = _view_index;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = _view_size;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp94_ < _tmp95_)) {
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10563 "Page.c"
+#line 10669 "Page.c"
}
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = _view_list;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = _view_index;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = gee_list_get (_tmp96_, _tmp97_);
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
view = (DataView*) _tmp98_;
-#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = self->priv->previously_selected;
-#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
_tmp100_ = view;
-#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 10581 "Page.c"
+#line 10687 "Page.c"
}
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_list);
-#line 10585 "Page.c"
+#line 10691 "Page.c"
}
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp101_ = self->priv->layout;
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp102_ = event;
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp103_ = _tmp102_->x;
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp104_ = event;
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp105_ = _tmp104_->y;
-#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1624 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_origin (_tmp101_, (gint) _tmp103_, (gint) _tmp105_);
-#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10605 "Page.c"
+#line 10711 "Page.c"
}
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp106_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp107_ = _tmp106_;
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp108_ = view_collection_get_selected_count (_tmp107_);
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp109_ = _tmp108_ == 0;
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp107_);
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp109_;
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10623 "Page.c"
+#line 10729 "Page.c"
}
static gboolean checkerboard_page_real_on_left_released (Page* base, GdkEventButton* event) {
CheckerboardPage * self;
gboolean result = FALSE;
- CheckerboardLayout* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- GdkEventButton* _tmp5_ = NULL;
- GdkModifierType _tmp6_ = 0;
- CheckerboardItem* _tmp7_ = NULL;
+ CheckerboardLayout* _tmp0_;
+ gboolean _tmp1_;
+ GdkEventButton* _tmp5_;
+ GdkModifierType _tmp6_;
+ CheckerboardItem* _tmp7_;
CheckerboardItem* item = NULL;
- GdkEventButton* _tmp10_ = NULL;
- gdouble _tmp11_ = 0.0;
- GdkEventButton* _tmp12_ = NULL;
- gdouble _tmp13_ = 0.0;
- CheckerboardItem* _tmp14_ = NULL;
- CheckerboardItem* _tmp15_ = NULL;
- CheckerboardItem* _tmp16_ = NULL;
- CheckerboardItem* _tmp17_ = NULL;
-#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkEventButton* _tmp10_;
+ gdouble _tmp11_;
+ GdkEventButton* _tmp12_;
+ gdouble _tmp13_;
+ CheckerboardItem* _tmp14_;
+ CheckerboardItem* _tmp15_;
+ CheckerboardItem* _tmp16_;
+ CheckerboardItem* _tmp17_;
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1636 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1636 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 10658 "Page.c"
- CheckerboardLayout* _tmp2_ = NULL;
- CheckerboardItem* _tmp3_ = NULL;
- CheckerboardItem* _tmp4_ = NULL;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10764 "Page.c"
+ CheckerboardLayout* _tmp2_;
+ CheckerboardItem* _tmp3_;
+ CheckerboardItem* _tmp4_;
+#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_clear_drag_select (_tmp2_);
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->cursor;
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp4_;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10678 "Page.c"
+#line 10784 "Page.c"
}
-#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) {
-#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1648 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1648 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10690 "Page.c"
+#line 10796 "Page.c"
}
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1651 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->activated_item;
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1651 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 10696 "Page.c"
- CheckerboardItem* _tmp8_ = NULL;
+#line 10802 "Page.c"
+ CheckerboardItem* _tmp8_;
CheckerboardPageKeyboardModifiers _tmp9_ = {0};
-#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->activated_item;
-#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_);
-#line 1633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = NULL;
-#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10713 "Page.c"
+#line 10819 "Page.c"
}
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->x;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_->y;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_item_at_pixel (self, _tmp11_, _tmp13_);
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp14_;
-#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1659 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1659 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_ == NULL) {
-#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10737 "Page.c"
+#line 10843 "Page.c"
}
-#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1664 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->cursor;
-#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1664 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1664 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != _tmp17_) {
-#line 10745 "Page.c"
- ViewCollection* _tmp18_ = NULL;
- ViewCollection* _tmp19_ = NULL;
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10851 "Page.c"
+ ViewCollection* _tmp18_;
+ ViewCollection* _tmp19_;
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_;
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp19_);
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp19_);
-#line 10756 "Page.c"
+#line 10862 "Page.c"
} else {
- CheckerboardItem* _tmp20_ = NULL;
- gboolean _tmp21_ = FALSE;
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp20_;
+ gboolean _tmp21_;
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_VIEW, DataView));
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 10766 "Page.c"
- ViewCollection* _tmp22_ = NULL;
- ViewCollection* _tmp23_ = NULL;
- CheckerboardItem* _tmp24_ = NULL;
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10872 "Page.c"
+ ViewCollection* _tmp22_;
+ ViewCollection* _tmp23_;
+ CheckerboardItem* _tmp24_;
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = item;
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all_but (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView));
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp23_);
-#line 10780 "Page.c"
+#line 10886 "Page.c"
}
}
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10789 "Page.c"
+#line 10895 "Page.c"
}
static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButton* event) {
CheckerboardPage * self;
gboolean result = FALSE;
- GdkEventButton* _tmp0_ = NULL;
- GdkEventType _tmp1_ = 0;
+ GdkEventButton* _tmp0_;
+ GdkEventType _tmp1_;
CheckerboardItem* item = NULL;
- GdkEventButton* _tmp2_ = NULL;
- gdouble _tmp3_ = 0.0;
- GdkEventButton* _tmp4_ = NULL;
- gdouble _tmp5_ = 0.0;
- CheckerboardItem* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
+ GdkEventButton* _tmp2_;
+ gdouble _tmp3_;
+ GdkEventButton* _tmp4_;
+ gdouble _tmp5_;
+ CheckerboardItem* _tmp6_;
+ CheckerboardItem* _tmp7_;
GtkMenu* context_menu = NULL;
- GtkMenu* _tmp39_ = NULL;
- GtkMenu* _tmp40_ = NULL;
- GdkEventButton* _tmp41_ = NULL;
- gboolean _tmp42_ = FALSE;
-#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp39_;
+ GtkMenu* _tmp40_;
+ GdkEventButton* _tmp41_;
+ gboolean _tmp42_;
+#line 1680 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1680 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->type;
-#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != GDK_BUTTON_PRESS) {
-#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1683 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1683 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10824 "Page.c"
+#line 10930 "Page.c"
}
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->x;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->y;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = checkerboard_page_get_item_at_pixel (self, _tmp3_, _tmp5_);
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp6_;
-#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 10842 "Page.c"
- GdkEventButton* _tmp8_ = NULL;
- GdkModifierType _tmp9_ = 0;
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 10948 "Page.c"
+ GdkEventButton* _tmp8_;
+ GdkModifierType _tmp9_;
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_->state;
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 10853 "Page.c"
+#line 10959 "Page.c"
{
Marker* marker = NULL;
- ViewCollection* _tmp10_ = NULL;
- ViewCollection* _tmp11_ = NULL;
- CheckerboardItem* _tmp12_ = NULL;
- Marker* _tmp13_ = NULL;
- Marker* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- Marker* _tmp17_ = NULL;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp10_;
+ ViewCollection* _tmp11_;
+ CheckerboardItem* _tmp12_;
+ Marker* _tmp13_;
+ Marker* _tmp14_;
+ ViewCollection* _tmp15_;
+ ViewCollection* _tmp16_;
+ Marker* _tmp17_;
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject));
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp14_;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = marker;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp16_, _tmp17_);
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp16_);
-#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1694 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1694 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10892 "Page.c"
+#line 10998 "Page.c"
}
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 10896 "Page.c"
+#line 11002 "Page.c"
{
-#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1698 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10900 "Page.c"
+#line 11006 "Page.c"
}
-#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 10904 "Page.c"
+#line 11010 "Page.c"
{
-#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10908 "Page.c"
+#line 11014 "Page.c"
}
default:
{
- CheckerboardItem* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp18_;
+ gboolean _tmp19_;
+#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_VIEW, DataView));
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp19_) {
-#line 10920 "Page.c"
+#line 11026 "Page.c"
Marker* all = NULL;
- ViewCollection* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- Marker* _tmp22_ = NULL;
- Marker* _tmp23_ = NULL;
- Marker* _tmp24_ = NULL;
- ViewCollection* _tmp25_ = NULL;
- ViewCollection* _tmp26_ = NULL;
- GeeList* _tmp27_ = NULL;
- GeeList* _tmp28_ = NULL;
- ViewCollection* _tmp29_ = NULL;
- ViewCollection* _tmp30_ = NULL;
- Marker* _tmp31_ = NULL;
- ViewCollection* _tmp32_ = NULL;
- ViewCollection* _tmp33_ = NULL;
- CheckerboardItem* _tmp34_ = NULL;
- Marker* _tmp35_ = NULL;
- Marker* _tmp36_ = NULL;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp20_;
+ ViewCollection* _tmp21_;
+ Marker* _tmp22_;
+ Marker* _tmp23_;
+ Marker* _tmp24_;
+ ViewCollection* _tmp25_;
+ ViewCollection* _tmp26_;
+ GeeList* _tmp27_;
+ GeeList* _tmp28_;
+ ViewCollection* _tmp29_;
+ ViewCollection* _tmp30_;
+ Marker* _tmp31_;
+ ViewCollection* _tmp32_;
+ ViewCollection* _tmp33_;
+ CheckerboardItem* _tmp34_;
+ Marker* _tmp35_;
+ Marker* _tmp36_;
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp21_);
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
all = _tmp23_;
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = all;
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_;
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = view_collection_get_selected (_tmp26_);
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp28_);
-#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp26_);
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = all;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = item;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_DATA_OBJECT, DataObject));
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp30_, _tmp31_, _tmp36_);
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp36_);
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp33_);
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp30_);
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 10993 "Page.c"
+#line 11099 "Page.c"
}
-#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10997 "Page.c"
+#line 11103 "Page.c"
}
}
} else {
- ViewCollection* _tmp37_ = NULL;
- ViewCollection* _tmp38_ = NULL;
-#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp37_;
+ ViewCollection* _tmp38_;
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 11011 "Page.c"
+#line 11117 "Page.c"
}
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = checkerboard_page_get_context_menu (self);
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
context_menu = _tmp39_;
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = context_menu;
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = event;
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp40_, _tmp41_);
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp42_;
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (context_menu);
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11031 "Page.c"
+#line 11137 "Page.c"
}
static gboolean checkerboard_page_real_on_mouse_over (CheckerboardPage* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) {
gboolean result = FALSE;
- CheckerboardItem* _tmp0_ = NULL;
- CheckerboardItem* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp10_ = NULL;
- CheckerboardItem* _tmp11_ = NULL;
- CheckerboardItem* _tmp12_ = NULL;
- CheckerboardItem* _tmp13_ = NULL;
-#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp0_;
+ CheckerboardItem* _tmp6_;
+ CheckerboardItem* _tmp7_;
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp10_;
+ CheckerboardItem* _tmp11_;
+ CheckerboardItem* _tmp12_;
+ CheckerboardItem* _tmp13_;
+#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE);
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = item;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 11051 "Page.c"
- CheckerboardLayout* _tmp1_ = NULL;
- CheckerboardItem* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- GdkModifierType _tmp5_ = 0;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11157 "Page.c"
+ CheckerboardLayout* _tmp1_;
+ CheckerboardItem* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ GdkModifierType _tmp5_;
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = x;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = y;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = mask;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_handle_mouse_motion (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 11069 "Page.c"
+#line 11175 "Page.c"
}
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = item;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->highlighted;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == _tmp7_) {
-#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11081 "Page.c"
+#line 11187 "Page.c"
}
-#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1734 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->highlighted;
-#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1734 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ != NULL) {
-#line 11087 "Page.c"
- CheckerboardItem* _tmp9_ = NULL;
-#line 1715 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11193 "Page.c"
+ CheckerboardItem* _tmp9_;
+#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->highlighted;
-#line 1715 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_item_unbrighten (_tmp9_);
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 11097 "Page.c"
+#line 11203 "Page.c"
}
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = item;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_ == NULL) {
-#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11107 "Page.c"
+#line 11213 "Page.c"
}
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_item_brighten (_tmp11_);
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = _tmp13_;
-#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11125 "Page.c"
+#line 11231 "Page.c"
}
gboolean checkerboard_page_on_mouse_over (CheckerboardPage* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) {
-#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
-#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->on_mouse_over (self, item, x, y, mask);
-#line 11134 "Page.c"
+#line 11240 "Page.c"
}
static gboolean _checkerboard_page_selection_autoscroll_gsource_func (gpointer self) {
gboolean result;
result = checkerboard_page_selection_autoscroll ((CheckerboardPage*) self);
-#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11143 "Page.c"
+#line 11249 "Page.c"
}
static gboolean checkerboard_page_real_on_motion (Page* base, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) {
CheckerboardPage * self;
gboolean result = FALSE;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- CheckerboardItem* _tmp2_ = NULL;
- CheckerboardItem* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GdkModifierType _tmp6_ = 0;
- gboolean _tmp7_ = FALSE;
- gboolean _tmp8_ = FALSE;
- CheckerboardLayout* _tmp9_ = NULL;
- gboolean _tmp10_ = FALSE;
- CheckerboardLayout* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ CheckerboardItem* _tmp2_;
+ CheckerboardItem* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GdkModifierType _tmp6_;
+ gboolean _tmp7_;
+ gboolean _tmp8_;
+ CheckerboardLayout* _tmp9_;
+ gboolean _tmp10_;
+ CheckerboardLayout* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
gboolean _tmp14_ = FALSE;
- gboolean _tmp15_ = FALSE;
-#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp15_;
+#line 1750 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = checkerboard_page_get_item_at_pixel (self, (gdouble) _tmp0_, (gdouble) _tmp1_);
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = x;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = y;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = mask;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = checkerboard_page_on_mouse_over (self, _tmp3_, _tmp4_, _tmp5_, _tmp6_);
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = !_tmp7_;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_) {
-#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11196 "Page.c"
+#line 11302 "Page.c"
}
-#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->layout;
-#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = checkerboard_layout_is_drag_select_active (_tmp9_);
-#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp10_) {
-#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1757 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1757 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11208 "Page.c"
+#line 11314 "Page.c"
}
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = x;
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = y;
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp11_, _tmp12_, _tmp13_);
-#line 1742 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->autoscroll_scheduled;
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp15_) {
-#line 11224 "Page.c"
- GtkAdjustment* _tmp16_ = NULL;
- gint _tmp17_ = 0;
- AdjustmentRelation _tmp18_ = 0;
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11330 "Page.c"
+ GtkAdjustment* _tmp16_;
+ gint _tmp17_;
+ AdjustmentRelation _tmp18_;
+#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = y;
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp16_, _tmp17_);
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp18_ != ADJUSTMENT_RELATION_IN_RANGE;
-#line 11236 "Page.c"
+#line 11342 "Page.c"
} else {
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = FALSE;
-#line 11240 "Page.c"
+#line 11346 "Page.c"
}
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_) {
-#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) CHECKERBOARD_PAGE_AUTOSCROLL_TICKS_MSEC, _checkerboard_page_selection_autoscroll_gsource_func, g_object_ref (self), g_object_unref);
-#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = TRUE;
-#line 11248 "Page.c"
+#line 11354 "Page.c"
}
-#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11254 "Page.c"
+#line 11360 "Page.c"
}
static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
- CheckerboardLayout* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ CheckerboardLayout* _tmp0_;
+ gboolean _tmp1_;
GeeList* intersection = NULL;
- CheckerboardLayout* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
- GeeList* _tmp4_ = NULL;
+ CheckerboardLayout* _tmp2_;
+ GeeList* _tmp3_;
+ GeeList* _tmp4_;
Marker* to_unselect = NULL;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- Marker* _tmp7_ = NULL;
- Marker* _tmp8_ = NULL;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ Marker* _tmp7_;
+ Marker* _tmp8_;
Marker* to_select = NULL;
- ViewCollection* _tmp9_ = NULL;
- ViewCollection* _tmp10_ = NULL;
- Marker* _tmp11_ = NULL;
- Marker* _tmp12_ = NULL;
- Marker* _tmp13_ = NULL;
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- GeeList* _tmp16_ = NULL;
- GeeList* _tmp17_ = NULL;
- GeeArrayList* _tmp18_ = NULL;
- Marker* _tmp19_ = NULL;
- GeeArrayList* _tmp20_ = NULL;
- Marker* _tmp21_ = NULL;
- GeeArrayList* _tmp22_ = NULL;
- ViewCollection* _tmp44_ = NULL;
- ViewCollection* _tmp45_ = NULL;
- Marker* _tmp46_ = NULL;
- ViewCollection* _tmp47_ = NULL;
- ViewCollection* _tmp48_ = NULL;
- Marker* _tmp49_ = NULL;
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp9_;
+ ViewCollection* _tmp10_;
+ Marker* _tmp11_;
+ Marker* _tmp12_;
+ Marker* _tmp13_;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ GeeList* _tmp16_;
+ GeeList* _tmp17_;
+ GeeArrayList* _tmp18_;
+ Marker* _tmp19_;
+ GeeArrayList* _tmp20_;
+ Marker* _tmp21_;
+ GeeArrayList* _tmp22_;
+ ViewCollection* _tmp44_;
+ ViewCollection* _tmp45_;
+ Marker* _tmp46_;
+ ViewCollection* _tmp47_;
+ ViewCollection* _tmp48_;
+ Marker* _tmp49_;
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_, "layout.is_drag_select_active()");
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_items_in_selection_band (_tmp2_);
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
intersection = _tmp3_;
-#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = intersection;
-#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 1761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 1761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11313 "Page.c"
+#line 11419 "Page.c"
}
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
to_unselect = _tmp8_;
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
to_select = _tmp12_;
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = to_unselect;
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = view_collection_get_selected (_tmp15_);
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_;
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp17_);
-#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->previously_selected;
-#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp18_ != NULL, "previously_selected != null");
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = to_unselect;
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->previously_selected;
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = to_select;
-#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->previously_selected;
-#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 11375 "Page.c"
+#line 11481 "Page.c"
{
GeeList* _item_list = NULL;
- GeeList* _tmp23_ = NULL;
- GeeList* _tmp24_ = NULL;
+ GeeList* _tmp23_;
+ GeeList* _tmp24_;
gint _item_size = 0;
- GeeList* _tmp25_ = NULL;
- gint _tmp26_ = 0;
- gint _tmp27_ = 0;
+ GeeList* _tmp25_;
+ gint _tmp26_;
+ gint _tmp27_;
gint _item_index = 0;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = intersection;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _g_object_ref0 (_tmp23_);
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_item_list = _tmp24_;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _item_list;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_item_size = _tmp27_;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = -1;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 11403 "Page.c"
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
+#line 11509 "Page.c"
+ gint _tmp28_;
+ gint _tmp29_;
+ gint _tmp30_;
CheckerboardItem* item = NULL;
- GeeList* _tmp31_ = NULL;
- gint _tmp32_ = 0;
- gpointer _tmp33_ = NULL;
- Marker* _tmp34_ = NULL;
- CheckerboardItem* _tmp35_ = NULL;
- gboolean _tmp36_ = FALSE;
- CheckerboardItem* _tmp41_ = NULL;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+ GeeList* _tmp31_;
+ gint _tmp32_;
+ gpointer _tmp33_;
+ Marker* _tmp34_;
+ CheckerboardItem* _tmp35_;
+ gboolean _tmp36_;
+ CheckerboardItem* _tmp41_;
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _item_index;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = _tmp28_ + 1;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _item_index;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _item_size;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp29_ < _tmp30_)) {
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11427 "Page.c"
+#line 11533 "Page.c"
}
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _item_list;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _item_index;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gee_list_get (_tmp31_, _tmp32_);
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
item = (CheckerboardItem*) _tmp33_;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = to_select;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = marker_toggle (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_DATA_OBJECT, DataObject));
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp36_) {
-#line 11445 "Page.c"
- Marker* _tmp37_ = NULL;
- CheckerboardItem* _tmp38_ = NULL;
-#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11551 "Page.c"
+ Marker* _tmp37_;
+ CheckerboardItem* _tmp38_;
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = to_unselect;
-#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = item;
-#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
marker_unmark (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_DATA_OBJECT, DataObject));
-#line 11454 "Page.c"
+#line 11560 "Page.c"
} else {
- Marker* _tmp39_ = NULL;
- CheckerboardItem* _tmp40_ = NULL;
-#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
+ Marker* _tmp39_;
+ CheckerboardItem* _tmp40_;
+#line 1801 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = to_unselect;
-#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1801 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1801 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_DATA_OBJECT, DataObject));
-#line 11464 "Page.c"
+#line 11570 "Page.c"
}
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->cursor;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ == NULL) {
-#line 11470 "Page.c"
- CheckerboardItem* _tmp42_ = NULL;
- CheckerboardItem* _tmp43_ = NULL;
-#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11576 "Page.c"
+ CheckerboardItem* _tmp42_;
+ CheckerboardItem* _tmp43_;
+#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = item;
-#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _g_object_ref0 (_tmp42_);
-#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp43_;
-#line 11481 "Page.c"
+#line 11587 "Page.c"
}
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 11485 "Page.c"
+#line 11591 "Page.c"
}
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_item_list);
-#line 11489 "Page.c"
+#line 11595 "Page.c"
}
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_;
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = to_select;
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp45_, _tmp46_);
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp45_);
-#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_;
-#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = to_unselect;
-#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_marked (_tmp48_, _tmp49_);
-#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp48_);
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_select);
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_unselect);
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 11517 "Page.c"
+#line 11623 "Page.c"
}
static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self) {
gboolean result = FALSE;
- CheckerboardLayout* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ CheckerboardLayout* _tmp0_;
+ gboolean _tmp1_;
GtkAdjustment* vadj = NULL;
- GtkAdjustment* _tmp2_ = NULL;
- GtkAdjustment* _tmp3_ = NULL;
+ GtkAdjustment* _tmp2_;
+ GtkAdjustment* _tmp3_;
gint x = 0;
gint y = 0;
GdkModifierType mask = 0;
@@ -11531,1096 +11637,1096 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self)
gint _tmp5_ = 0;
GdkModifierType _tmp6_ = 0;
gint new_value = 0;
- GtkAdjustment* _tmp7_ = NULL;
- gdouble _tmp8_ = 0.0;
- GtkAdjustment* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- AdjustmentRelation _tmp11_ = 0;
- GtkAdjustment* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- GtkAdjustment* _tmp24_ = NULL;
- gdouble _tmp25_ = 0.0;
- GtkAdjustment* _tmp26_ = NULL;
- gdouble _tmp27_ = 0.0;
- GtkAdjustment* _tmp28_ = NULL;
- gdouble _tmp29_ = 0.0;
- gint _tmp30_ = 0;
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkAdjustment* _tmp7_;
+ gdouble _tmp8_;
+ GtkAdjustment* _tmp9_;
+ gint _tmp10_;
+ AdjustmentRelation _tmp11_;
+ GtkAdjustment* _tmp22_;
+ gint _tmp23_;
+ GtkAdjustment* _tmp24_;
+ gdouble _tmp25_;
+ GtkAdjustment* _tmp26_;
+ gdouble _tmp27_;
+ GtkAdjustment* _tmp28_;
+ gdouble _tmp29_;
+ gint _tmp30_;
+#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
-#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1812 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1812 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1812 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp1_) {
-#line 1793 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11563 "Page.c"
+#line 11669 "Page.c"
}
-#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1819 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1819 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1819 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp3_;
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1823 "/home/jens/Source/shotwell/src/Page.vala"
page_get_event_source_pointer (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp4_, &_tmp5_, &_tmp6_);
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1823 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp4_;
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1823 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp5_;
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1823 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp6_;
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = vadj;
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gtk_adjustment_get_value (_tmp7_);
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
new_value = (gint) _tmp8_;
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = vadj;
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = y;
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = get_adjustment_relation (_tmp9_, _tmp10_);
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp11_) {
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_BELOW:
-#line 11595 "Page.c"
+#line 11701 "Page.c"
{
- gint _tmp12_ = 0;
- CheckerboardLayout* _tmp13_ = NULL;
- gint _tmp14_ = 0;
- gint _tmp15_ = 0;
-#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp12_;
+ CheckerboardLayout* _tmp13_;
+ gint _tmp14_;
+ gint _tmp15_;
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = new_value;
-#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
-#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = x;
-#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = new_value;
-#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_);
-#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11615 "Page.c"
+#line 11721 "Page.c"
}
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_ABOVE:
-#line 11619 "Page.c"
+#line 11725 "Page.c"
{
- gint _tmp16_ = 0;
- CheckerboardLayout* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- GtkAdjustment* _tmp20_ = NULL;
- gdouble _tmp21_ = 0.0;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp16_;
+ CheckerboardLayout* _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
+ GtkAdjustment* _tmp20_;
+ gdouble _tmp21_;
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = new_value;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = x;
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = new_value;
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = vadj;
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = gtk_adjustment_get_page_size (_tmp20_);
-#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_));
-#line 1817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11645 "Page.c"
+#line 11751 "Page.c"
}
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_IN_RANGE:
-#line 11649 "Page.c"
+#line 11755 "Page.c"
{
-#line 1820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11659 "Page.c"
+#line 11765 "Page.c"
}
default:
{
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
g_warn_if_reached ();
-#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11667 "Page.c"
+#line 11773 "Page.c"
}
}
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = new_value;
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = vadj;
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = gtk_adjustment_get_lower (_tmp24_);
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = vadj;
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gtk_adjustment_get_upper (_tmp26_);
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = vadj;
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = gtk_adjustment_get_page_size (_tmp28_);
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = CLAMP (_tmp23_, (gint) _tmp25_, ((gint) _tmp27_) - ((gint) _tmp29_));
-#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp22_, (gdouble) _tmp30_);
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1857 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1857 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1857 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11698 "Page.c"
+#line 11804 "Page.c"
}
void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem* item) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- CheckerboardItem* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- CheckerboardItem* _tmp4_ = NULL;
- CheckerboardItem* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
- CheckerboardLayout* _tmp17_ = NULL;
- CheckerboardItem* _tmp18_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ CheckerboardItem* _tmp2_;
+ gboolean _tmp3_;
+ CheckerboardItem* _tmp4_;
+ CheckerboardItem* _tmp5_;
+ gboolean _tmp6_;
+ CheckerboardLayout* _tmp17_;
+ CheckerboardItem* _tmp18_;
GtkAdjustment* vadj = NULL;
- GtkAdjustment* _tmp19_ = NULL;
- GtkAdjustment* _tmp20_ = NULL;
+ GtkAdjustment* _tmp19_;
+ GtkAdjustment* _tmp20_;
gboolean _tmp21_ = FALSE;
- GtkAdjustment* _tmp22_ = NULL;
- CheckerboardItem* _tmp23_ = NULL;
- GdkRectangle _tmp24_ = {0};
- gint _tmp25_ = 0;
- AdjustmentRelation _tmp26_ = 0;
+ GtkAdjustment* _tmp22_;
+ CheckerboardItem* _tmp23_;
+ GdkRectangle _tmp24_;
+ gint _tmp25_;
+ AdjustmentRelation _tmp26_;
gint top = 0;
- CheckerboardItem* _tmp35_ = NULL;
- GdkRectangle _tmp36_ = {0};
- gint _tmp37_ = 0;
- GtkAdjustment* _tmp38_ = NULL;
- gdouble _tmp39_ = 0.0;
- GtkAdjustment* _tmp53_ = NULL;
- gint _tmp54_ = 0;
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp35_;
+ GdkRectangle _tmp36_;
+ gint _tmp37_;
+ GtkAdjustment* _tmp38_;
+ gdouble _tmp39_;
+ GtkAdjustment* _tmp53_;
+ gint _tmp54_;
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp3_, "get_view().contains(item)");
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = item;
-#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp5_;
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp6_) {
-#line 11757 "Page.c"
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
+#line 11863 "Page.c"
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
Marker* marker = NULL;
- ViewCollection* _tmp9_ = NULL;
- ViewCollection* _tmp10_ = NULL;
- CheckerboardItem* _tmp11_ = NULL;
- Marker* _tmp12_ = NULL;
- Marker* _tmp13_ = NULL;
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- Marker* _tmp16_ = NULL;
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp9_;
+ ViewCollection* _tmp10_;
+ CheckerboardItem* _tmp11_;
+ Marker* _tmp12_;
+ Marker* _tmp13_;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ Marker* _tmp16_;
+#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp8_);
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject));
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp13_;
-#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = marker;
-#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp15_, _tmp16_);
-#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 11803 "Page.c"
+#line 11909 "Page.c"
}
-#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1870 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp17_, _tmp18_);
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp20_;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.y;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp22_, _tmp25_);
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 11829 "Page.c"
- GtkAdjustment* _tmp27_ = NULL;
- CheckerboardItem* _tmp28_ = NULL;
- GdkRectangle _tmp29_ = {0};
- gint _tmp30_ = 0;
- CheckerboardItem* _tmp31_ = NULL;
- GdkRectangle _tmp32_ = {0};
- gint _tmp33_ = 0;
- AdjustmentRelation _tmp34_ = 0;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11935 "Page.c"
+ GtkAdjustment* _tmp27_;
+ CheckerboardItem* _tmp28_;
+ GdkRectangle _tmp29_;
+ gint _tmp30_;
+ CheckerboardItem* _tmp31_;
+ GdkRectangle _tmp32_;
+ gint _tmp33_;
+ AdjustmentRelation _tmp34_;
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = vadj;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = item;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_->allocation;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_->allocation;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_.height;
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = get_adjustment_relation (_tmp27_, _tmp30_ + _tmp33_);
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp34_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 11856 "Page.c"
+#line 11962 "Page.c"
} else {
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 11860 "Page.c"
+#line 11966 "Page.c"
}
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1876 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1876 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11868 "Page.c"
+#line 11974 "Page.c"
}
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
top = 0;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_->allocation;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_.y;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = vadj;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = gtk_adjustment_get_value (_tmp38_);
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp37_) < _tmp39_) {
-#line 11884 "Page.c"
- CheckerboardItem* _tmp40_ = NULL;
- GdkRectangle _tmp41_ = {0};
- gint _tmp42_ = 0;
- gint _tmp43_ = 0;
-#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+#line 11990 "Page.c"
+ CheckerboardItem* _tmp40_;
+ GdkRectangle _tmp41_;
+ gint _tmp42_;
+ gint _tmp43_;
+#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_->allocation;
-#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.y;
-#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp42_;
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = top;
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp43_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 11901 "Page.c"
+#line 12007 "Page.c"
} else {
- CheckerboardItem* _tmp44_ = NULL;
- GdkRectangle _tmp45_ = {0};
- gint _tmp46_ = 0;
- CheckerboardItem* _tmp47_ = NULL;
- GdkRectangle _tmp48_ = {0};
- gint _tmp49_ = 0;
- GtkAdjustment* _tmp50_ = NULL;
- gdouble _tmp51_ = 0.0;
- gint _tmp52_ = 0;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp44_;
+ GdkRectangle _tmp45_;
+ gint _tmp46_;
+ CheckerboardItem* _tmp47_;
+ GdkRectangle _tmp48_;
+ gint _tmp49_;
+ GtkAdjustment* _tmp50_;
+ gdouble _tmp51_;
+ gint _tmp52_;
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_->allocation;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_.y;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_->allocation;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.height;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = vadj;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = gtk_adjustment_get_page_size (_tmp50_);
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_);
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1885 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = top;
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1885 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp52_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 11934 "Page.c"
+#line 12040 "Page.c"
}
-#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = vadj;
-#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = top;
-#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp53_, (gdouble) _tmp54_);
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 11944 "Page.c"
+#line 12050 "Page.c"
}
void checkerboard_page_move_cursor (CheckerboardPage* self, CompassPoint point) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
- CheckerboardItem* _tmp6_ = NULL;
- CheckerboardItem* _tmp21_ = NULL;
+ CheckerboardItem* _tmp6_;
+ CheckerboardItem* _tmp21_;
CheckerboardItem* item = NULL;
- CheckerboardLayout* _tmp25_ = NULL;
- CheckerboardItem* _tmp26_ = NULL;
- CompassPoint _tmp27_ = 0;
- CheckerboardItem* _tmp28_ = NULL;
- CheckerboardItem* _tmp29_ = NULL;
-#line 1871 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp25_;
+ CheckerboardItem* _tmp26_;
+ CompassPoint _tmp27_;
+ CheckerboardItem* _tmp28_;
+ CheckerboardItem* _tmp29_;
+#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_ == 0;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1894 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11979 "Page.c"
+#line 12085 "Page.c"
}
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->cursor;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 11985 "Page.c"
- CheckerboardLayout* _tmp7_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp9_ = NULL;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12091 "Page.c"
+ CheckerboardLayout* _tmp7_;
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp9_;
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->layout;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_layout_get_cursor (_tmp7_);
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp9_ == NULL;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 11999 "Page.c"
+#line 12105 "Page.c"
} else {
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = FALSE;
-#line 12003 "Page.c"
+#line 12109 "Page.c"
}
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 12009 "Page.c"
+#line 12115 "Page.c"
} else {
gboolean _tmp10_ = FALSE;
- CheckerboardItem* _tmp11_ = NULL;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp11_;
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->cursor;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ != NULL) {
-#line 12017 "Page.c"
- ViewCollection* _tmp12_ = NULL;
- ViewCollection* _tmp13_ = NULL;
- CheckerboardItem* _tmp14_ = NULL;
- gboolean _tmp15_ = FALSE;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12123 "Page.c"
+ ViewCollection* _tmp12_;
+ ViewCollection* _tmp13_;
+ CheckerboardItem* _tmp14_;
+ gboolean _tmp15_;
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->cursor;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject));
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = !_tmp15_;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 12034 "Page.c"
+#line 12140 "Page.c"
} else {
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = FALSE;
-#line 12038 "Page.c"
+#line 12144 "Page.c"
}
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp10_;
-#line 12042 "Page.c"
+#line 12148 "Page.c"
}
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 12046 "Page.c"
+#line 12152 "Page.c"
CheckerboardItem* item = NULL;
- CheckerboardLayout* _tmp16_ = NULL;
- CheckerboardItem* _tmp17_ = NULL;
- CheckerboardItem* _tmp18_ = NULL;
- CheckerboardItem* _tmp19_ = NULL;
- CheckerboardItem* _tmp20_ = NULL;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardLayout* _tmp16_;
+ CheckerboardItem* _tmp17_;
+ CheckerboardItem* _tmp18_;
+ CheckerboardItem* _tmp19_;
+ CheckerboardItem* _tmp20_;
+#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->layout;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = checkerboard_layout_get_item_at_coordinate (_tmp16_, 0, 0);
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp17_;
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp18_);
-#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp20_;
-#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12075 "Page.c"
+#line 12181 "Page.c"
}
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = self->cursor;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_ == NULL) {
-#line 12081 "Page.c"
- CheckerboardLayout* _tmp22_ = NULL;
- CheckerboardItem* _tmp23_ = NULL;
- CheckerboardItem* _tmp24_ = NULL;
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12187 "Page.c"
+ CheckerboardLayout* _tmp22_;
+ CheckerboardItem* _tmp23_;
+ CheckerboardItem* _tmp24_;
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->layout;
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = checkerboard_layout_get_cursor (_tmp22_);
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp23_) : NULL;
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ == NULL) {
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp23_);
-#line 12095 "Page.c"
+#line 12201 "Page.c"
}
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp24_;
-#line 12101 "Page.c"
+#line 12207 "Page.c"
}
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->layout;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->cursor;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = point;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = checkerboard_layout_get_item_relative_to (_tmp25_, _tmp26_, _tmp27_);
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp28_;
-#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = item;
-#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_ != NULL) {
-#line 12117 "Page.c"
- CheckerboardItem* _tmp30_ = NULL;
-#line 1894 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12223 "Page.c"
+ CheckerboardItem* _tmp30_;
+#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = item;
-#line 1894 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp30_);
-#line 12123 "Page.c"
+#line 12229 "Page.c"
}
-#line 1871 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 12127 "Page.c"
+#line 12233 "Page.c"
}
void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* item) {
Marker* marker = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- CheckerboardItem* _tmp2_ = NULL;
- Marker* _tmp3_ = NULL;
- Marker* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp9_ = NULL;
- CheckerboardItem* _tmp10_ = NULL;
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ CheckerboardItem* _tmp2_;
+ Marker* _tmp3_;
+ Marker* _tmp4_;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ CheckerboardItem* _tmp7_;
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp9_;
+ CheckerboardItem* _tmp10_;
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp4_;
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp6_, marker);
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp8_;
-#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _g_object_ref0 (_tmp9_);
-#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp10_;
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12188 "Page.c"
+#line 12294 "Page.c"
}
void checkerboard_page_select_between_items (CheckerboardPage* self, CheckerboardItem* item_start, CheckerboardItem* item_end) {
Marker* marker = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- Marker* _tmp2_ = NULL;
- Marker* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ Marker* _tmp2_;
+ Marker* _tmp3_;
gboolean passed_start = FALSE;
gboolean passed_end = FALSE;
- ViewCollection* _tmp28_ = NULL;
- ViewCollection* _tmp29_ = NULL;
- Marker* _tmp30_ = NULL;
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp28_;
+ ViewCollection* _tmp29_;
+ Marker* _tmp30_;
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item_start));
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end));
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp3_;
-#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Page.vala"
passed_start = FALSE;
-#line 1909 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1929 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = FALSE;
-#line 12225 "Page.c"
+#line 12331 "Page.c"
{
GeeIterator* _object_it = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeCollection* _tmp6_ = NULL;
- GeeCollection* _tmp7_ = NULL;
- GeeIterator* _tmp8_ = NULL;
- GeeIterator* _tmp9_ = NULL;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeCollection* _tmp6_;
+ GeeCollection* _tmp7_;
+ GeeIterator* _tmp8_;
+ GeeIterator* _tmp9_;
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp7_);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_object_it = _tmp9_;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 12254 "Page.c"
- GeeIterator* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+#line 12360 "Page.c"
+ GeeIterator* _tmp10_;
+ gboolean _tmp11_;
DataObject* object = NULL;
- GeeIterator* _tmp12_ = NULL;
- gpointer _tmp13_ = NULL;
+ GeeIterator* _tmp12_;
+ gpointer _tmp13_;
CheckerboardItem* item = NULL;
- DataObject* _tmp14_ = NULL;
- CheckerboardItem* _tmp15_ = NULL;
- CheckerboardItem* _tmp16_ = NULL;
- CheckerboardItem* _tmp17_ = NULL;
- CheckerboardItem* _tmp18_ = NULL;
- CheckerboardItem* _tmp19_ = NULL;
+ DataObject* _tmp14_;
+ CheckerboardItem* _tmp15_;
+ CheckerboardItem* _tmp16_;
+ CheckerboardItem* _tmp17_;
+ CheckerboardItem* _tmp18_;
+ CheckerboardItem* _tmp19_;
gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
+ gboolean _tmp21_;
gboolean _tmp25_ = FALSE;
- gboolean _tmp26_ = FALSE;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp26_;
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _object_it;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = gee_iterator_next (_tmp10_);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp11_) {
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12279 "Page.c"
+#line 12385 "Page.c"
}
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _object_it;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = gee_iterator_get (_tmp12_);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
object = (DataObject*) _tmp13_;
-#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = object;
-#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp15_;
-#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = item_start;
-#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ == _tmp17_) {
-#line 1915 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
passed_start = TRUE;
-#line 12301 "Page.c"
+#line 12407 "Page.c"
}
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item_end;
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == _tmp19_) {
-#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = TRUE;
-#line 12311 "Page.c"
+#line 12417 "Page.c"
}
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = passed_start;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 12319 "Page.c"
+#line 12425 "Page.c"
} else {
- gboolean _tmp22_ = FALSE;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp22_;
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = passed_end;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 12326 "Page.c"
+#line 12432 "Page.c"
}
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 12330 "Page.c"
- Marker* _tmp23_ = NULL;
- DataObject* _tmp24_ = NULL;
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12436 "Page.c"
+ Marker* _tmp23_;
+ DataObject* _tmp24_;
+#line 1941 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = marker;
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1941 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = object;
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1941 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView), TYPE_DATA_OBJECT, DataObject));
-#line 12339 "Page.c"
+#line 12445 "Page.c"
}
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = passed_start;
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 12345 "Page.c"
- gboolean _tmp27_ = FALSE;
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12451 "Page.c"
+ gboolean _tmp27_;
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = passed_end;
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp27_;
-#line 12351 "Page.c"
+#line 12457 "Page.c"
} else {
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = FALSE;
-#line 12355 "Page.c"
+#line 12461 "Page.c"
}
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_) {
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12365 "Page.c"
+#line 12471 "Page.c"
}
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 12371 "Page.c"
+#line 12477 "Page.c"
}
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_object_it);
-#line 12375 "Page.c"
+#line 12481 "Page.c"
}
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp29_, _tmp30_);
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12389 "Page.c"
+#line 12495 "Page.c"
}
void checkerboard_page_select_anchor_to_cursor (CheckerboardPage* self, guint state) {
gboolean _tmp0_ = FALSE;
- CheckerboardItem* _tmp1_ = NULL;
- guint _tmp3_ = 0U;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp1_;
+ guint _tmp3_;
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->cursor;
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 12405 "Page.c"
+#line 12511 "Page.c"
} else {
- CheckerboardItem* _tmp2_ = NULL;
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp2_;
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->anchor;
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 12412 "Page.c"
+#line 12518 "Page.c"
}
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1952 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12418 "Page.c"
+#line 12524 "Page.c"
}
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = state;
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == ((guint) GDK_SHIFT_MASK)) {
-#line 12424 "Page.c"
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- CheckerboardItem* _tmp6_ = NULL;
- CheckerboardItem* _tmp7_ = NULL;
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 12530 "Page.c"
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ CheckerboardItem* _tmp6_;
+ CheckerboardItem* _tmp7_;
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->anchor;
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->cursor;
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp6_, _tmp7_);
-#line 12443 "Page.c"
+#line 12549 "Page.c"
} else {
- CheckerboardItem* _tmp8_ = NULL;
- CheckerboardItem* _tmp9_ = NULL;
-#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
+ CheckerboardItem* _tmp8_;
+ CheckerboardItem* _tmp9_;
+#line 1958 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->cursor;
-#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp9_;
-#line 12455 "Page.c"
+#line 12561 "Page.c"
}
}
static void checkerboard_page_real_set_display_titles (CheckerboardPage* self, gboolean display) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ ViewCollection* _tmp3_;
+ gboolean _tmp4_;
GValue _tmp5_ = {0};
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_TITLES, &_tmp5_, NULL, NULL);
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp3_);
-#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12501 "Page.c"
+#line 12607 "Page.c"
}
void checkerboard_page_set_display_titles (CheckerboardPage* self, gboolean display) {
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_titles (self, display);
-#line 12510 "Page.c"
+#line 12616 "Page.c"
}
static void checkerboard_page_real_set_display_comments (CheckerboardPage* self, gboolean display) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ ViewCollection* _tmp3_;
+ gboolean _tmp4_;
GValue _tmp5_ = {0};
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_COMMENTS, &_tmp5_, NULL, NULL);
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp3_);
-#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12555 "Page.c"
+#line 12661 "Page.c"
}
void checkerboard_page_set_display_comments (CheckerboardPage* self, gboolean display) {
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_comments (self, display);
-#line 12564 "Page.c"
+#line 12670 "Page.c"
}
void checkerboard_page_keyboard_modifiers_init (CheckerboardPageKeyboardModifiers *self, Page* page) {
- Page* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- Page* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- Page* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
- Page* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
-#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp0_;
+ gboolean _tmp1_;
+ Page* _tmp2_;
+ gboolean _tmp3_;
+ Page* _tmp4_;
+ gboolean _tmp5_;
+ Page* _tmp6_;
+ gboolean _tmp7_;
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers));
-#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_ctrl_pressed (_tmp0_);
-#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
(*self).ctrl_pressed = _tmp1_;
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page;
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_alt_pressed (_tmp2_);
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
(*self).alt_pressed = _tmp3_;
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page;
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_shift_pressed (_tmp4_);
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
(*self).shift_pressed = _tmp5_;
-#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page;
-#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_super_pressed (_tmp6_);
-#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
(*self).super_pressed = _tmp7_;
-#line 12605 "Page.c"
+#line 12711 "Page.c"
}
CheckerboardPageKeyboardModifiers* checkerboard_page_keyboard_modifiers_dup (const CheckerboardPageKeyboardModifiers* self) {
CheckerboardPageKeyboardModifiers* dup;
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (CheckerboardPageKeyboardModifiers, 1);
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (CheckerboardPageKeyboardModifiers));
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 12617 "Page.c"
+#line 12723 "Page.c"
}
void checkerboard_page_keyboard_modifiers_free (CheckerboardPageKeyboardModifiers* self) {
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
g_free (self);
-#line 12624 "Page.c"
+#line 12730 "Page.c"
}
@@ -12636,113 +12742,113 @@ GType checkerboard_page_keyboard_modifiers_get_type (void) {
static void checkerboard_page_class_init (CheckerboardPageClass * klass) {
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_parent_class = g_type_class_peek_parent (klass);
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (CheckerboardPagePrivate));
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->get_item_context_menu = (GtkMenu* (*)(CheckerboardPage*)) checkerboard_page_real_get_item_context_menu;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*)(Page*)) checkerboard_page_real_get_page_context_menu;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) checkerboard_page_real_on_context_keypress;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->get_view_empty_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_empty_message;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->get_filter_no_match_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_filter_no_match_message;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->on_item_activated = (void (*)(CheckerboardPage*, CheckerboardItem*, CheckerboardPageActivator, CheckerboardPageKeyboardModifiers*)) checkerboard_page_real_on_item_activated;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->get_search_view_filter = (SearchViewFilter* (*)(CheckerboardPage*)) checkerboard_page_real_get_search_view_filter;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_tracker;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switching_from = (void (*)(Page*)) checkerboard_page_real_switching_from;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switched_to = (void (*)(Page*)) checkerboard_page_real_switched_to;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->set_page_name = (void (*)(Page*, const gchar*)) checkerboard_page_real_set_page_name;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) checkerboard_page_real_key_press_event;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_left_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_click;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_left_released = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_released;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_right_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_right_click;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->on_mouse_over = (gboolean (*)(CheckerboardPage*, CheckerboardItem*, gint, gint, GdkModifierType)) checkerboard_page_real_on_mouse_over;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_motion = (gboolean (*)(Page*, GdkEventMotion*, gint, gint, GdkModifierType)) checkerboard_page_real_on_motion;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->set_display_titles = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_titles;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
- ((CheckerboardPageClass *) klass)->set_display_comments = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_comments;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->get_item_context_menu = (GtkMenu* (*) (CheckerboardPage *)) checkerboard_page_real_get_item_context_menu;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*) (Page *)) checkerboard_page_real_get_page_context_menu;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_context_keypress = (gboolean (*) (Page *)) checkerboard_page_real_on_context_keypress;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->get_view_empty_message = (gchar* (*) (CheckerboardPage *)) checkerboard_page_real_get_view_empty_message;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->get_filter_no_match_message = (gchar* (*) (CheckerboardPage *)) checkerboard_page_real_get_filter_no_match_message;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->on_item_activated = (void (*) (CheckerboardPage *, CheckerboardItem*, CheckerboardPageActivator, CheckerboardPageKeyboardModifiers*)) checkerboard_page_real_on_item_activated;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->get_search_view_filter = (SearchViewFilter* (*) (CheckerboardPage *)) checkerboard_page_real_get_search_view_filter;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*) (CheckerboardPage *)) checkerboard_page_real_get_view_tracker;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->switching_from = (void (*) (Page *)) checkerboard_page_real_switching_from;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->switched_to = (void (*) (Page *)) checkerboard_page_real_switched_to;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->set_page_name = (void (*) (Page *, const gchar*)) checkerboard_page_real_set_page_name;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*) (GtkWidget *, GdkEventKey*)) checkerboard_page_real_key_press_event;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_left_click = (gboolean (*) (Page *, GdkEventButton*)) checkerboard_page_real_on_left_click;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_left_released = (gboolean (*) (Page *, GdkEventButton*)) checkerboard_page_real_on_left_released;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_right_click = (gboolean (*) (Page *, GdkEventButton*)) checkerboard_page_real_on_right_click;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->on_mouse_over = (gboolean (*) (CheckerboardPage *, CheckerboardItem*, gint, gint, GdkModifierType)) checkerboard_page_real_on_mouse_over;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_motion = (gboolean (*) (Page *, GdkEventMotion*, gint, gint, GdkModifierType)) checkerboard_page_real_on_motion;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->set_display_titles = (void (*) (CheckerboardPage *, gboolean)) checkerboard_page_real_set_display_titles;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
+ ((CheckerboardPageClass *) klass)->set_display_comments = (void (*) (CheckerboardPage *, gboolean)) checkerboard_page_real_set_display_comments;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = checkerboard_page_finalize;
-#line 12684 "Page.c"
+#line 12790 "Page.c"
}
static void checkerboard_page_instance_init (CheckerboardPage * self) {
- GtkViewport* _tmp0_ = NULL;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkViewport* _tmp0_;
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = CHECKERBOARD_PAGE_GET_PRIVATE (self);
-#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu_path = NULL;
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu_path = NULL;
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->viewport = _tmp0_;
-#line 1218 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = NULL;
-#line 1219 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 1220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 1221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1238 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = NULL;
-#line 1223 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1240 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 12714 "Page.c"
+#line 12820 "Page.c"
}
-static void checkerboard_page_finalize (GObject* obj) {
+static void checkerboard_page_finalize (GObject * obj) {
CheckerboardPage * self;
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->layout);
-#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->item_context_menu_path);
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_context_menu_path);
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->viewport);
-#line 1218 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1219 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1223 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1240 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1302 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (checkerboard_page_parent_class)->finalize (obj);
-#line 12746 "Page.c"
+#line 12852 "Page.c"
}
@@ -12771,2070 +12877,2070 @@ GType single_photo_page_update_reason_get_type (void) {
static void _single_photo_page_on_viewport_resize_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
-#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_viewport_resize ((SinglePhotoPage*) self);
-#line 12777 "Page.c"
+#line 12883 "Page.c"
}
static gboolean _single_photo_page_on_canvas_exposed_gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) {
gboolean result;
result = single_photo_page_on_canvas_exposed ((SinglePhotoPage*) self, cr);
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 12786 "Page.c"
+#line 12892 "Page.c"
}
SinglePhotoPage* single_photo_page_construct (GType object_type, const gchar* page_name, gboolean scale_up_to_viewport) {
SinglePhotoPage * self = NULL;
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- TransitionEffectsManager* _tmp2_ = NULL;
- TransitionEffectsManager* _tmp3_ = NULL;
- TransitionClock* _tmp4_ = NULL;
- GtkViewport* _tmp5_ = NULL;
- GtkViewport* _tmp6_ = NULL;
- GtkViewport* _tmp7_ = NULL;
- GtkDrawingArea* _tmp8_ = NULL;
- GtkViewport* _tmp9_ = NULL;
- GtkDrawingArea* _tmp10_ = NULL;
- GtkViewport* _tmp11_ = NULL;
- GtkDrawingArea* _tmp12_ = NULL;
- GtkDrawingArea* _tmp13_ = NULL;
-#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
+ TransitionEffectsManager* _tmp2_;
+ TransitionEffectsManager* _tmp3_;
+ TransitionClock* _tmp4_;
+ GtkViewport* _tmp5_;
+ GtkViewport* _tmp6_;
+ GtkViewport* _tmp7_;
+ GtkDrawingArea* _tmp8_;
+ GtkViewport* _tmp9_;
+ GtkDrawingArea* _tmp10_;
+ GtkViewport* _tmp11_;
+ GtkDrawingArea* _tmp12_;
+ GtkDrawingArea* _tmp13_;
+#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
-#line 1988 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2008 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 1988 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2008 "/home/jens/Source/shotwell/src/Page.vala"
self = (SinglePhotoPage*) page_construct (object_type, _tmp0_);
-#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = scale_up_to_viewport;
-#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scale_up_to_viewport = _tmp1_;
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = transition_effects_manager_get_instance ();
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = transition_effects_manager_create_null_transition_clock (_tmp3_);
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp4_;
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp3_);
-#line 1996 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
-#line 1999 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2019 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE);
-#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE);
-#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->viewport;
-#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), (guint) 0);
-#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->viewport;
-#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->canvas;
-#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget));
-#line 2005 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->viewport;
-#line 2005 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->canvas;
-#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), (gint) ((GDK_EXPOSURE_MASK | GDK_STRUCTURE_MASK) | GDK_SUBSTRUCTURE_MASK));
-#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->viewport;
-#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _single_photo_page_on_viewport_resize_gtk_widget_size_allocate, self, 0);
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->canvas;
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), "draw", (GCallback) _single_photo_page_on_canvas_exposed_gtk_widget_draw, self, 0);
-#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2033 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->canvas;
-#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2033 "/home/jens/Source/shotwell/src/Page.vala"
page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget));
-#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 12870 "Page.c"
+#line 12976 "Page.c"
}
gboolean single_photo_page_is_transition_in_progress (SinglePhotoPage* self) {
gboolean result = FALSE;
- TransitionClock* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
-#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
+ TransitionClock* _tmp0_;
+ gboolean _tmp1_;
+#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 12888 "Page.c"
+#line 12994 "Page.c"
}
void single_photo_page_cancel_transition (SinglePhotoPage* self) {
- TransitionClock* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
-#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
+ TransitionClock* _tmp0_;
+ gboolean _tmp1_;
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 12903 "Page.c"
- TransitionClock* _tmp2_ = NULL;
-#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13009 "Page.c"
+ TransitionClock* _tmp2_;
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->transition_clock;
-#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
transition_clock_cancel (_tmp2_);
-#line 12909 "Page.c"
+#line 13015 "Page.c"
}
}
void single_photo_page_set_transition (SinglePhotoPage* self, const gchar* effect_id, gint duration_msec) {
- TransitionEffectsManager* _tmp0_ = NULL;
- TransitionEffectsManager* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- TransitionClock* _tmp3_ = NULL;
- TransitionClock* _tmp4_ = NULL;
- gint _tmp8_ = 0;
-#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
+ TransitionEffectsManager* _tmp0_;
+ TransitionEffectsManager* _tmp1_;
+ const gchar* _tmp2_;
+ TransitionClock* _tmp3_;
+ TransitionClock* _tmp4_;
+ gint _tmp8_;
+#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (effect_id != NULL);
-#line 2026 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = transition_effects_manager_get_instance ();
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = effect_id;
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = transition_effects_manager_create_transition_clock (_tmp1_, _tmp2_);
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp3_;
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp1_);
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->transition_clock;
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 12945 "Page.c"
- TransitionEffectsManager* _tmp5_ = NULL;
- TransitionEffectsManager* _tmp6_ = NULL;
- TransitionClock* _tmp7_ = NULL;
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13051 "Page.c"
+ TransitionEffectsManager* _tmp5_;
+ TransitionEffectsManager* _tmp6_;
+ TransitionClock* _tmp7_;
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = transition_effects_manager_get_instance ();
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = transition_effects_manager_create_null_transition_clock (_tmp6_);
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp7_;
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp6_);
-#line 12961 "Page.c"
+#line 13067 "Page.c"
}
-#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2052 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = duration_msec;
-#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2052 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_duration_msec = _tmp8_;
-#line 12967 "Page.c"
+#line 13073 "Page.c"
}
static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, ZoomState* zoom_state) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
GdkRectangle view_rect = {0};
GdkRectangle _tmp1_ = {0};
GdkPixbuf* zoomed = NULL;
- ZoomBuffer* _tmp2_ = NULL;
- ZoomBuffer* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- GdkPixbuf* _tmp34_ = NULL;
+ ZoomBuffer* _tmp2_;
+ ZoomBuffer* _tmp3_;
+ gboolean _tmp4_;
+ GdkPixbuf* _tmp34_;
gint draw_x = 0;
- Dimensions _tmp35_ = {0};
- gint _tmp36_ = 0;
- GdkRectangle _tmp37_ = {0};
- gint _tmp38_ = 0;
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
+ Dimensions _tmp35_;
+ gint _tmp36_;
+ GdkRectangle _tmp37_;
+ gint _tmp38_;
+ gint _tmp39_;
+ gint _tmp40_;
gint draw_y = 0;
- Dimensions _tmp41_ = {0};
- gint _tmp42_ = 0;
- GdkRectangle _tmp43_ = {0};
- gint _tmp44_ = 0;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- cairo_t* _tmp47_ = NULL;
- GdkPixbuf* _tmp48_ = NULL;
- gint _tmp49_ = 0;
- gint _tmp50_ = 0;
- cairo_t* _tmp51_ = NULL;
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+ Dimensions _tmp41_;
+ gint _tmp42_;
+ GdkRectangle _tmp43_;
+ gint _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ cairo_t* _tmp47_;
+ GdkPixbuf* _tmp48_;
+ gint _tmp49_;
+ gint _tmp50_;
+ cairo_t* _tmp51_;
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (zoom_state != NULL);
-#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2057 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2057 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_wrt_content (zoom_state, &_tmp1_);
-#line 2039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
view_rect = _tmp1_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = single_photo_page_get_zoom_buffer (self);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != NULL;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 13021 "Page.c"
+#line 13127 "Page.c"
GdkPixbuf* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
- GdkPixbuf* _tmp15_ = NULL;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp6_;
+ GdkPixbuf* _tmp15_;
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->zoom_high_quality;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 13029 "Page.c"
- ZoomBuffer* _tmp7_ = NULL;
- ZoomBuffer* _tmp8_ = NULL;
- ZoomState _tmp9_ = {0};
- GdkPixbuf* _tmp10_ = NULL;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13135 "Page.c"
+ ZoomBuffer* _tmp7_;
+ ZoomBuffer* _tmp8_;
+ ZoomState _tmp9_;
+ GdkPixbuf* _tmp10_;
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = single_photo_page_get_zoom_buffer (self);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = *zoom_state;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = zoom_buffer_get_zoomed_image (_tmp8_, &_tmp9_);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp8_);
-#line 13048 "Page.c"
+#line 13154 "Page.c"
} else {
- ZoomBuffer* _tmp11_ = NULL;
- ZoomBuffer* _tmp12_ = NULL;
- ZoomState _tmp13_ = {0};
- GdkPixbuf* _tmp14_ = NULL;
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+ ZoomBuffer* _tmp11_;
+ ZoomBuffer* _tmp12_;
+ ZoomState _tmp13_;
+ GdkPixbuf* _tmp14_;
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = single_photo_page_get_zoom_buffer (self);
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *zoom_state;
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = zoom_buffer_get_zoom_preview_image (_tmp12_, &_tmp13_);
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp14_;
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp12_);
-#line 13068 "Page.c"
+#line 13174 "Page.c"
}
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (_tmp5_);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp15_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13078 "Page.c"
+#line 13184 "Page.c"
} else {
GdkRectangle view_rect_proj = {0};
- GdkPixbuf* _tmp16_ = NULL;
+ GdkPixbuf* _tmp16_;
GdkRectangle _tmp17_ = {0};
GdkPixbuf* proj_subpixbuf = NULL;
- GdkPixbuf* _tmp18_ = NULL;
- GdkRectangle _tmp19_ = {0};
- gint _tmp20_ = 0;
- GdkRectangle _tmp21_ = {0};
- gint _tmp22_ = 0;
- GdkRectangle _tmp23_ = {0};
- gint _tmp24_ = 0;
- GdkRectangle _tmp25_ = {0};
- gint _tmp26_ = 0;
- GdkPixbuf* _tmp27_ = NULL;
- GdkPixbuf* _tmp28_ = NULL;
- GdkRectangle _tmp29_ = {0};
- gint _tmp30_ = 0;
- GdkRectangle _tmp31_ = {0};
- gint _tmp32_ = 0;
- GdkPixbuf* _tmp33_ = NULL;
-#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp18_;
+ GdkRectangle _tmp19_;
+ gint _tmp20_;
+ GdkRectangle _tmp21_;
+ gint _tmp22_;
+ GdkRectangle _tmp23_;
+ gint _tmp24_;
+ GdkRectangle _tmp25_;
+ gint _tmp26_;
+ GdkPixbuf* _tmp27_;
+ GdkPixbuf* _tmp28_;
+ GdkRectangle _tmp29_;
+ gint _tmp30_;
+ GdkRectangle _tmp31_;
+ gint _tmp32_;
+ GdkPixbuf* _tmp33_;
+#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->unscaled;
-#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_projection (zoom_state, _tmp16_, &_tmp17_);
-#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
view_rect_proj = _tmp17_;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->unscaled;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = view_rect_proj;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.x;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_rect_proj;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_rect_proj;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_.width;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = view_rect_proj;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_.height;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gdk_pixbuf_new_subpixbuf (_tmp18_, _tmp20_, _tmp22_, _tmp24_, _tmp26_);
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
proj_subpixbuf = _tmp27_;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = proj_subpixbuf;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = view_rect;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.width;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = view_rect;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_.height;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gdk_pixbuf_scale_simple (_tmp28_, _tmp30_, _tmp32_, GDK_INTERP_BILINEAR);
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp33_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (proj_subpixbuf);
-#line 13146 "Page.c"
+#line 13252 "Page.c"
}
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = zoomed;
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp34_ == NULL) {
-#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2076 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2076 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13156 "Page.c"
+#line 13262 "Page.c"
}
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = self->priv->pixmap_dim;
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_.width;
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = view_rect;
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.width;
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
draw_x = (_tmp36_ - _tmp38_) / 2;
-#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = draw_x;
-#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = CLAMP (_tmp39_, 0, G_MAXINT);
-#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
draw_x = _tmp40_;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->pixmap_dim;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = view_rect;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = _tmp43_.height;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
draw_y = (_tmp42_ - _tmp44_) / 2;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = draw_y;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = CLAMP (_tmp45_, 0, G_MAXINT);
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
draw_y = _tmp46_;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->pixmap_ctx;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = zoomed;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = draw_x;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = draw_y;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_);
-#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = self->priv->pixmap_ctx;
-#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp51_);
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 13206 "Page.c"
+#line 13312 "Page.c"
}
void single_photo_page_on_interactive_zoom (SinglePhotoPage* self, ZoomState* interactive_zoom_state) {
- gboolean _tmp0_ = FALSE;
- cairo_t* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
+ gboolean _tmp0_;
+ cairo_t* _tmp1_;
+ cairo_t* _tmp2_;
gboolean old_quality_setting = FALSE;
- gboolean _tmp3_ = FALSE;
- ZoomState _tmp4_ = {0};
- GtkDrawingArea* _tmp5_ = NULL;
-#line 2069 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp3_;
+ ZoomState _tmp4_;
+ GtkDrawingArea* _tmp5_;
+#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2069 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (interactive_zoom_state != NULL);
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2073 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2093 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2073 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2093 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Page.vala"
old_quality_setting = _tmp3_;
-#line 2076 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = FALSE;
-#line 2077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13250 "Page.c"
+#line 13356 "Page.c"
}
void single_photo_page_on_interactive_pan (SinglePhotoPage* self, ZoomState* interactive_zoom_state) {
- gboolean _tmp0_ = FALSE;
- cairo_t* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
+ gboolean _tmp0_;
+ cairo_t* _tmp1_;
+ cairo_t* _tmp2_;
gboolean old_quality_setting = FALSE;
- gboolean _tmp3_ = FALSE;
- ZoomState _tmp4_ = {0};
- GtkDrawingArea* _tmp5_ = NULL;
-#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp3_;
+ ZoomState _tmp4_;
+ GtkDrawingArea* _tmp5_;
+#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (interactive_zoom_state != NULL);
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2106 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2106 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2087 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2087 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
old_quality_setting = _tmp3_;
-#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2110 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = TRUE;
-#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
-#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13294 "Page.c"
+#line 13400 "Page.c"
}
static gboolean single_photo_page_real_is_zoom_supported (SinglePhotoPage* self) {
gboolean result = FALSE;
-#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13304 "Page.c"
+#line 13410 "Page.c"
}
gboolean single_photo_page_is_zoom_supported (SinglePhotoPage* self) {
-#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->is_zoom_supported (self);
-#line 13313 "Page.c"
+#line 13419 "Page.c"
}
static void single_photo_page_real_cancel_zoom (SinglePhotoPage* self) {
- cairo_surface_t* _tmp0_ = NULL;
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_surface_t* _tmp0_;
+#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 13323 "Page.c"
- cairo_t* _tmp1_ = NULL;
- cairo_t* _tmp2_ = NULL;
-#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13429 "Page.c"
+ cairo_t* _tmp1_;
+ cairo_t* _tmp2_;
+#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2124 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2124 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 13334 "Page.c"
+#line 13440 "Page.c"
}
}
void single_photo_page_cancel_zoom (SinglePhotoPage* self) {
-#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->cancel_zoom (self);
-#line 13344 "Page.c"
+#line 13450 "Page.c"
}
static void single_photo_page_real_save_zoom_state (SinglePhotoPage* self) {
- ZoomState _tmp0_ = {0};
-#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
+ ZoomState _tmp0_;
+#line 2129 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->static_zoom_state;
-#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2129 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->saved_zoom_state = _tmp0_;
-#line 2110 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = TRUE;
-#line 13356 "Page.c"
+#line 13462 "Page.c"
}
void single_photo_page_save_zoom_state (SinglePhotoPage* self) {
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2128 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2128 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->save_zoom_state (self);
-#line 13365 "Page.c"
+#line 13471 "Page.c"
}
static void single_photo_page_real_restore_zoom_state (SinglePhotoPage* self) {
- gboolean _tmp0_ = FALSE;
- ZoomState _tmp1_ = {0};
-#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp0_;
+ ZoomState _tmp1_;
+#line 2134 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->has_saved_zoom_state;
-#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2134 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 2115 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2135 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13378 "Page.c"
+#line 13484 "Page.c"
}
-#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->saved_zoom_state;
-#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->static_zoom_state = _tmp1_;
-#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2138 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 2119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = FALSE;
-#line 13388 "Page.c"
+#line 13494 "Page.c"
}
void single_photo_page_restore_zoom_state (SinglePhotoPage* self) {
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->restore_zoom_state (self);
-#line 13397 "Page.c"
+#line 13503 "Page.c"
}
static ZoomBuffer* single_photo_page_real_get_zoom_buffer (SinglePhotoPage* self) {
ZoomBuffer* result = NULL;
-#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13407 "Page.c"
+#line 13513 "Page.c"
}
ZoomBuffer* single_photo_page_get_zoom_buffer (SinglePhotoPage* self) {
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->get_zoom_buffer (self);
-#line 13416 "Page.c"
+#line 13522 "Page.c"
}
void single_photo_page_get_saved_zoom_state (SinglePhotoPage* self, ZoomState* result) {
- ZoomState _tmp0_ = {0};
-#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
+ ZoomState _tmp0_;
+#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2147 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->saved_zoom_state;
-#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2147 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2147 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13430 "Page.c"
+#line 13536 "Page.c"
}
void single_photo_page_set_zoom_state (SinglePhotoPage* self, ZoomState* zoom_state) {
- gboolean _tmp0_ = FALSE;
- ZoomState _tmp1_ = {0};
-#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp0_;
+ ZoomState _tmp1_;
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (zoom_state != NULL);
-#line 2131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2151 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2151 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = *zoom_state;
-#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->static_zoom_state = _tmp1_;
-#line 13449 "Page.c"
+#line 13555 "Page.c"
}
void single_photo_page_get_zoom_state (SinglePhotoPage* self, ZoomState* result) {
- gboolean _tmp0_ = FALSE;
- ZoomState _tmp1_ = {0};
-#line 2136 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp0_;
+ ZoomState _tmp1_;
+#line 2156 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2157 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2157 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2159 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->static_zoom_state;
-#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2159 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp1_;
-#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2159 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13468 "Page.c"
+#line 13574 "Page.c"
}
static void single_photo_page_real_switched_to (Page* base) {
SinglePhotoPage * self;
- GdkPixbuf* _tmp0_ = NULL;
-#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp0_;
+#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2165 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2165 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2166 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 13485 "Page.c"
+#line 13591 "Page.c"
}
}
static void single_photo_page_real_set_container (Page* base, GtkWindow* container) {
SinglePhotoPage * self;
- GtkWindow* _tmp0_ = NULL;
- GtkWindow* _tmp1_ = NULL;
-#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWindow* _tmp0_;
+ GtkWindow* _tmp1_;
+#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GTK_IS_WINDOW (container));
-#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = container;
-#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->set_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_);
-#line 2154 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = container;
-#line 2154 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) {
-#line 2155 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 13508 "Page.c"
+#line 13614 "Page.c"
}
}
void single_photo_page_set_pixbuf (SinglePhotoPage* self, GdkPixbuf* unscaled, Dimensions* max_dim, Direction* direction) {
- Dimensions _tmp0_ = {0};
- Dimensions _tmp1_ = {0};
- gdouble _tmp2_ = 0.0;
+ Dimensions _tmp0_;
+ Dimensions _tmp1_;
+ gdouble _tmp2_;
GdkPoint _tmp3_ = {0};
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
- Dimensions _tmp6_ = {0};
- GdkPixbuf* _tmp7_ = NULL;
- GdkPixbuf* _tmp8_ = NULL;
- GtkDrawingArea* _tmp9_ = NULL;
- Direction* _tmp10_ = NULL;
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp4_;
+ GdkPixbuf* _tmp5_;
+ Dimensions _tmp6_;
+ GdkPixbuf* _tmp7_;
+ GdkPixbuf* _tmp8_;
+ GtkDrawingArea* _tmp9_;
+ Direction* _tmp10_;
+#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (unscaled));
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (max_dim != NULL);
-#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *max_dim;
-#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_dim;
-#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp3_);
-#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp0_, &_tmp1_, _tmp2_, &_tmp3_);
-#line 2167 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = unscaled;
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = _tmp5_;
-#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = *max_dim;
-#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->max_dim = _tmp6_;
-#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->scaled;
-#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->old_scaled = _tmp8_;
-#line 2172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->canvas;
-#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2195 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = direction;
-#line 2177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, _tmp10_);
-#line 13575 "Page.c"
+#line 13681 "Page.c"
}
void single_photo_page_blank_display (SinglePhotoPage* self) {
- GtkDrawingArea* _tmp0_ = NULL;
-#line 2180 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkDrawingArea* _tmp0_;
+#line 2200 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = NULL;
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->max_dim, 0, 0);
-#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2203 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2203 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2204 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2204 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 13603 "Page.c"
+#line 13709 "Page.c"
}
static gpointer _cairo_surface_reference0 (gpointer self) {
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_surface_reference (self) : NULL;
-#line 13610 "Page.c"
+#line 13716 "Page.c"
}
cairo_surface_t* single_photo_page_get_surface (SinglePhotoPage* self) {
cairo_surface_t* result = NULL;
- cairo_surface_t* _tmp0_ = NULL;
- cairo_surface_t* _tmp1_ = NULL;
-#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_surface_t* _tmp0_;
+ cairo_surface_t* _tmp1_;
+#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_surface_reference0 (_tmp0_);
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13628 "Page.c"
+#line 13734 "Page.c"
}
void single_photo_page_get_surface_dim (SinglePhotoPage* self, Dimensions* result) {
- Dimensions _tmp0_ = {0};
-#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
+ Dimensions _tmp0_;
+#line 2217 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2218 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_dim;
-#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2218 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2218 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13642 "Page.c"
+#line 13748 "Page.c"
}
static gpointer _cairo_reference0 (gpointer self) {
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2222 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_reference (self) : NULL;
-#line 13649 "Page.c"
+#line 13755 "Page.c"
}
cairo_t* single_photo_page_get_cairo_context (SinglePhotoPage* self) {
cairo_t* result = NULL;
- cairo_t* _tmp0_ = NULL;
- cairo_t* _tmp1_ = NULL;
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_t* _tmp0_;
+ cairo_t* _tmp1_;
+#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2222 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2222 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_reference0 (_tmp0_);
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2222 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2222 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13667 "Page.c"
+#line 13773 "Page.c"
}
void single_photo_page_paint_text (SinglePhotoPage* self, PangoLayout* pango_layout, gint x, gint y) {
- cairo_t* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- cairo_t* _tmp3_ = NULL;
- PangoLayout* _tmp4_ = NULL;
-#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_t* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ cairo_t* _tmp3_;
+ PangoLayout* _tmp4_;
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (PANGO_IS_LAYOUT (pango_layout));
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->text_ctx;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_);
-#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2227 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->text_ctx;
-#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2227 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = pango_layout;
-#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2227 "/home/jens/Source/shotwell/src/Page.vala"
pango_cairo_show_layout (_tmp3_, _tmp4_);
-#line 13695 "Page.c"
+#line 13801 "Page.c"
}
void single_photo_page_get_canvas_scaling (SinglePhotoPage* self, Scaling* result) {
Scaling _tmp0_ = {0};
- GtkWindow* _tmp1_ = NULL;
- GtkWindow* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWindow* _tmp1_;
+ GtkWindow* _tmp2_;
+ gboolean _tmp3_;
+#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_FULLSCREEN_WINDOW);
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp2_);
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 13716 "Page.c"
- GtkWindow* _tmp4_ = NULL;
- GtkWindow* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+#line 13822 "Page.c"
+ GtkWindow* _tmp4_;
+ GtkWindow* _tmp5_;
+ gboolean _tmp6_;
Scaling _tmp7_ = {0};
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->scale_up_to_viewport;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_screen (_tmp5_, _tmp6_, &_tmp7_);
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13733 "Page.c"
+#line 13839 "Page.c"
} else {
- GtkViewport* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+ GtkViewport* _tmp8_;
+ gboolean _tmp9_;
Scaling _tmp10_ = {0};
-#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->viewport;
-#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->scale_up_to_viewport;
-#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_widget (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp9_, &_tmp10_);
-#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp10_;
-#line 13746 "Page.c"
+#line 13852 "Page.c"
}
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13752 "Page.c"
+#line 13858 "Page.c"
}
GdkPixbuf* single_photo_page_get_unscaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
-#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
+#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2236 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2236 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2236 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2236 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13770 "Page.c"
+#line 13876 "Page.c"
}
GdkPixbuf* single_photo_page_get_scaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
-#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2240 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled;
-#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2240 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2240 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2240 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13788 "Page.c"
+#line 13894 "Page.c"
}
void single_photo_page_get_scaled_pixbuf_position (SinglePhotoPage* self, GdkRectangle* result) {
- GdkRectangle _tmp0_ = {0};
-#line 2224 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkRectangle _tmp0_;
+#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2245 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled_pos;
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2245 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2245 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13802 "Page.c"
+#line 13908 "Page.c"
}
gboolean single_photo_page_is_inside_pixbuf (SinglePhotoPage* self, gint x, gint y) {
gboolean result = FALSE;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- GdkRectangle _tmp2_ = {0};
- gboolean _tmp3_ = FALSE;
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp0_;
+ gint _tmp1_;
+ GdkRectangle _tmp2_;
+ gboolean _tmp3_;
+#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->scaled_pos;
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = coord_in_rectangle (_tmp0_, _tmp1_, &_tmp2_);
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13826 "Page.c"
+#line 13932 "Page.c"
}
void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) {
- GtkDrawingArea* _tmp0_ = NULL;
- GdkWindow* _tmp1_ = NULL;
-#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkDrawingArea* _tmp0_;
+ GdkWindow* _tmp1_;
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 13843 "Page.c"
- GtkDrawingArea* _tmp2_ = NULL;
- GdkWindow* _tmp3_ = NULL;
- GdkRectangle _tmp4_ = {0};
-#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13949 "Page.c"
+ GtkDrawingArea* _tmp2_;
+ GdkWindow* _tmp3_;
+ GdkRectangle _tmp4_;
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *rect;
-#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, &_tmp4_, FALSE);
-#line 13855 "Page.c"
+#line 13961 "Page.c"
}
}
void single_photo_page_invalidate_all (SinglePhotoPage* self) {
- GtkDrawingArea* _tmp0_ = NULL;
- GdkWindow* _tmp1_ = NULL;
-#line 2237 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkDrawingArea* _tmp0_;
+ GdkWindow* _tmp1_;
+#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 13871 "Page.c"
- GtkDrawingArea* _tmp2_ = NULL;
- GdkWindow* _tmp3_ = NULL;
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 13977 "Page.c"
+ GtkDrawingArea* _tmp2_;
+ GdkWindow* _tmp3_;
+#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, NULL, FALSE);
-#line 13880 "Page.c"
+#line 13986 "Page.c"
}
}
static void single_photo_page_on_viewport_resize (SinglePhotoPage* self) {
-#line 2242 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, TRUE, NULL);
-#line 13890 "Page.c"
+#line 13996 "Page.c"
}
static void single_photo_page_real_on_resize_finished (Page* base, GdkRectangle* rect) {
SinglePhotoPage * self;
- GdkRectangle _tmp0_ = {0};
-#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkRectangle _tmp0_;
+#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *rect;
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->on_resize_finished (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp0_);
-#line 2251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 13907 "Page.c"
+#line 14013 "Page.c"
}
static gboolean single_photo_page_on_canvas_exposed (SinglePhotoPage* self, cairo_t* exposed_ctx) {
gboolean result = FALSE;
- cairo_surface_t* _tmp0_ = NULL;
- cairo_t* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- cairo_t* _tmp7_ = NULL;
-#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_surface_t* _tmp0_;
+ cairo_t* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ cairo_t* _tmp7_;
+#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (exposed_ctx != NULL, FALSE);
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 13926 "Page.c"
- cairo_t* _tmp1_ = NULL;
- cairo_surface_t* _tmp2_ = NULL;
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14032 "Page.c"
+ cairo_t* _tmp1_;
+ cairo_surface_t* _tmp2_;
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = exposed_ctx;
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap;
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
cairo_set_source_surface (_tmp1_, _tmp2_, (gdouble) 0, (gdouble) 0);
-#line 13935 "Page.c"
+#line 14041 "Page.c"
} else {
- cairo_t* _tmp3_ = NULL;
-#line 2260 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_t* _tmp3_;
+#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = exposed_ctx;
-#line 2260 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 13942 "Page.c"
+#line 14048 "Page.c"
}
-#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = exposed_ctx;
-#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_allocated_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_allocated_height (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_);
-#line 2263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = exposed_ctx;
-#line 2263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp7_);
-#line 2265 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2265 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13960 "Page.c"
+#line 14066 "Page.c"
}
static void single_photo_page_real_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx_dim != NULL);
-#line 13969 "Page.c"
+#line 14075 "Page.c"
}
void single_photo_page_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->new_surface (self, ctx, ctx_dim);
-#line 13978 "Page.c"
+#line 14084 "Page.c"
}
static void single_photo_page_real_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (old_dim != NULL);
-#line 13987 "Page.c"
+#line 14093 "Page.c"
}
void single_photo_page_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->updated_pixbuf (self, pixbuf, reason, old_dim);
-#line 13996 "Page.c"
+#line 14102 "Page.c"
}
static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp1_;
+#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx_dim != NULL);
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = single_photo_page_is_zoom_supported (self);
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 14011 "Page.c"
- gboolean _tmp2_ = FALSE;
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14117 "Page.c"
+ gboolean _tmp2_;
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_is_default (&self->priv->static_zoom_state);
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 14017 "Page.c"
+#line 14123 "Page.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 14021 "Page.c"
+#line 14127 "Page.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 14025 "Page.c"
- cairo_t* _tmp3_ = NULL;
- cairo_t* _tmp4_ = NULL;
- Dimensions _tmp5_ = {0};
- gint _tmp6_ = 0;
- Dimensions _tmp7_ = {0};
- gint _tmp8_ = 0;
- cairo_t* _tmp9_ = NULL;
- ZoomState _tmp10_ = {0};
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14131 "Page.c"
+ cairo_t* _tmp3_;
+ cairo_t* _tmp4_;
+ Dimensions _tmp5_;
+ gint _tmp6_;
+ Dimensions _tmp7_;
+ gint _tmp8_;
+ cairo_t* _tmp9_;
+ ZoomState _tmp10_;
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = ctx;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = ctx;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->pixmap_dim;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_.width;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->pixmap_dim;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.height;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_);
-#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2298 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = ctx;
-#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2298 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp9_);
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->static_zoom_state;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp10_);
-#line 14058 "Page.c"
+#line 14164 "Page.c"
} else {
- TransitionClock* _tmp11_ = NULL;
- cairo_t* _tmp12_ = NULL;
- Dimensions _tmp13_ = {0};
- gint _tmp14_ = 0;
- Dimensions _tmp15_ = {0};
- gint _tmp16_ = 0;
- gboolean _tmp17_ = FALSE;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+ TransitionClock* _tmp11_;
+ cairo_t* _tmp12_;
+ Dimensions _tmp13_;
+ gint _tmp14_;
+ Dimensions _tmp15_;
+ gint _tmp16_;
+ gboolean _tmp17_;
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->transition_clock;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = ctx;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *ctx_dim;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_.width;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = *ctx_dim;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_.height;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = transition_clock_paint (_tmp11_, _tmp12_, _tmp14_, _tmp16_);
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp17_) {
-#line 14083 "Page.c"
- cairo_t* _tmp18_ = NULL;
- cairo_t* _tmp19_ = NULL;
- Dimensions _tmp20_ = {0};
- gint _tmp21_ = 0;
- Dimensions _tmp22_ = {0};
- gint _tmp23_ = 0;
- cairo_t* _tmp24_ = NULL;
- cairo_t* _tmp25_ = NULL;
- GdkPixbuf* _tmp26_ = NULL;
- GdkRectangle _tmp27_ = {0};
- gint _tmp28_ = 0;
- GdkRectangle _tmp29_ = {0};
- gint _tmp30_ = 0;
- cairo_t* _tmp31_ = NULL;
-#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14189 "Page.c"
+ cairo_t* _tmp18_;
+ cairo_t* _tmp19_;
+ Dimensions _tmp20_;
+ gint _tmp21_;
+ Dimensions _tmp22_;
+ gint _tmp23_;
+ cairo_t* _tmp24_;
+ cairo_t* _tmp25_;
+ GdkPixbuf* _tmp26_;
+ GdkRectangle _tmp27_;
+ gint _tmp28_;
+ GdkRectangle _tmp29_;
+ gint _tmp30_;
+ cairo_t* _tmp31_;
+#line 2303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = ctx;
-#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2303 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp18_, "#000");
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = ctx;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->pixmap_dim;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.width;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_);
-#line 2286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = ctx;
-#line 2286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp24_);
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = ctx;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->priv->scaled;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->scaled_pos;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_.x;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = self->priv->scaled_pos;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_);
-#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = ctx;
-#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp31_);
-#line 14136 "Page.c"
+#line 14242 "Page.c"
}
}
}
void single_photo_page_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->paint (self, ctx, ctx_dim);
-#line 14147 "Page.c"
+#line 14253 "Page.c"
}
static void single_photo_page_repaint_pixmap (SinglePhotoPage* self) {
- cairo_t* _tmp0_ = NULL;
- cairo_t* _tmp1_ = NULL;
- Dimensions _tmp2_ = {0};
-#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_t* _tmp0_;
+ cairo_t* _tmp1_;
+ Dimensions _tmp2_;
+#line 2313 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14163 "Page.c"
+#line 14269 "Page.c"
}
-#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_dim;
-#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_paint (self, _tmp1_, &_tmp2_);
-#line 2298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2318 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 14173 "Page.c"
+#line 14279 "Page.c"
}
void single_photo_page_repaint (SinglePhotoPage* self, Direction* direction) {
- Direction* _tmp0_ = NULL;
-#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
+ Direction* _tmp0_;
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = direction;
-#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, FALSE, _tmp0_);
-#line 14185 "Page.c"
+#line 14291 "Page.c"
}
static void _single_photo_page_repaint_pixmap_transition_clock_repaint_callback (gpointer self) {
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap ((SinglePhotoPage*) self);
-#line 14192 "Page.c"
+#line 14298 "Page.c"
}
static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean fast, Direction* direction) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
gboolean _tmp1_ = FALSE;
- GdkPixbuf* _tmp2_ = NULL;
+ GdkPixbuf* _tmp2_;
GtkAllocation allocation = {0};
- GtkViewport* _tmp5_ = NULL;
+ GtkViewport* _tmp5_;
GtkAllocation _tmp6_ = {0};
gint width = 0;
- GtkAllocation _tmp7_ = {0};
- gint _tmp8_ = 0;
+ GtkAllocation _tmp7_;
+ gint _tmp8_;
gint height = 0;
- GtkAllocation _tmp9_ = {0};
- gint _tmp10_ = 0;
+ GtkAllocation _tmp9_;
+ gint _tmp10_;
gboolean _tmp11_ = FALSE;
- gint _tmp12_ = 0;
+ gint _tmp12_;
gboolean new_pixbuf = FALSE;
- GdkPixbuf* _tmp14_ = NULL;
+ GdkPixbuf* _tmp14_;
Dimensions old_scaled_dim = {0};
- GdkRectangle _tmp15_ = {0};
+ GdkRectangle _tmp15_;
Dimensions _tmp16_ = {0};
GdkRectangle old_scaled_pos = {0};
- GdkRectangle _tmp17_ = {0};
+ GdkRectangle _tmp17_;
gboolean _tmp18_ = FALSE;
- Dimensions _tmp19_ = {0};
- gint _tmp20_ = 0;
- gint _tmp21_ = 0;
+ Dimensions _tmp19_;
+ gint _tmp20_;
+ gint _tmp21_;
gboolean new_pixmap = FALSE;
- cairo_surface_t* _tmp25_ = NULL;
+ cairo_surface_t* _tmp25_;
gboolean _tmp28_ = FALSE;
- gboolean _tmp29_ = FALSE;
+ gboolean _tmp29_;
GdkInterpType _tmp63_ = 0;
- gboolean _tmp64_ = FALSE;
+ gboolean _tmp64_;
GdkInterpType interp = 0;
- GdkPixbuf* _tmp65_ = NULL;
- gboolean _tmp82_ = FALSE;
+ GdkPixbuf* _tmp65_;
+ gboolean _tmp82_;
gboolean _tmp83_ = FALSE;
- Direction* _tmp84_ = NULL;
- TransitionClock* _tmp98_ = NULL;
- gboolean _tmp99_ = FALSE;
-#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
+ Direction* _tmp84_;
+ TransitionClock* _tmp98_;
+ gboolean _tmp99_;
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2328 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2328 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2329 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2329 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14251 "Page.c"
+#line 14357 "Page.c"
}
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->unscaled;
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = TRUE;
-#line 14259 "Page.c"
+#line 14365 "Page.c"
} else {
- GtkDrawingArea* _tmp3_ = NULL;
- GdkWindow* _tmp4_ = NULL;
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkDrawingArea* _tmp3_;
+ GdkWindow* _tmp4_;
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->canvas;
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp4_ == NULL;
-#line 14269 "Page.c"
+#line 14375 "Page.c"
}
-#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2336 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14275 "Page.c"
+#line 14381 "Page.c"
}
-#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), &_tmp6_);
-#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
allocation = _tmp6_;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = allocation;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.width;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
width = _tmp8_;
-#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = allocation;
-#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_.height;
-#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
height = _tmp10_;
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = width;
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ <= 0) {
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = TRUE;
-#line 14301 "Page.c"
+#line 14407 "Page.c"
} else {
- gint _tmp13_ = 0;
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+ gint _tmp13_;
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = height;
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp13_ <= 0;
-#line 14308 "Page.c"
+#line 14414 "Page.c"
}
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_) {
-#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14314 "Page.c"
+#line 14420 "Page.c"
}
-#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->scaled;
-#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2347 "/home/jens/Source/shotwell/src/Page.vala"
new_pixbuf = _tmp14_ == NULL;
-#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->scaled_pos;
-#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp15_, &_tmp16_);
-#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
old_scaled_dim = _tmp16_;
-#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->scaled_pos;
-#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
old_scaled_pos = _tmp17_;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->pixmap_dim;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.width;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = width;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != _tmp21_) {
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = TRUE;
-#line 14340 "Page.c"
+#line 14446 "Page.c"
} else {
- Dimensions _tmp22_ = {0};
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+ Dimensions _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = height;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp23_ != _tmp24_;
-#line 14353 "Page.c"
+#line 14459 "Page.c"
}
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_) {
-#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 14361 "Page.c"
+#line 14467 "Page.c"
}
-#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
new_pixmap = FALSE;
-#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->pixmap;
-#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_ == NULL) {
-#line 14369 "Page.c"
- gint _tmp26_ = 0;
- gint _tmp27_ = 0;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14475 "Page.c"
+ gint _tmp26_;
+ gint _tmp27_;
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = width;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = height;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_init_pixmap (self, _tmp26_, _tmp27_);
-#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
new_pixmap = TRUE;
-#line 14380 "Page.c"
+#line 14486 "Page.c"
}
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = new_pixbuf;
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = TRUE;
-#line 14388 "Page.c"
+#line 14494 "Page.c"
} else {
- gboolean _tmp30_ = FALSE;
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp30_;
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = new_pixmap;
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp30_;
-#line 14395 "Page.c"
+#line 14501 "Page.c"
}
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp28_) {
-#line 14399 "Page.c"
+#line 14505 "Page.c"
Dimensions unscaled_dim = {0};
- GdkPixbuf* _tmp31_ = NULL;
+ GdkPixbuf* _tmp31_;
Dimensions _tmp32_ = {0};
Dimensions scaled_dim = {0};
gboolean _tmp33_ = FALSE;
gboolean _tmp34_ = FALSE;
gboolean _tmp35_ = FALSE;
- gboolean _tmp36_ = FALSE;
- gint _tmp47_ = 0;
- Dimensions _tmp48_ = {0};
- gint _tmp49_ = 0;
- gint _tmp50_ = 0;
- Dimensions _tmp51_ = {0};
- gint _tmp52_ = 0;
- gint _tmp53_ = 0;
- Dimensions _tmp54_ = {0};
- gint _tmp55_ = 0;
- gint _tmp56_ = 0;
- Dimensions _tmp57_ = {0};
- gint _tmp58_ = 0;
- Dimensions _tmp59_ = {0};
- gint _tmp60_ = 0;
- Dimensions _tmp61_ = {0};
- gint _tmp62_ = 0;
-#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp36_;
+ gint _tmp47_;
+ Dimensions _tmp48_;
+ gint _tmp49_;
+ gint _tmp50_;
+ Dimensions _tmp51_;
+ gint _tmp52_;
+ gint _tmp53_;
+ Dimensions _tmp54_;
+ gint _tmp55_;
+ gint _tmp56_;
+ Dimensions _tmp57_;
+ gint _tmp58_;
+ Dimensions _tmp59_;
+ gint _tmp60_;
+ Dimensions _tmp61_;
+ gint _tmp62_;
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->unscaled;
-#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_pixbuf (_tmp31_, &_tmp32_);
-#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
unscaled_dim = _tmp32_;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&scaled_dim, 0, 0);
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = self->priv->scale_up_to_viewport;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp36_) {
-#line 14436 "Page.c"
- gboolean _tmp37_ = FALSE;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14542 "Page.c"
+ gboolean _tmp37_;
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = dimensions_has_area (&self->priv->max_dim);
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = _tmp37_;
-#line 14442 "Page.c"
+#line 14548 "Page.c"
} else {
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = FALSE;
-#line 14446 "Page.c"
+#line 14552 "Page.c"
}
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp35_) {
-#line 14450 "Page.c"
- Dimensions _tmp38_ = {0};
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14556 "Page.c"
+ Dimensions _tmp38_;
+ gint _tmp39_;
+ gint _tmp40_;
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = self->priv->max_dim;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_.width;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = width;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp39_ < _tmp40_;
-#line 14462 "Page.c"
+#line 14568 "Page.c"
} else {
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = FALSE;
-#line 14466 "Page.c"
+#line 14572 "Page.c"
}
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp34_) {
-#line 14470 "Page.c"
- Dimensions _tmp41_ = {0};
- gint _tmp42_ = 0;
- gint _tmp43_ = 0;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14576 "Page.c"
+ Dimensions _tmp41_;
+ gint _tmp42_;
+ gint _tmp43_;
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->max_dim;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = height;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp42_ < _tmp43_;
-#line 14482 "Page.c"
+#line 14588 "Page.c"
} else {
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = FALSE;
-#line 14486 "Page.c"
+#line 14592 "Page.c"
}
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_) {
-#line 14490 "Page.c"
- Dimensions _tmp44_ = {0};
-#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14596 "Page.c"
+ Dimensions _tmp44_;
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->max_dim;
-#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp44_;
-#line 14496 "Page.c"
+#line 14602 "Page.c"
} else {
- Dimensions _tmp45_ = {0};
+ Dimensions _tmp45_;
Dimensions _tmp46_ = {0};
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = self->priv->pixmap_dim;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_get_scaled_proportional (&unscaled_dim, &_tmp45_, &_tmp46_);
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp46_;
-#line 14506 "Page.c"
+#line 14612 "Page.c"
}
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = width;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = scaled_dim;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.width;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width");
-#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = height;
-#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = scaled_dim;
-#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _tmp51_.height;
-#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp50_ >= _tmp52_, "height >= scaled_dim.height");
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = width;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = scaled_dim;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = _tmp54_.width;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = height;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = scaled_dim;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = _tmp57_.height;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2;
-#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = scaled_dim;
-#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_.width;
-#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.width = _tmp60_;
-#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = scaled_dim;
-#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_.height;
-#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.height = _tmp62_;
-#line 14552 "Page.c"
+#line 14658 "Page.c"
}
-#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = fast;
-#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp64_) {
-#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_FAST_INTERP;
-#line 14560 "Page.c"
+#line 14666 "Page.c"
} else {
-#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14564 "Page.c"
+#line 14670 "Page.c"
}
-#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
interp = _tmp63_;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = self->priv->scaled;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp65_ == NULL) {
-#line 14572 "Page.c"
- GdkPixbuf* _tmp66_ = NULL;
- GdkRectangle _tmp67_ = {0};
+#line 14678 "Page.c"
+ GdkPixbuf* _tmp66_;
+ GdkRectangle _tmp67_;
Dimensions _tmp68_ = {0};
- GdkInterpType _tmp69_ = 0;
- GdkPixbuf* _tmp70_ = NULL;
+ GdkInterpType _tmp69_;
+ GdkPixbuf* _tmp70_;
SinglePhotoPageUpdateReason reason = 0;
- gboolean _tmp71_ = FALSE;
- Dimensions _tmp75_ = {0};
- Dimensions _tmp76_ = {0};
- gdouble _tmp77_ = 0.0;
+ gboolean _tmp71_;
+ Dimensions _tmp75_;
+ Dimensions _tmp76_;
+ gdouble _tmp77_;
GdkPoint _tmp78_ = {0};
- GdkPixbuf* _tmp79_ = NULL;
- SinglePhotoPageUpdateReason _tmp80_ = 0;
- Dimensions _tmp81_ = {0};
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp79_;
+ SinglePhotoPageUpdateReason _tmp80_;
+ Dimensions _tmp81_;
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = self->priv->unscaled;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = self->priv->scaled_pos;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp67_, &_tmp68_);
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = interp;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = resize_pixbuf (_tmp66_, &_tmp68_, _tmp69_);
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = _tmp70_;
-#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2391 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS;
-#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2392 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = new_pixbuf;
-#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2392 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp71_) {
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_NEW_PIXBUF;
-#line 14609 "Page.c"
+#line 14715 "Page.c"
} else {
gboolean _tmp72_ = FALSE;
- gboolean _tmp73_ = FALSE;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp73_;
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = new_pixmap;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp73_) {
-#line 14617 "Page.c"
- GdkInterpType _tmp74_ = 0;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14723 "Page.c"
+ GdkInterpType _tmp74_;
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp74_ = interp;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp74_ == SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14623 "Page.c"
+#line 14729 "Page.c"
} else {
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = FALSE;
-#line 14627 "Page.c"
+#line 14733 "Page.c"
}
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp72_) {
-#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2395 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_QUALITY_IMPROVEMENT;
-#line 14633 "Page.c"
+#line 14739 "Page.c"
}
}
-#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = self->priv->max_dim;
-#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = self->priv->pixmap_dim;
-#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp78_);
-#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp75_, &_tmp76_, _tmp77_, &_tmp78_);
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = self->priv->scaled;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = reason;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = old_scaled_dim;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_updated_pixbuf (self, _tmp79_, _tmp80_, &_tmp81_);
-#line 14654 "Page.c"
+#line 14760 "Page.c"
}
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = fast;
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = !_tmp82_;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = direction;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp84_ != NULL) {
-#line 14664 "Page.c"
- TransitionClock* _tmp85_ = NULL;
- gboolean _tmp86_ = FALSE;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 14770 "Page.c"
+ TransitionClock* _tmp85_;
+ gboolean _tmp86_;
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = self->priv->transition_clock;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = transition_clock_is_in_progress (_tmp85_);
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = !_tmp86_;
-#line 14673 "Page.c"
+#line 14779 "Page.c"
} else {
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = FALSE;
-#line 14677 "Page.c"
+#line 14783 "Page.c"
}
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp83_) {
-#line 14681 "Page.c"
+#line 14787 "Page.c"
SpitTransitionsVisuals* visuals = NULL;
- GdkPixbuf* _tmp87_ = NULL;
- GdkRectangle _tmp88_ = {0};
- GdkPixbuf* _tmp89_ = NULL;
- GdkRectangle _tmp90_ = {0};
+ GdkPixbuf* _tmp87_;
+ GdkRectangle _tmp88_;
+ GdkPixbuf* _tmp89_;
+ GdkRectangle _tmp90_;
GdkRGBA _tmp91_ = {0};
- SpitTransitionsVisuals* _tmp92_ = NULL;
- TransitionClock* _tmp93_ = NULL;
- SpitTransitionsVisuals* _tmp94_ = NULL;
- Direction* _tmp95_ = NULL;
- SpitTransitionsDirection _tmp96_ = 0;
- gint _tmp97_ = 0;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+ SpitTransitionsVisuals* _tmp92_;
+ TransitionClock* _tmp93_;
+ SpitTransitionsVisuals* _tmp94_;
+ Direction* _tmp95_;
+ SpitTransitionsDirection _tmp96_;
+ gint _tmp97_;
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = self->priv->old_scaled;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = old_scaled_pos;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = self->priv->scaled;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = self->priv->scaled_pos;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
parse_color ("#000", &_tmp91_);
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = spit_transitions_visuals_new (_tmp87_, &_tmp88_, _tmp89_, &_tmp90_, &_tmp91_);
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
visuals = _tmp92_;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = self->priv->transition_clock;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = visuals;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = direction;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = direction_to_transition_direction (*_tmp95_);
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = self->priv->transition_duration_msec;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
transition_clock_start (_tmp93_, _tmp94_, _tmp96_, _tmp97_, _single_photo_page_repaint_pixmap_transition_clock_repaint_callback, self);
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (visuals);
-#line 14722 "Page.c"
+#line 14828 "Page.c"
}
-#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = self->priv->transition_clock;
-#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = transition_clock_is_in_progress (_tmp98_);
-#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp99_) {
-#line 2395 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2415 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap (self);
-#line 14732 "Page.c"
+#line 14838 "Page.c"
}
}
static void single_photo_page_init_pixmap (SinglePhotoPage* self, gint width, gint height) {
- GdkPixbuf* _tmp0_ = NULL;
- GtkDrawingArea* _tmp1_ = NULL;
- GdkWindow* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- cairo_surface_t* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- cairo_surface_t* _tmp8_ = NULL;
- cairo_t* _tmp9_ = NULL;
- cairo_surface_t* _tmp10_ = NULL;
- cairo_t* _tmp11_ = NULL;
- cairo_t* _tmp12_ = NULL;
- cairo_t* _tmp13_ = NULL;
- Dimensions _tmp14_ = {0};
-#line 2398 "/home/jens/Source/shotwell/src/Page.vala"
+ GdkPixbuf* _tmp0_;
+ GtkDrawingArea* _tmp1_;
+ GdkWindow* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ cairo_surface_t* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ cairo_surface_t* _tmp8_;
+ cairo_t* _tmp9_;
+ cairo_surface_t* _tmp10_;
+ cairo_t* _tmp11_;
+ cairo_t* _tmp12_;
+ cairo_t* _tmp13_;
+ Dimensions _tmp14_;
+#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_ != NULL, "unscaled != null");
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->canvas;
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp2_ != NULL, "canvas.get_window() != null");
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = width;
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = height;
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp3_, _tmp4_);
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = _tmp5_;
-#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = width;
-#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = height;
-#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->pixmap_dim, _tmp6_, _tmp7_);
-#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2427 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->pixmap;
-#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2427 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = cairo_create (_tmp8_);
-#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2427 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->pixmap_ctx);
-#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2427 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap_ctx = _tmp9_;
-#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2430 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2430 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->pixmap;
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cairo_create (_tmp10_);
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->text_ctx = _tmp11_;
-#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2434 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->text_ctx;
-#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2434 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp12_, "#fff");
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->pixmap_ctx;
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->pixmap_dim;
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_new_surface (self, _tmp13_, &_tmp14_);
-#line 14811 "Page.c"
+#line 14917 "Page.c"
}
static gboolean single_photo_page_real_on_context_keypress (Page* base) {
SinglePhotoPage * self;
gboolean result = FALSE;
- GtkMenu* _tmp0_ = NULL;
- GtkMenu* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkMenu* _tmp0_;
+ GtkMenu* _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 14838 "Page.c"
+#line 14944 "Page.c"
}
@@ -14843,11 +14949,11 @@ static void single_photo_page_real_on_previous_photo (SinglePhotoPage* self) {
void single_photo_page_on_previous_photo (SinglePhotoPage* self) {
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_previous_photo (self);
-#line 14851 "Page.c"
+#line 14957 "Page.c"
}
@@ -14856,11 +14962,11 @@ static void single_photo_page_real_on_next_photo (SinglePhotoPage* self) {
void single_photo_page_on_next_photo (SinglePhotoPage* self) {
-#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_next_photo (self);
-#line 14864 "Page.c"
+#line 14970 "Page.c"
}
@@ -14868,275 +14974,275 @@ static gboolean single_photo_page_real_key_press_event (GtkWidget* base, GdkEven
SinglePhotoPage * self;
gboolean result = FALSE;
gboolean nav_ok = FALSE;
- GdkEventKey* _tmp0_ = NULL;
- guint32 _tmp1_ = 0U;
- guint32 _tmp2_ = 0U;
+ GdkEventKey* _tmp0_;
+ guint32 _tmp1_;
+ guint32 _tmp2_;
gboolean handled = FALSE;
- GdkEventKey* _tmp3_ = NULL;
- guint _tmp4_ = 0U;
- const gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
+ GdkEventKey* _tmp3_;
+ guint _tmp4_;
+ const gchar* _tmp5_;
+ const gchar* _tmp6_;
GQuark _tmp8_ = 0U;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label0 = 0;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label1 = 0;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label2 = 0;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label3 = 0;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label4 = 0;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label5 = 0;
-#line 14893 "Page.c"
- gboolean _tmp15_ = FALSE;
+#line 14999 "Page.c"
+ gboolean _tmp15_;
gboolean _tmp16_ = FALSE;
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->time;
-#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_nav_key;
-#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
nav_ok = (_tmp1_ - _tmp2_) > ((guint32) SINGLE_PHOTO_PAGE_KEY_REPEAT_INTERVAL_MSEC);
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
handled = TRUE;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->keyval;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gdk_keyval_name (_tmp4_);
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = (NULL == _tmp6_) ? 0 : g_quark_from_string (_tmp6_);
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
if (((_tmp8_ == ((0 != _tmp7_label0) ? _tmp7_label0 : (_tmp7_label0 = g_quark_from_static_string ("Left")))) || (_tmp8_ == ((0 != _tmp7_label1) ? _tmp7_label1 : (_tmp7_label1 = g_quark_from_static_string ("KP_Left"))))) || (_tmp8_ == ((0 != _tmp7_label2) ? _tmp7_label2 : (_tmp7_label2 = g_quark_from_static_string ("BackSpace"))))) {
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14924 "Page.c"
+#line 15030 "Page.c"
default:
{
- gboolean _tmp9_ = FALSE;
-#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp9_;
+#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = nav_ok;
-#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 14932 "Page.c"
- GdkEventKey* _tmp10_ = NULL;
- guint32 _tmp11_ = 0U;
-#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15038 "Page.c"
+ GdkEventKey* _tmp10_;
+ guint32 _tmp11_;
+#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_previous_photo (self);
-#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->time;
-#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp11_;
-#line 14943 "Page.c"
+#line 15049 "Page.c"
}
-#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14947 "Page.c"
+#line 15053 "Page.c"
}
}
} else if (((_tmp8_ == ((0 != _tmp7_label3) ? _tmp7_label3 : (_tmp7_label3 = g_quark_from_static_string ("Right")))) || (_tmp8_ == ((0 != _tmp7_label4) ? _tmp7_label4 : (_tmp7_label4 = g_quark_from_static_string ("KP_Right"))))) || (_tmp8_ == ((0 != _tmp7_label5) ? _tmp7_label5 : (_tmp7_label5 = g_quark_from_static_string ("space"))))) {
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14953 "Page.c"
+#line 15059 "Page.c"
default:
{
- gboolean _tmp12_ = FALSE;
-#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp12_;
+#line 2472 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = nav_ok;
-#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_) {
-#line 14961 "Page.c"
- GdkEventKey* _tmp13_ = NULL;
- guint32 _tmp14_ = 0U;
-#line 2453 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15067 "Page.c"
+ GdkEventKey* _tmp13_;
+ guint32 _tmp14_;
+#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_next_photo (self);
-#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_->time;
-#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp14_;
-#line 14972 "Page.c"
+#line 15078 "Page.c"
}
-#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14976 "Page.c"
+#line 15082 "Page.c"
}
}
} else {
-#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14982 "Page.c"
+#line 15088 "Page.c"
default:
{
-#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2479 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 2460 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2480 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14989 "Page.c"
+#line 15095 "Page.c"
}
}
}
-#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = handled;
-#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_) {
-#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15001 "Page.c"
+#line 15107 "Page.c"
}
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event != NULL) {
-#line 15005 "Page.c"
- GdkEventKey* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15111 "Page.c"
+ GdkEventKey* _tmp17_;
+ gboolean _tmp18_;
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp17_);
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp18_;
-#line 15014 "Page.c"
+#line 15120 "Page.c"
} else {
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = TRUE;
-#line 15018 "Page.c"
+#line 15124 "Page.c"
}
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp16_;
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15024 "Page.c"
+#line 15130 "Page.c"
}
static void single_photo_page_class_init (SinglePhotoPageClass * klass) {
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_parent_class = g_type_class_peek_parent (klass);
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (SinglePhotoPagePrivate));
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->is_zoom_supported = (gboolean (*)(SinglePhotoPage*)) single_photo_page_real_is_zoom_supported;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->cancel_zoom = (void (*)(SinglePhotoPage*)) single_photo_page_real_cancel_zoom;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->save_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_save_zoom_state;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->restore_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_restore_zoom_state;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->get_zoom_buffer = (ZoomBuffer* (*)(SinglePhotoPage*)) single_photo_page_real_get_zoom_buffer;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->switched_to = (void (*)(Page*)) single_photo_page_real_switched_to;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->set_container = (void (*)(Page*, GtkWindow*)) single_photo_page_real_set_container;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_resize_finished = (void (*)(Page*, GdkRectangle*)) single_photo_page_real_on_resize_finished;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->new_surface = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_new_surface;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->updated_pixbuf = (void (*)(SinglePhotoPage*, GdkPixbuf*, SinglePhotoPageUpdateReason, Dimensions*)) single_photo_page_real_updated_pixbuf;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->paint = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_paint;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) single_photo_page_real_on_context_keypress;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->on_previous_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_previous_photo;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((SinglePhotoPageClass *) klass)->on_next_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_next_photo;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
- ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) single_photo_page_real_key_press_event;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->is_zoom_supported = (gboolean (*) (SinglePhotoPage *)) single_photo_page_real_is_zoom_supported;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->cancel_zoom = (void (*) (SinglePhotoPage *)) single_photo_page_real_cancel_zoom;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->save_zoom_state = (void (*) (SinglePhotoPage *)) single_photo_page_real_save_zoom_state;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->restore_zoom_state = (void (*) (SinglePhotoPage *)) single_photo_page_real_restore_zoom_state;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->get_zoom_buffer = (ZoomBuffer* (*) (SinglePhotoPage *)) single_photo_page_real_get_zoom_buffer;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->switched_to = (void (*) (Page *)) single_photo_page_real_switched_to;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->set_container = (void (*) (Page *, GtkWindow*)) single_photo_page_real_set_container;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_resize_finished = (void (*) (Page *, GdkRectangle*)) single_photo_page_real_on_resize_finished;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->new_surface = (void (*) (SinglePhotoPage *, cairo_t*, Dimensions*)) single_photo_page_real_new_surface;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->updated_pixbuf = (void (*) (SinglePhotoPage *, GdkPixbuf*, SinglePhotoPageUpdateReason, Dimensions*)) single_photo_page_real_updated_pixbuf;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->paint = (void (*) (SinglePhotoPage *, cairo_t*, Dimensions*)) single_photo_page_real_paint;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((PageClass *) klass)->on_context_keypress = (gboolean (*) (Page *)) single_photo_page_real_on_context_keypress;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->on_previous_photo = (void (*) (SinglePhotoPage *)) single_photo_page_real_on_previous_photo;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((SinglePhotoPageClass *) klass)->on_next_photo = (void (*) (SinglePhotoPage *)) single_photo_page_real_on_next_photo;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+ ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*) (GtkWidget *, GdkEventKey*)) single_photo_page_real_key_press_event;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = single_photo_page_finalize;
-#line 15065 "Page.c"
+#line 15171 "Page.c"
}
static void single_photo_page_instance_init (SinglePhotoPage * self) {
- GtkDrawingArea* _tmp0_ = NULL;
- GtkViewport* _tmp1_ = NULL;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkDrawingArea* _tmp0_;
+ GtkViewport* _tmp1_;
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = SINGLE_PHOTO_PAGE_GET_PRIVATE (self);
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkDrawingArea*) gtk_drawing_area_new ();
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
self->canvas = _tmp0_;
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp1_);
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
self->viewport = _tmp1_;
-#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_duration_msec = 0;
-#line 1972 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1993 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap_ctx = NULL;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1994 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->text_ctx = NULL;
-#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1995 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->pixmap_dim, 0, 0);
-#line 1976 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = NULL;
-#line 1977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1997 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->max_dim, 0, 0);
-#line 1978 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 1979 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1999 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->old_scaled = NULL;
-#line 1980 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2000 "/home/jens/Source/shotwell/src/Page.vala"
memset (&self->priv->scaled_pos, 0, sizeof (GdkRectangle));
-#line 1982 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = TRUE;
-#line 1984 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2004 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = FALSE;
-#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2005 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = (guint32) 0;
-#line 15112 "Page.c"
+#line 15218 "Page.c"
}
-static void single_photo_page_finalize (GObject* obj) {
+static void single_photo_page_finalize (GObject * obj) {
SinglePhotoPage * self;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->canvas);
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->viewport);
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 1972 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1993 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->pixmap_ctx);
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1994 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 1976 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 1978 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 1979 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1999 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (single_photo_page_parent_class)->finalize (obj);
-#line 15140 "Page.c"
+#line 15246 "Page.c"
}
@@ -15153,32 +15259,32 @@ GType single_photo_page_get_type (void) {
static void _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_begin ((DragAndDropHandler*) self, context);
-#line 15159 "Page.c"
+#line 15265 "Page.c"
}
static void _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get (GtkWidget* _sender, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time_, gpointer self) {
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_data_get ((DragAndDropHandler*) self, context, selection_data, info, time_);
-#line 15166 "Page.c"
+#line 15272 "Page.c"
}
static void _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_end ((DragAndDropHandler*) self);
-#line 15173 "Page.c"
+#line 15279 "Page.c"
}
static gboolean _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender, GdkDragContext* context, GtkDragResult _result_, gpointer self) {
gboolean result;
result = drag_and_drop_handler_on_drag_failed ((DragAndDropHandler*) self, context, _result_);
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15182 "Page.c"
+#line 15288 "Page.c"
}
@@ -15196,1204 +15302,1201 @@ static GType drag_and_drop_handler_target_type_get_type (void) {
static GdkAtom* _gdk_atom_dup (GdkAtom* self) {
GdkAtom* dup;
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (GdkAtom, 1);
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (GdkAtom));
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 15206 "Page.c"
+#line 15312 "Page.c"
}
static gpointer __gdk_atom_dup0 (gpointer self) {
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
return self ? _gdk_atom_dup (self) : NULL;
-#line 15213 "Page.c"
+#line 15319 "Page.c"
}
DragAndDropHandler* drag_and_drop_handler_construct (GType object_type, Page* page) {
DragAndDropHandler* self = NULL;
- Page* _tmp0_ = NULL;
- Page* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- GtkWidget* _tmp3_ = NULL;
- GtkWidget* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
- GdkAtom* _tmp6_ = NULL;
- GdkAtom* _tmp9_ = NULL;
- guint8* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- GtkWidget* _tmp15_ = NULL;
- GtkWidget* _tmp16_ = NULL;
- GtkWidget* _tmp17_ = NULL;
- GtkWidget* _tmp18_ = NULL;
- GtkWidget* _tmp19_ = NULL;
-#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp0_;
+ Page* _tmp1_;
+ GtkWidget* _tmp2_;
+ GtkWidget* _tmp3_;
+ GtkWidget* _tmp4_;
+ gboolean _tmp5_;
+ GdkAtom* _tmp6_;
+ GdkAtom* _tmp9_;
+ guint8* _tmp12_;
+ gint _tmp12__length1;
+ GtkWidget* _tmp15_;
+ GtkWidget* _tmp16_;
+ GtkWidget* _tmp17_;
+ GtkWidget* _tmp18_;
+ GtkWidget* _tmp19_;
+#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (page), NULL);
-#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
self = (DragAndDropHandler*) g_type_create_instance (object_type);
-#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page = _tmp0_;
-#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page;
-#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_event_source (_tmp1_);
-#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = _tmp2_;
-#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp3_ != NULL, "event_source != null");
-#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_has_window (_tmp4_);
-#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp5_, "event_source.get_has_window()");
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = drag_and_drop_handler_XDS_ATOM;
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 15264 "Page.c"
- GdkAtom _tmp7_ = 0U;
- GdkAtom* _tmp8_ = NULL;
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15370 "Page.c"
+ GdkAtom _tmp7_;
+ GdkAtom* _tmp8_;
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_atom_intern_static_string ("XdndDirectSave0");
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = __gdk_atom_dup0 (&_tmp7_);
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_XDS_ATOM);
-#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_ATOM = _tmp8_;
-#line 15275 "Page.c"
+#line 15381 "Page.c"
}
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_ == NULL) {
-#line 15281 "Page.c"
- GdkAtom _tmp10_ = 0U;
- GdkAtom* _tmp11_ = NULL;
-#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15387 "Page.c"
+ GdkAtom _tmp10_;
+ GdkAtom* _tmp11_;
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gdk_atom_intern_static_string ("text/plain");
-#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = __gdk_atom_dup0 (&_tmp10_);
-#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_TEXT_ATOM);
-#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_TEXT_ATOM = _tmp11_;
-#line 15292 "Page.c"
+#line 15398 "Page.c"
}
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ == NULL) {
-#line 15300 "Page.c"
- gint _tmp13_ = 0;
- guchar* _tmp14_ = NULL;
-#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15406 "Page.c"
+ gint _tmp13_;
+ guchar* _tmp14_;
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = string_to_uchar_array ("shotwell.txt", &_tmp13_);
-#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET = (g_free (drag_and_drop_handler_XDS_FAKE_TARGET), NULL);
-#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET = _tmp14_;
-#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET_length1 = _tmp13_;
-#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
_drag_and_drop_handler_XDS_FAKE_TARGET_size_ = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 15313 "Page.c"
+#line 15419 "Page.c"
}
-#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->event_source;
-#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set (_tmp15_, GDK_BUTTON1_MASK, DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES, G_N_ELEMENTS (DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES), GDK_ACTION_COPY);
-#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->event_source;
-#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect (_tmp16_, "drag-begin", (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->event_source;
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect (_tmp17_, "drag-data-get", (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
-#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->event_source;
-#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect (_tmp18_, "drag-end", (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
-#line 2520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->event_source;
-#line 2520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2540 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect (_tmp19_, "drag-failed", (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self);
-#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 15337 "Page.c"
+#line 15443 "Page.c"
}
DragAndDropHandler* drag_and_drop_handler_new (Page* page) {
-#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
return drag_and_drop_handler_construct (TYPE_DRAG_AND_DROP_HANDLER, page);
-#line 15344 "Page.c"
+#line 15450 "Page.c"
}
static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDragContext* context) {
- Page* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ Page* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
- Page* _tmp5_ = NULL;
+ Page* _tmp5_;
ThumbnailSource* thumb = NULL;
- Page* _tmp11_ = NULL;
- ViewCollection* _tmp12_ = NULL;
- ViewCollection* _tmp13_ = NULL;
- DataView* _tmp14_ = NULL;
- DataView* _tmp15_ = NULL;
- DataSource* _tmp16_ = NULL;
- ThumbnailSource* _tmp17_ = NULL;
- GdkDragContext* _tmp27_ = NULL;
- GdkWindow* _tmp28_ = NULL;
- GdkAtom* _tmp29_ = NULL;
- GdkAtom* _tmp30_ = NULL;
- guint8* _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
+ Page* _tmp11_;
+ ViewCollection* _tmp12_;
+ ViewCollection* _tmp13_;
+ DataView* _tmp14_;
+ DataView* _tmp15_;
+ DataSource* _tmp16_;
+ ThumbnailSource* _tmp17_;
+ GdkDragContext* _tmp27_;
+ GdkWindow* _tmp28_;
+ GdkAtom* _tmp29_;
+ GdkAtom* _tmp30_;
+ guint8* _tmp31_;
+ gint _tmp31__length1;
GError * _inner_error_ = NULL;
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2536: on_drag_begin (%s)", _tmp2_);
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2556: on_drag_begin (%s)", _tmp2_);
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ == NULL) {
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 15390 "Page.c"
+#line 15496 "Page.c"
} else {
- Page* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- gint _tmp9_ = 0;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp6_;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ gint _tmp9_;
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (_tmp6_);
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_count (_tmp8_);
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp9_ == 0;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 15408 "Page.c"
+#line 15514 "Page.c"
}
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15414 "Page.c"
+#line 15520 "Page.c"
} else {
- ExporterUI* _tmp10_ = NULL;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+ ExporterUI* _tmp10_;
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->exporter;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp10_ != NULL;
-#line 15421 "Page.c"
+#line 15527 "Page.c"
}
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15427 "Page.c"
+#line 15533 "Page.c"
}
-#line 2541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2561 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2561 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->page;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_selected_at (_tmp13_, 0);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = data_view_get_source (_tmp15_);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp15_);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
thumb = _tmp17_;
-#line 15453 "Page.c"
+#line 15559 "Page.c"
{
GdkPixbuf* icon = NULL;
- ThumbnailSource* _tmp18_ = NULL;
- GdkPixbuf* _tmp19_ = NULL;
- GtkWidget* _tmp20_ = NULL;
- GdkPixbuf* _tmp21_ = NULL;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+ ThumbnailSource* _tmp18_;
+ GdkPixbuf* _tmp19_;
+ GtkWidget* _tmp20_;
+ GdkPixbuf* _tmp21_;
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = thumb;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = thumbnail_source_get_thumbnail (_tmp18_, APP_WINDOW_DND_ICON_SCALE, &_inner_error_);
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
icon = _tmp19_;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 15468 "Page.c"
- goto __catch255_g_error;
+#line 15574 "Page.c"
+ goto __catch256_g_error;
}
-#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->event_source;
-#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = icon;
-#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set_icon_pixbuf (_tmp20_, _tmp21_);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (icon);
-#line 15479 "Page.c"
+#line 15585 "Page.c"
}
- goto __finally255;
- __catch255_g_error:
+ goto __finally256;
+ __catch256_g_error:
{
GError* err = NULL;
- ThumbnailSource* _tmp22_ = NULL;
- gchar* _tmp23_ = NULL;
- gchar* _tmp24_ = NULL;
- GError* _tmp25_ = NULL;
- const gchar* _tmp26_ = NULL;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+ ThumbnailSource* _tmp22_;
+ gchar* _tmp23_;
+ gchar* _tmp24_;
+ GError* _tmp25_;
+ const gchar* _tmp26_;
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
err = _inner_error_;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_inner_error_ = NULL;
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = thumb;
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_DATA_OBJECT, DataObject));
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = err;
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_->message;
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2550: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2570: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp24_);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_g_error_free0 (err);
-#line 15510 "Page.c"
+#line 15616 "Page.c"
}
- __finally255:
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+ __finally256:
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.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 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
g_clear_error (&_inner_error_);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15523 "Page.c"
+#line 15629 "Page.c"
}
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = context;
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = gdk_drag_context_get_source_window (_tmp27_);
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = drag_and_drop_handler_XDS_ATOM;
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
gdk_property_change (_tmp28_, *_tmp29_, *_tmp30_, 8, GDK_PROP_MODE_REPLACE, (const guchar*) _tmp31_, 1);
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 15541 "Page.c"
+#line 15647 "Page.c"
}
static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, GdkDragContext* context, GtkSelectionData* selection_data, guint target_type, guint time) {
- Page* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ Page* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
gboolean _tmp3_ = FALSE;
- Page* _tmp4_ = NULL;
- guint _tmp9_ = 0U;
-#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp4_;
+ guint _tmp9_;
+#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (selection_data != NULL);
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2566: on_drag_data_get (%s)", _tmp2_);
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2586: on_drag_data_get (%s)", _tmp2_);
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15574 "Page.c"
+#line 15680 "Page.c"
} else {
- Page* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- gint _tmp8_ = 0;
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp5_;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ gint _tmp8_;
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (_tmp5_);
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = view_collection_get_selected_count (_tmp7_);
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp8_ == 0;
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 15592 "Page.c"
+#line 15698 "Page.c"
}
-#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15598 "Page.c"
+#line 15704 "Page.c"
}
-#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = target_type;
-#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_) {
-#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_XDS:
-#line 15606 "Page.c"
+#line 15712 "Page.c"
{
guchar* data = NULL;
- guchar* _tmp10_ = NULL;
- gint data_length1 = 0;
- gint _data_size_ = 0;
+ guchar* _tmp10_;
+ gint data_length1;
+ gint _data_size_;
GdkAtom actual_type = 0U;
gint actual_format = 0;
gboolean fetched = FALSE;
- GdkDragContext* _tmp11_ = NULL;
- GdkWindow* _tmp12_ = NULL;
- GdkAtom* _tmp13_ = NULL;
- GdkAtom* _tmp14_ = NULL;
- guchar* _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
+ GdkDragContext* _tmp11_;
+ GdkWindow* _tmp12_;
+ GdkAtom* _tmp13_;
+ GdkAtom* _tmp14_;
+ guchar* _tmp15_;
+ gint _tmp15__length1;
GdkAtom _tmp16_ = 0U;
gint _tmp17_ = 0;
guint8* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gboolean _tmp20_ = FALSE;
+ gint _tmp19_;
+ gboolean _tmp20_;
gboolean _tmp21_ = FALSE;
gboolean _tmp22_ = FALSE;
- gboolean _tmp23_ = FALSE;
+ gboolean _tmp23_;
gchar* _tmp32_ = NULL;
- GFile* _tmp33_ = NULL;
- Page* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
- gchar* _tmp39_ = NULL;
+ GFile* _tmp33_;
+ Page* _tmp37_;
+ gchar* _tmp38_;
+ gchar* _tmp39_;
const gchar* _tmp40_ = NULL;
- GFile* _tmp41_ = NULL;
- GtkSelectionData* _tmp42_ = NULL;
- GdkAtom* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- guchar* _tmp45_ = NULL;
- guchar* _tmp46_ = NULL;
- gint _tmp46__length1 = 0;
-#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
+ GFile* _tmp41_;
+ GtkSelectionData* _tmp42_;
+ GdkAtom* _tmp43_;
+ gint _tmp44_;
+ guchar* _tmp45_;
+ guchar* _tmp46_;
+ gint _tmp46__length1;
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = g_new0 (guchar, 4096);
-#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp10_;
-#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = 4096;
-#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
actual_format = 0;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = context;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_drag_context_get_source_window (_tmp11_);
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = drag_and_drop_handler_XDS_ATOM;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = data;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15__length1 = data_length1;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = gdk_property_get (_tmp12_, *_tmp13_, *_tmp14_, (gulong) 0, (gulong) _tmp15__length1, 0, &_tmp16_, &_tmp17_, &_tmp19_, &_tmp18_);
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
actual_type = _tmp16_;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
actual_format = _tmp17_;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp18_;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = _tmp19_;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Page.vala"
fetched = _tmp20_;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = fetched;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_) {
-#line 15684 "Page.c"
- guchar* _tmp24_ = NULL;
- gint _tmp24__length1 = 0;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15790 "Page.c"
+ guchar* _tmp24_;
+ gint _tmp24__length1;
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = data;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24__length1 = data_length1;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp24_ != NULL;
-#line 15693 "Page.c"
+#line 15799 "Page.c"
} else {
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = FALSE;
-#line 15697 "Page.c"
+#line 15803 "Page.c"
}
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_) {
-#line 15701 "Page.c"
- guchar* _tmp25_ = NULL;
- gint _tmp25__length1 = 0;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15807 "Page.c"
+ guchar* _tmp25_;
+ gint _tmp25__length1;
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = data;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25__length1 = data_length1;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp25__length1 > 0;
-#line 15710 "Page.c"
+#line 15816 "Page.c"
} else {
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 15714 "Page.c"
+#line 15820 "Page.c"
}
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 15718 "Page.c"
- guchar* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- GFile* _tmp29_ = NULL;
- GFile* _tmp30_ = NULL;
- GFile* _tmp31_ = NULL;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15824 "Page.c"
+ guchar* _tmp26_;
+ gint _tmp26__length1;
+ gchar* _tmp27_;
+ gchar* _tmp28_;
+ GFile* _tmp29_;
+ GFile* _tmp30_;
+ GFile* _tmp31_;
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = data;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26__length1 = data_length1;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = uchar_array_to_string (_tmp26_, _tmp26__length1, -1);
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_file_new_for_uri (_tmp28_);
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = g_file_get_parent (_tmp30_);
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = _tmp31_;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp30_);
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp28_);
-#line 15748 "Page.c"
+#line 15854 "Page.c"
}
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = self->priv->drag_destination;
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_ != NULL) {
-#line 15754 "Page.c"
- GFile* _tmp34_ = NULL;
- gchar* _tmp35_ = NULL;
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 15860 "Page.c"
+ GFile* _tmp34_;
+ gchar* _tmp35_;
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->drag_destination;
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = g_file_get_path (_tmp34_);
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp35_;
-#line 15765 "Page.c"
+#line 15871 "Page.c"
} else {
- gchar* _tmp36_ = NULL;
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+ gchar* _tmp36_;
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = g_strdup ("(no path)");
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp36_;
-#line 15774 "Page.c"
+#line 15880 "Page.c"
}
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->page;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = page_get_page_name (_tmp37_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2585: on_drag_data_get (%s): %s", _tmp39_, _tmp32_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2605: on_drag_data_get (%s): %s", _tmp39_, _tmp32_);
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp39_);
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->drag_destination;
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ != NULL) {
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "S";
-#line 15792 "Page.c"
+#line 15898 "Page.c"
} else {
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "E";
-#line 15796 "Page.c"
+#line 15902 "Page.c"
}
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = selection_data;
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = drag_and_drop_handler_XDS_ATOM;
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = string_to_uchar_array (_tmp40_, &_tmp44_);
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_;
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46__length1 = _tmp44_;
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp42_, *_tmp43_, 8, _tmp46_, _tmp44_);
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = (g_free (_tmp46_), NULL);
-#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15818 "Page.c"
+#line 15924 "Page.c"
}
-#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_MEDIA_LIST:
-#line 15822 "Page.c"
+#line 15928 "Page.c"
{
GeeCollection* sources = NULL;
- Page* _tmp47_ = NULL;
- ViewCollection* _tmp48_ = NULL;
- ViewCollection* _tmp49_ = NULL;
- GeeList* _tmp50_ = NULL;
- GeeCollection* _tmp51_ = NULL;
- GtkSelectionData* _tmp52_ = NULL;
- GdkAtom _tmp53_ = 0U;
- GeeCollection* _tmp54_ = NULL;
- gint _tmp55_ = 0;
- guchar* _tmp56_ = NULL;
- guchar* _tmp57_ = NULL;
- gint _tmp57__length1 = 0;
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp47_;
+ ViewCollection* _tmp48_;
+ ViewCollection* _tmp49_;
+ GeeList* _tmp50_;
+ GeeCollection* _tmp51_;
+ GtkSelectionData* _tmp52_;
+ GdkAtom _tmp53_;
+ GeeCollection* _tmp54_;
+ gint _tmp55_;
+ guchar* _tmp56_;
+ guchar* _tmp57_;
+ gint _tmp57__length1;
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->page;
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = page_get_view (_tmp47_);
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_;
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = view_collection_get_selected_sources (_tmp49_);
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp49_);
-#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
sources = _tmp51_;
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = selection_data;
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = gdk_atom_intern_static_string ("SourceIDAtom");
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = sources;
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = serialize_media_sources (_tmp54_, &_tmp55_);
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = _tmp56_;
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57__length1 = _tmp55_;
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp52_, _tmp53_, (gint) sizeof (GdkAtom), _tmp57_, _tmp55_);
-#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = (g_free (_tmp57_), NULL);
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2621 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (sources);
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2621 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15871 "Page.c"
+#line 15977 "Page.c"
}
default:
{
- Page* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
- guint _tmp61_ = 0U;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp58_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ guint _tmp61_;
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = self->priv->page;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_page_name (_tmp58_);
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = target_type;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2604: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2624: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp60_);
-#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2626 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15893 "Page.c"
+#line 15999 "Page.c"
}
}
}
static void _drag_and_drop_handler_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_export_completed ((DragAndDropHandler*) self);
-#line 15902 "Page.c"
+#line 16008 "Page.c"
}
static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) {
- Page* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ Page* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
- Page* _tmp6_ = NULL;
- GFile* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
- GFile* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp6_;
+ GFile* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+ GFile* _tmp16_;
+ gchar* _tmp17_;
+ gchar* _tmp18_;
+ gboolean _tmp19_;
+#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2611: on_drag_end (%s)", _tmp2_);
-#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2631: on_drag_end (%s)", _tmp2_);
+#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = TRUE;
-#line 15939 "Page.c"
+#line 16045 "Page.c"
} else {
- Page* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- gint _tmp10_ = 0;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp7_;
+ ViewCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ gint _tmp10_;
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->page;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = view_collection_get_selected_count (_tmp9_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_ == 0;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp9_);
-#line 15957 "Page.c"
+#line 16063 "Page.c"
}
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 15963 "Page.c"
+#line 16069 "Page.c"
} else {
- GFile* _tmp11_ = NULL;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+ GFile* _tmp11_;
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->drag_destination;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp11_ == NULL;
-#line 15970 "Page.c"
+#line 16076 "Page.c"
}
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15976 "Page.c"
+#line 16082 "Page.c"
} else {
- ExporterUI* _tmp12_ = NULL;
-#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
+ ExporterUI* _tmp12_;
+#line 2634 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->exporter;
-#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2634 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp12_ != NULL;
-#line 15983 "Page.c"
+#line 16089 "Page.c"
}
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15989 "Page.c"
+#line 16095 "Page.c"
}
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->drag_destination;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_file_get_path (_tmp13_);
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2618: Exporting to %s", _tmp15_);
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2638: Exporting to %s", _tmp15_);
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->drag_destination;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_file_get_path (_tmp16_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_ != NULL;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp18_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
-#line 16013 "Page.c"
- Page* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- ViewCollection* _tmp22_ = NULL;
- GeeList* _tmp23_ = NULL;
- GeeCollection* _tmp24_ = NULL;
- GFile* _tmp25_ = NULL;
+#line 16119 "Page.c"
+ Page* _tmp20_;
+ ViewCollection* _tmp21_;
+ ViewCollection* _tmp22_;
+ GeeList* _tmp23_;
+ GeeCollection* _tmp24_;
+ GFile* _tmp25_;
Scaling _tmp26_ = {0};
ExportFormatParameters _tmp27_ = {0};
- Exporter* _tmp28_ = NULL;
- Exporter* _tmp29_ = NULL;
- ExporterUI* _tmp30_ = NULL;
- ExporterUI* _tmp31_ = NULL;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+ Exporter* _tmp28_;
+ Exporter* _tmp29_;
+ ExporterUI* _tmp30_;
+ ExporterUI* _tmp31_;
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->page;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (_tmp20_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_collection_get_selected_sources (_tmp22_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->drag_destination;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_original (&_tmp26_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
export_format_parameters_current (&_tmp27_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = exporter_new (_tmp24_, _tmp25_, &_tmp26_, &_tmp27_, FALSE);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = exporter_ui_new (_tmp29_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = _tmp30_;
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp29_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp24_);
-#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2644 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->exporter;
-#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
exporter_ui_export (_tmp31_, _drag_and_drop_handler_on_export_completed_exporter_completion_callback, self);
-#line 16062 "Page.c"
+#line 16168 "Page.c"
} else {
- const gchar* _tmp32_ = NULL;
-#line 2629 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp32_ = _ ("Photos cannot be exported to this directory.");
-#line 2629 "/home/jens/Source/shotwell/src/Page.vala"
- app_window_error_message (_tmp32_, NULL);
-#line 16069 "Page.c"
+#line 2649 "/home/jens/Source/shotwell/src/Page.vala"
+ app_window_error_message (_ ("Photos cannot be exported to this directory."), NULL);
+#line 16172 "Page.c"
}
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2652 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2652 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 16075 "Page.c"
+#line 16178 "Page.c"
}
static gboolean drag_and_drop_handler_on_drag_failed (DragAndDropHandler* self, GdkDragContext* context, GtkDragResult drag_result) {
gboolean result = FALSE;
- Page* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- GtkDragResult _tmp3_ = 0;
- Page* _tmp4_ = NULL;
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+ Page* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ GtkDragResult _tmp3_;
+ Page* _tmp4_;
+#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_DRAG_AND_DROP_HANDLER (self), FALSE);
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = drag_result;
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2636: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
-#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2656: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
+#line 2656 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2658 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 2639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2659 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2659 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16110 "Page.c"
+#line 16213 "Page.c"
}
-#line 2641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2661 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2661 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2663 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2663 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16120 "Page.c"
+#line 16223 "Page.c"
}
static void drag_and_drop_handler_on_export_completed (DragAndDropHandler* self) {
-#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2666 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2667 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2667 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 16131 "Page.c"
+#line 16234 "Page.c"
}
static void value_drag_and_drop_handler_init (GValue* value) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16138 "Page.c"
+#line 16241 "Page.c"
}
static void value_drag_and_drop_handler_free_value (GValue* value) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (value->data[0].v_pointer) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (value->data[0].v_pointer);
-#line 16147 "Page.c"
+#line 16250 "Page.c"
}
}
static void value_drag_and_drop_handler_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (src_value->data[0].v_pointer) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = drag_and_drop_handler_ref (src_value->data[0].v_pointer);
-#line 16157 "Page.c"
+#line 16260 "Page.c"
} else {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = NULL;
-#line 16161 "Page.c"
+#line 16264 "Page.c"
}
}
static gpointer value_drag_and_drop_handler_peek_pointer (const GValue* value) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16169 "Page.c"
+#line 16272 "Page.c"
}
static gchar* value_drag_and_drop_handler_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
-#line 16176 "Page.c"
- DragAndDropHandler* object;
+#line 16279 "Page.c"
+ DragAndDropHandler * object;
object = collect_values[0].v_pointer;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 16183 "Page.c"
+#line 16286 "Page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 16187 "Page.c"
+#line 16290 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = drag_and_drop_handler_ref (object);
-#line 16191 "Page.c"
+#line 16294 "Page.c"
} else {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16195 "Page.c"
+#line 16298 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16199 "Page.c"
+#line 16302 "Page.c"
}
static gchar* value_drag_and_drop_handler_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- DragAndDropHandler** object_p;
+ DragAndDropHandler ** object_p;
object_p = collect_values[0].v_pointer;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (!object_p) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 16210 "Page.c"
+#line 16313 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (!value->data[0].v_pointer) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = NULL;
-#line 16216 "Page.c"
+#line 16319 "Page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = value->data[0].v_pointer;
-#line 16220 "Page.c"
+#line 16323 "Page.c"
} else {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16224 "Page.c"
+#line 16327 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16228 "Page.c"
+#line 16331 "Page.c"
}
GParamSpec* param_spec_drag_and_drop_handler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecDragAndDropHandler* spec;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_DRAG_AND_DROP_HANDLER), NULL);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return G_PARAM_SPEC (spec);
-#line 16242 "Page.c"
+#line 16345 "Page.c"
}
gpointer value_get_drag_and_drop_handler (const GValue* value) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER), NULL);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16251 "Page.c"
+#line 16354 "Page.c"
}
void value_set_drag_and_drop_handler (GValue* value, gpointer v_object) {
- DragAndDropHandler* old;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+ DragAndDropHandler * old;
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16271 "Page.c"
+#line 16374 "Page.c"
} else {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16275 "Page.c"
+#line 16378 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16281 "Page.c"
+#line 16384 "Page.c"
}
}
void value_take_drag_and_drop_handler (GValue* value, gpointer v_object) {
- DragAndDropHandler* old;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+ DragAndDropHandler * old;
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 16300 "Page.c"
+#line 16403 "Page.c"
} else {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16304 "Page.c"
+#line 16407 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16310 "Page.c"
+#line 16413 "Page.c"
}
}
static void drag_and_drop_handler_class_init (DragAndDropHandlerClass * klass) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_parent_class = g_type_class_peek_parent (klass);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
((DragAndDropHandlerClass *) klass)->finalize = drag_and_drop_handler_finalize;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (DragAndDropHandlerPrivate));
-#line 16322 "Page.c"
+#line 16425 "Page.c"
}
static void drag_and_drop_handler_instance_init (DragAndDropHandler * self) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = DRAG_AND_DROP_HANDLER_GET_PRIVATE (self);
-#line 2492 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2493 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2513 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
self->ref_count = 1;
-#line 16335 "Page.c"
+#line 16438 "Page.c"
}
-static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) {
+static void drag_and_drop_handler_finalize (DragAndDropHandler * obj) {
DragAndDropHandler * self;
- GtkWidget* _tmp0_ = NULL;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+ GtkWidget* _tmp0_;
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DRAG_AND_DROP_HANDLER, DragAndDropHandler);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_destroy (self);
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 16350 "Page.c"
- GtkWidget* _tmp1_ = NULL;
- guint _tmp2_ = 0U;
- GtkWidget* _tmp3_ = NULL;
- guint _tmp4_ = 0U;
- GtkWidget* _tmp5_ = NULL;
- guint _tmp6_ = 0U;
- GtkWidget* _tmp7_ = NULL;
- guint _tmp8_ = 0U;
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 16453 "Page.c"
+ GtkWidget* _tmp1_;
+ guint _tmp2_;
+ GtkWidget* _tmp3_;
+ guint _tmp4_;
+ GtkWidget* _tmp5_;
+ guint _tmp6_;
+ GtkWidget* _tmp7_;
+ guint _tmp8_;
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp2_, NULL, FALSE);
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp6_, NULL, FALSE);
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp8_, NULL, FALSE);
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self);
-#line 16383 "Page.c"
+#line 16486 "Page.c"
}
-#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page = NULL;
-#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = NULL;
-#line 2491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2511 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2492 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2493 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2513 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 16397 "Page.c"
+#line 16500 "Page.c"
}
@@ -16412,26 +16515,26 @@ GType drag_and_drop_handler_get_type (void) {
gpointer drag_and_drop_handler_ref (gpointer instance) {
- DragAndDropHandler* self;
+ DragAndDropHandler * self;
self = instance;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_atomic_int_inc (&self->ref_count);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return instance;
-#line 16422 "Page.c"
+#line 16525 "Page.c"
}
void drag_and_drop_handler_unref (gpointer instance) {
- DragAndDropHandler* self;
+ DragAndDropHandler * self;
self = instance;
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
DRAG_AND_DROP_HANDLER_GET_CLASS (self)->finalize (self);
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 16435 "Page.c"
+#line 16538 "Page.c"
}
}