summaryrefslogtreecommitdiff
path: root/src/MediaPage.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
commitf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch)
treea1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/MediaPage.c
parentf8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff)
parentede50c561ec9811704821a9ea0f04c3d6c20b5af (diff)
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'src/MediaPage.c')
-rw-r--r--src/MediaPage.c2853
1 files changed, 1426 insertions, 1427 deletions
diff --git a/src/MediaPage.c b/src/MediaPage.c
index a6f60b1..7dd7c65 100644
--- a/src/MediaPage.c
+++ b/src/MediaPage.c
@@ -1,4 +1,4 @@
-/* MediaPage.c generated by valac 0.34.7, the Vala compiler
+/* MediaPage.c generated by valac 0.36.6, the Vala compiler
* generated from MediaPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -652,6 +652,11 @@ typedef struct _SetRawDeveloperCommandClass SetRawDeveloperCommandClass;
typedef struct _CheckerboardLayout CheckerboardLayout;
typedef struct _CheckerboardLayoutClass CheckerboardLayoutClass;
typedef struct _MediaPageZoomSliderAssemblyPrivate MediaPageZoomSliderAssemblyPrivate;
+enum {
+ MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_ZOOM_CHANGED_SIGNAL,
+ MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_LAST_SIGNAL
+};
+static guint media_page_zoom_slider_assembly_signals[MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_LAST_SIGNAL] = {0};
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
@@ -1013,7 +1018,7 @@ void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gbo
gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self);
gchar* natural_collate_collate_key (gchar* str);
gchar* checkerboard_item_get_title (CheckerboardItem* self);
-static void media_source_item_finalize (GObject* obj);
+static void media_source_item_finalize (GObject * 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;
@@ -1441,8 +1446,8 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_in_pressed_gtk_widget_b
gint media_page_zoom_slider_assembly_slider_to_scale (gdouble value);
void media_page_zoom_slider_assembly_snap_to_min (MediaPageZoomSliderAssembly* self);
void media_page_zoom_slider_assembly_snap_to_max (MediaPageZoomSliderAssembly* self);
-static void media_page_zoom_slider_assembly_finalize (GObject* obj);
-static void media_page_finalize (GObject* obj);
+static void media_page_zoom_slider_assembly_finalize (GObject * obj);
+static void media_page_finalize (GObject * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
@@ -1450,13 +1455,13 @@ static const GActionEntry MEDIA_PAGE_entries[30] = {{"Export", _media_page_on_ex
MediaSourceItem* media_source_item_construct (GType object_type, ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment) {
MediaSourceItem * self = NULL;
- ThumbnailSource* _tmp0_ = NULL;
- Dimensions _tmp1_ = {0};
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- PangoAlignment _tmp5_ = 0;
- GdkPixbuf* _tmp6_ = NULL;
+ ThumbnailSource* _tmp0_;
+ Dimensions _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ PangoAlignment _tmp5_;
+ GdkPixbuf* _tmp6_;
#line 16 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (source), NULL);
#line 16 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1481,39 +1486,39 @@ MediaSourceItem* media_source_item_construct (GType object_type, ThumbnailSource
_tmp6_ = media_source_item_basis_sprocket_pixbuf;
#line 19 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp6_ == NULL) {
-#line 1485 "MediaPage.c"
- GdkPixbuf* _tmp7_ = NULL;
+#line 1490 "MediaPage.c"
+ GdkPixbuf* _tmp7_;
#line 20 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = resources_load_icon ("sprocket.png", 0);
#line 20 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_source_item_basis_sprocket_pixbuf);
#line 20 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_source_item_basis_sprocket_pixbuf = _tmp7_;
-#line 1493 "MediaPage.c"
+#line 1498 "MediaPage.c"
}
#line 16 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self;
-#line 1497 "MediaPage.c"
+#line 1502 "MediaPage.c"
}
MediaSourceItem* media_source_item_new (ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment) {
#line 16 "/home/jens/Source/shotwell/src/MediaPage.vala"
return media_source_item_construct (TYPE_MEDIA_SOURCE_ITEM, source, initial_pixbuf_dim, title, comment, marked_up, alignment);
-#line 1504 "MediaPage.c"
+#line 1509 "MediaPage.c"
}
static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin) {
MediaSourceItem * self;
Dimensions pixbuf_dim = {0};
- GdkPixbuf* _tmp0_ = NULL;
+ GdkPixbuf* _tmp0_;
Dimensions _tmp1_ = {0};
- gboolean _tmp2_ = FALSE;
- cairo_t* _tmp21_ = NULL;
- GdkPixbuf* _tmp22_ = NULL;
- GdkPoint _tmp23_ = {0};
- gboolean _tmp24_ = FALSE;
+ gboolean _tmp2_;
+ cairo_t* _tmp21_;
+ GdkPixbuf* _tmp22_;
+ GdkPoint _tmp23_;
+ gboolean _tmp24_;
#line 23 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_SOURCE_ITEM, MediaSourceItem);
#line 23 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1534,20 +1539,20 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
if (!_tmp2_) {
#line 31 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_item_set_horizontal_trinket_offset (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), 0);
-#line 1538 "MediaPage.c"
+#line 1543 "MediaPage.c"
} else {
gdouble reduction_factor = 0.0;
- gint _tmp3_ = 0;
+ gint _tmp3_;
gint reduced_size = 0;
- gdouble _tmp4_ = 0.0;
- GdkPixbuf* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ gdouble _tmp4_;
+ GdkPixbuf* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
gboolean _tmp8_ = FALSE;
- GdkPixbuf* _tmp9_ = NULL;
- GdkPixbuf* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
+ GdkPixbuf* _tmp9_;
+ GdkPixbuf* _tmp18_;
+ gint _tmp19_;
+ gint _tmp20_;
#line 33 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = dimensions_major_axis (&pixbuf_dim);
#line 33 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1568,12 +1573,12 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
if (_tmp9_ == NULL) {
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = TRUE;
-#line 1572 "MediaPage.c"
+#line 1577 "MediaPage.c"
} else {
- gint _tmp10_ = 0;
- GdkPixbuf* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ gint _tmp10_;
+ GdkPixbuf* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = reduced_size;
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1584,15 +1589,15 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
_tmp13_ = _tmp12_;
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp10_ != _tmp13_;
-#line 1588 "MediaPage.c"
+#line 1593 "MediaPage.c"
}
#line 37 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp8_) {
-#line 1592 "MediaPage.c"
- GdkPixbuf* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
- GdkPixbuf* _tmp17_ = NULL;
+#line 1597 "MediaPage.c"
+ GdkPixbuf* _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
+ GdkPixbuf* _tmp17_;
#line 38 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = media_source_item_basis_sprocket_pixbuf;
#line 38 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1605,7 +1610,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
_g_object_unref0 (media_source_item_current_sprocket_pixbuf);
#line 38 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_source_item_current_sprocket_pixbuf = _tmp17_;
-#line 1609 "MediaPage.c"
+#line 1614 "MediaPage.c"
}
#line 42 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = media_source_item_current_sprocket_pixbuf;
@@ -1615,7 +1620,7 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
_tmp20_ = _tmp19_;
#line 42 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_item_set_horizontal_trinket_offset (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp20_);
-#line 1619 "MediaPage.c"
+#line 1624 "MediaPage.c"
}
#line 45 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = ctx;
@@ -1629,10 +1634,10 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
_tmp24_ = self->priv->enable_sprockets;
#line 47 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_) {
-#line 1633 "MediaPage.c"
- cairo_t* _tmp25_ = NULL;
- GdkPoint _tmp26_ = {0};
- Dimensions _tmp27_ = {0};
+#line 1638 "MediaPage.c"
+ cairo_t* _tmp25_;
+ GdkPoint _tmp26_;
+ Dimensions _tmp27_;
#line 48 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = ctx;
#line 48 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1641,21 +1646,21 @@ static void media_source_item_real_paint_image (CheckerboardItem* base, cairo_t*
_tmp27_ = pixbuf_dim;
#line 48 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_source_item_paint_sprockets (self, _tmp25_, &_tmp26_, &_tmp27_);
-#line 1645 "MediaPage.c"
+#line 1650 "MediaPage.c"
}
}
void media_source_item_paint_one_sprocket (MediaSourceItem* self, cairo_t* ctx, GdkPoint* origin) {
- cairo_t* _tmp0_ = NULL;
- cairo_t* _tmp1_ = NULL;
- GdkPixbuf* _tmp2_ = NULL;
- GdkPoint _tmp3_ = {0};
- gint _tmp4_ = 0;
- GdkPoint _tmp5_ = {0};
- gint _tmp6_ = 0;
- cairo_t* _tmp7_ = NULL;
- cairo_t* _tmp8_ = NULL;
+ cairo_t* _tmp0_;
+ cairo_t* _tmp1_;
+ GdkPixbuf* _tmp2_;
+ GdkPoint _tmp3_;
+ gint _tmp4_;
+ GdkPoint _tmp5_;
+ gint _tmp6_;
+ cairo_t* _tmp7_;
+ cairo_t* _tmp8_;
#line 52 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_SOURCE_ITEM (self));
#line 52 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1688,34 +1693,34 @@ void media_source_item_paint_one_sprocket (MediaSourceItem* self, cairo_t* ctx,
_tmp8_ = ctx;
#line 56 "/home/jens/Source/shotwell/src/MediaPage.vala"
cairo_restore (_tmp8_);
-#line 1692 "MediaPage.c"
+#line 1697 "MediaPage.c"
}
void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, GdkPoint* item_origin, Dimensions* item_dimensions) {
gint num_sprockets = 0;
- Dimensions _tmp0_ = {0};
- gint _tmp1_ = 0;
- GdkPixbuf* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ Dimensions _tmp0_;
+ gint _tmp1_;
+ GdkPixbuf* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
GdkPoint left_paint_location = {0};
- GdkPoint _tmp5_ = {0};
+ GdkPoint _tmp5_;
GdkPoint right_paint_location = {0};
- GdkPoint _tmp6_ = {0};
- gint _tmp7_ = 0;
- Dimensions _tmp8_ = {0};
- gint _tmp9_ = 0;
- GdkPixbuf* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
+ GdkPoint _tmp6_;
+ gint _tmp7_;
+ Dimensions _tmp8_;
+ gint _tmp9_;
+ GdkPixbuf* _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
gint straggler_pixels = 0;
- Dimensions _tmp29_ = {0};
- gint _tmp30_ = 0;
- GdkPixbuf* _tmp31_ = NULL;
- gint _tmp32_ = 0;
- gint _tmp33_ = 0;
- gint _tmp34_ = 0;
+ Dimensions _tmp29_;
+ gint _tmp30_;
+ GdkPixbuf* _tmp31_;
+ gint _tmp32_;
+ gint _tmp33_;
+ gint _tmp34_;
#line 59 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_SOURCE_ITEM (self));
#line 59 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1758,42 +1763,42 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
_tmp12_ = _tmp11_;
#line 65 "/home/jens/Source/shotwell/src/MediaPage.vala"
right_paint_location.x = _tmp7_ + (_tmp9_ - _tmp12_);
-#line 1762 "MediaPage.c"
+#line 1767 "MediaPage.c"
{
gint i = 0;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
i = 0;
-#line 1767 "MediaPage.c"
+#line 1772 "MediaPage.c"
{
gboolean _tmp13_ = FALSE;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = TRUE;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 1774 "MediaPage.c"
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
- cairo_t* _tmp17_ = NULL;
- GdkPoint _tmp18_ = {0};
- cairo_t* _tmp19_ = NULL;
- GdkPoint _tmp20_ = {0};
- gint _tmp21_ = 0;
- GdkPixbuf* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- GdkPixbuf* _tmp26_ = NULL;
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
+#line 1779 "MediaPage.c"
+ gint _tmp15_;
+ gint _tmp16_;
+ cairo_t* _tmp17_;
+ GdkPoint _tmp18_;
+ cairo_t* _tmp19_;
+ GdkPoint _tmp20_;
+ gint _tmp21_;
+ GdkPixbuf* _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ GdkPixbuf* _tmp26_;
+ gint _tmp27_;
+ gint _tmp28_;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (!_tmp13_) {
-#line 1791 "MediaPage.c"
- gint _tmp14_ = 0;
+#line 1796 "MediaPage.c"
+ gint _tmp14_;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = i;
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
i = _tmp14_ + 1;
-#line 1797 "MediaPage.c"
+#line 1802 "MediaPage.c"
}
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = FALSE;
@@ -1805,7 +1810,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
if (!(_tmp15_ < _tmp16_)) {
#line 66 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 1809 "MediaPage.c"
+#line 1814 "MediaPage.c"
}
#line 67 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = ctx;
@@ -1839,7 +1844,7 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
_tmp28_ = _tmp27_;
#line 71 "/home/jens/Source/shotwell/src/MediaPage.vala"
right_paint_location.y = _tmp25_ + _tmp28_;
-#line 1843 "MediaPage.c"
+#line 1848 "MediaPage.c"
}
}
}
@@ -1859,39 +1864,39 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
_tmp34_ = straggler_pixels;
#line 75 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp34_ > 0) {
-#line 1863 "MediaPage.c"
- cairo_t* _tmp35_ = NULL;
- cairo_t* _tmp36_ = NULL;
- GdkPixbuf* _tmp37_ = NULL;
- GdkPoint _tmp38_ = {0};
- gint _tmp39_ = 0;
- GdkPoint _tmp40_ = {0};
- gint _tmp41_ = 0;
- cairo_t* _tmp42_ = NULL;
- GdkPoint _tmp43_ = {0};
- gint _tmp44_ = 0;
- GdkPoint _tmp45_ = {0};
- gint _tmp46_ = 0;
- GdkPixbuf* _tmp47_ = NULL;
- gint _tmp48_ = 0;
- gint _tmp49_ = 0;
- cairo_t* _tmp50_ = NULL;
- cairo_t* _tmp51_ = NULL;
- GdkPixbuf* _tmp52_ = NULL;
- GdkPoint _tmp53_ = {0};
- gint _tmp54_ = 0;
- GdkPoint _tmp55_ = {0};
- gint _tmp56_ = 0;
- cairo_t* _tmp57_ = NULL;
- GdkPoint _tmp58_ = {0};
- gint _tmp59_ = 0;
- GdkPoint _tmp60_ = {0};
- gint _tmp61_ = 0;
- GdkPixbuf* _tmp62_ = NULL;
- gint _tmp63_ = 0;
- gint _tmp64_ = 0;
- cairo_t* _tmp65_ = NULL;
- cairo_t* _tmp66_ = NULL;
+#line 1868 "MediaPage.c"
+ cairo_t* _tmp35_;
+ cairo_t* _tmp36_;
+ GdkPixbuf* _tmp37_;
+ GdkPoint _tmp38_;
+ gint _tmp39_;
+ GdkPoint _tmp40_;
+ gint _tmp41_;
+ cairo_t* _tmp42_;
+ GdkPoint _tmp43_;
+ gint _tmp44_;
+ GdkPoint _tmp45_;
+ gint _tmp46_;
+ GdkPixbuf* _tmp47_;
+ gint _tmp48_;
+ gint _tmp49_;
+ cairo_t* _tmp50_;
+ cairo_t* _tmp51_;
+ GdkPixbuf* _tmp52_;
+ GdkPoint _tmp53_;
+ gint _tmp54_;
+ GdkPoint _tmp55_;
+ gint _tmp56_;
+ cairo_t* _tmp57_;
+ GdkPoint _tmp58_;
+ gint _tmp59_;
+ GdkPoint _tmp60_;
+ gint _tmp61_;
+ GdkPixbuf* _tmp62_;
+ gint _tmp63_;
+ gint _tmp64_;
+ cairo_t* _tmp65_;
+ cairo_t* _tmp66_;
#line 76 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp35_ = ctx;
#line 76 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -1972,27 +1977,27 @@ void media_source_item_paint_sprockets (MediaSourceItem* self, cairo_t* ctx, Gdk
_tmp66_ = ctx;
#line 90 "/home/jens/Source/shotwell/src/MediaPage.vala"
cairo_restore (_tmp66_);
-#line 1976 "MediaPage.c"
+#line 1981 "MediaPage.c"
}
}
void media_source_item_set_enable_sprockets (MediaSourceItem* self, gboolean enable_sprockets) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 94 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_SOURCE_ITEM (self));
#line 95 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = enable_sprockets;
#line 95 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->enable_sprockets = _tmp0_;
-#line 1989 "MediaPage.c"
+#line 1994 "MediaPage.c"
}
void media_source_item_set_title (MediaSourceItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment) {
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- PangoAlignment _tmp2_ = 0;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
+ PangoAlignment _tmp2_;
#line 98 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_SOURCE_ITEM (self));
#line 98 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2009,24 +2014,24 @@ void media_source_item_set_title (MediaSourceItem* self, const gchar* text, gboo
_g_free0 (self->priv->natural_collation_key);
#line 101 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->natural_collation_key = NULL;
-#line 2013 "MediaPage.c"
+#line 2018 "MediaPage.c"
}
gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
#line 104 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE_ITEM (self), NULL);
#line 105 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->natural_collation_key;
#line 105 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ == NULL) {
-#line 2028 "MediaPage.c"
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+#line 2033 "MediaPage.c"
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = checkerboard_item_get_title (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
#line 106 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2035,7 +2040,7 @@ gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) {
_g_free0 (self->priv->natural_collation_key);
#line 106 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->natural_collation_key = _tmp2_;
-#line 2039 "MediaPage.c"
+#line 2044 "MediaPage.c"
}
#line 108 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = self->priv->natural_collation_key;
@@ -2045,7 +2050,7 @@ gchar* media_source_item_get_natural_collation_key (MediaSourceItem* self) {
result = _tmp4_;
#line 108 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 2049 "MediaPage.c"
+#line 2054 "MediaPage.c"
}
@@ -2055,10 +2060,10 @@ static void media_source_item_class_init (MediaSourceItemClass * klass) {
#line 7 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_type_class_add_private (klass, sizeof (MediaSourceItemPrivate));
#line 7 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((CheckerboardItemClass *) klass)->paint_image = (void (*)(CheckerboardItem*, cairo_t*, GdkPixbuf*, GdkPoint*)) media_source_item_real_paint_image;
+ ((CheckerboardItemClass *) klass)->paint_image = (void (*) (CheckerboardItem *, cairo_t*, GdkPixbuf*, GdkPoint*)) media_source_item_real_paint_image;
#line 7 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (klass)->finalize = media_source_item_finalize;
-#line 2062 "MediaPage.c"
+#line 2067 "MediaPage.c"
}
@@ -2069,11 +2074,11 @@ static void media_source_item_instance_init (MediaSourceItem * self) {
self->priv->enable_sprockets = FALSE;
#line 12 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->natural_collation_key = NULL;
-#line 2073 "MediaPage.c"
+#line 2078 "MediaPage.c"
}
-static void media_source_item_finalize (GObject* obj) {
+static void media_source_item_finalize (GObject * obj) {
MediaSourceItem * self;
#line 7 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MEDIA_SOURCE_ITEM, MediaSourceItem);
@@ -2081,7 +2086,7 @@ static void media_source_item_finalize (GObject* obj) {
_g_free0 (self->priv->natural_collation_key);
#line 7 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (media_source_item_parent_class)->finalize (obj);
-#line 2085 "MediaPage.c"
+#line 2090 "MediaPage.c"
}
@@ -2112,254 +2117,254 @@ GType media_page_sort_by_get_type (void) {
static void _media_page_on_export_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_export ((MediaPage*) self);
-#line 2116 "MediaPage.c"
+#line 2121 "MediaPage.c"
}
static void _media_page_on_send_to_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_send_to ((MediaPage*) self);
-#line 2123 "MediaPage.c"
+#line 2128 "MediaPage.c"
}
static void _media_page_on_remove_from_library_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_remove_from_library ((MediaPage*) self);
-#line 2130 "MediaPage.c"
+#line 2135 "MediaPage.c"
}
static void _media_page_on_move_to_trash_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_move_to_trash ((MediaPage*) self);
-#line 2137 "MediaPage.c"
+#line 2142 "MediaPage.c"
}
static void _media_page_on_new_event_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_new_event ((MediaPage*) self);
-#line 2144 "MediaPage.c"
+#line 2149 "MediaPage.c"
}
static void _media_page_on_add_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_add_tags ((MediaPage*) self);
-#line 2151 "MediaPage.c"
+#line 2156 "MediaPage.c"
}
static void _media_page_on_modify_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_modify_tags ((MediaPage*) self);
-#line 2158 "MediaPage.c"
+#line 2163 "MediaPage.c"
}
static void _media_page_on_increase_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_increase_size ((MediaPage*) self);
-#line 2165 "MediaPage.c"
+#line 2170 "MediaPage.c"
}
static void _media_page_on_decrease_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_decrease_size ((MediaPage*) self);
-#line 2172 "MediaPage.c"
+#line 2177 "MediaPage.c"
}
static void _media_page_on_flag_unflag_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_flag_unflag ((MediaPage*) self);
-#line 2179 "MediaPage.c"
+#line 2184 "MediaPage.c"
}
static void _media_page_on_increase_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_increase_rating ((MediaPage*) self);
-#line 2186 "MediaPage.c"
+#line 2191 "MediaPage.c"
}
static void _media_page_on_decrease_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_decrease_rating ((MediaPage*) self);
-#line 2193 "MediaPage.c"
+#line 2198 "MediaPage.c"
}
static void _media_page_on_rate_rejected_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_rejected ((MediaPage*) self);
-#line 2200 "MediaPage.c"
+#line 2205 "MediaPage.c"
}
static void _media_page_on_rate_unrated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_unrated ((MediaPage*) self);
-#line 2207 "MediaPage.c"
+#line 2212 "MediaPage.c"
}
static void _media_page_on_rate_one_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_one ((MediaPage*) self);
-#line 2214 "MediaPage.c"
+#line 2219 "MediaPage.c"
}
static void _media_page_on_rate_two_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_two ((MediaPage*) self);
-#line 2221 "MediaPage.c"
+#line 2226 "MediaPage.c"
}
static void _media_page_on_rate_three_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_three ((MediaPage*) self);
-#line 2228 "MediaPage.c"
+#line 2233 "MediaPage.c"
}
static void _media_page_on_rate_four_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_four ((MediaPage*) self);
-#line 2235 "MediaPage.c"
+#line 2240 "MediaPage.c"
}
static void _media_page_on_rate_five_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_rate_five ((MediaPage*) self);
-#line 2242 "MediaPage.c"
+#line 2247 "MediaPage.c"
}
static void _media_page_on_edit_title_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_edit_title ((MediaPage*) self);
-#line 2249 "MediaPage.c"
+#line 2254 "MediaPage.c"
}
static void _media_page_on_edit_comment_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_edit_comment ((MediaPage*) self);
-#line 2256 "MediaPage.c"
+#line 2261 "MediaPage.c"
}
static void _media_page_on_play_video_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_play_video ((MediaPage*) self);
-#line 2263 "MediaPage.c"
+#line 2268 "MediaPage.c"
}
static void _page_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_on_action_toggle ((Page*) self, action, parameter);
-#line 2270 "MediaPage.c"
+#line 2275 "MediaPage.c"
}
static void _media_page_on_display_titles_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_display_titles ((MediaPage*) self, action, value);
-#line 2277 "MediaPage.c"
+#line 2282 "MediaPage.c"
}
static void _media_page_on_display_comments_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_display_comments ((MediaPage*) self, action, value);
-#line 2284 "MediaPage.c"
+#line 2289 "MediaPage.c"
}
static void _media_page_on_display_ratings_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_display_ratings ((MediaPage*) self, action, value);
-#line 2291 "MediaPage.c"
+#line 2296 "MediaPage.c"
}
static void _media_page_on_display_tags_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_display_tags ((MediaPage*) self, action, value);
-#line 2298 "MediaPage.c"
+#line 2303 "MediaPage.c"
}
static void _page_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_on_action_radio ((Page*) self, action, parameter);
-#line 2305 "MediaPage.c"
+#line 2310 "MediaPage.c"
}
static void _media_page_on_sort_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 286 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_sort_changed ((MediaPage*) self, action, value);
-#line 2312 "MediaPage.c"
+#line 2317 "MediaPage.c"
}
static void _media_page_on_media_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 252 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_media_altered ((MediaPage*) self, items);
-#line 2319 "MediaPage.c"
+#line 2324 "MediaPage.c"
}
MediaPage* media_page_construct (GType object_type, const gchar* page_name) {
MediaPage * self = NULL;
- const gchar* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- MediaViewTracker* _tmp3_ = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- ConfigFacade* _tmp10_ = NULL;
- ConfigFacade* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
+ const gchar* _tmp0_;
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ MediaViewTracker* _tmp3_;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ ConfigFacade* _tmp10_;
+ ConfigFacade* _tmp11_;
+ gboolean _tmp12_;
GValue _tmp13_ = {0};
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ConfigFacade* _tmp16_ = NULL;
- ConfigFacade* _tmp17_ = NULL;
- gboolean _tmp18_ = FALSE;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ ConfigFacade* _tmp16_;
+ ConfigFacade* _tmp17_;
+ gboolean _tmp18_;
GValue _tmp19_ = {0};
- ViewCollection* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- ConfigFacade* _tmp22_ = NULL;
- ConfigFacade* _tmp23_ = NULL;
- gboolean _tmp24_ = FALSE;
+ ViewCollection* _tmp20_;
+ ViewCollection* _tmp21_;
+ ConfigFacade* _tmp22_;
+ ConfigFacade* _tmp23_;
+ gboolean _tmp24_;
GValue _tmp25_ = {0};
- ViewCollection* _tmp26_ = NULL;
- ViewCollection* _tmp27_ = NULL;
- gint _tmp28_ = 0;
+ ViewCollection* _tmp26_;
+ ViewCollection* _tmp27_;
+ gint _tmp28_;
GValue _tmp29_ = {0};
- ViewCollection* _tmp30_ = NULL;
- ViewCollection* _tmp31_ = NULL;
- ConfigFacade* _tmp32_ = NULL;
- ConfigFacade* _tmp33_ = NULL;
- gboolean _tmp34_ = FALSE;
+ ViewCollection* _tmp30_;
+ ViewCollection* _tmp31_;
+ ConfigFacade* _tmp32_;
+ ConfigFacade* _tmp33_;
+ gboolean _tmp34_;
GValue _tmp35_ = {0};
- ViewCollection* _tmp36_ = NULL;
- ViewCollection* _tmp37_ = NULL;
- DragAndDropHandler* _tmp38_ = NULL;
+ ViewCollection* _tmp36_;
+ ViewCollection* _tmp37_;
+ DragAndDropHandler* _tmp38_;
#line 247 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (page_name != NULL, NULL);
#line 248 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2514,19 +2519,19 @@ MediaPage* media_page_construct (GType object_type, const gchar* page_name) {
self->priv->dnd_handler = _tmp38_;
#line 247 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self;
-#line 2518 "MediaPage.c"
+#line 2523 "MediaPage.c"
}
static gint media_page_compute_zoom_scale_increase (gint current_scale) {
gint result = 0;
gint new_scale = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
#line 271 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = current_scale;
#line 271 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2545,19 +2550,19 @@ static gint media_page_compute_zoom_scale_increase (gint current_scale) {
result = _tmp5_;
#line 272 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 2549 "MediaPage.c"
+#line 2554 "MediaPage.c"
}
static gint media_page_compute_zoom_scale_decrease (gint current_scale) {
gint result = 0;
gint new_scale = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
#line 276 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = current_scale;
#line 276 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2576,14 +2581,14 @@ static gint media_page_compute_zoom_scale_decrease (gint current_scale) {
result = _tmp5_;
#line 277 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 2580 "MediaPage.c"
+#line 2585 "MediaPage.c"
}
static void media_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_filenames) {
MediaPage * self;
- GeeList* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
+ GeeList* _tmp0_;
+ GeeList* _tmp1_;
#line 280 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 280 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2596,122 +2601,122 @@ static void media_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_f
_tmp1_ = ui_filenames;
#line 283 "/home/jens/Source/shotwell/src/MediaPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "media.ui");
-#line 2600 "MediaPage.c"
+#line 2605 "MediaPage.c"
}
static GVariant* _variant_new23 (gboolean value) {
#line 331 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 2607 "MediaPage.c"
+#line 2612 "MediaPage.c"
}
static GVariant* _variant_new24 (gboolean value) {
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 2614 "MediaPage.c"
+#line 2619 "MediaPage.c"
}
static GVariant* _variant_new25 (gboolean value) {
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 2621 "MediaPage.c"
+#line 2626 "MediaPage.c"
}
static GVariant* _variant_new26 (gboolean value) {
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 2628 "MediaPage.c"
+#line 2633 "MediaPage.c"
}
static GVariant* _variant_new27 (gchar* value) {
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 2635 "MediaPage.c"
+#line 2640 "MediaPage.c"
}
static GVariant* _variant_new28 (const gchar* value) {
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 2642 "MediaPage.c"
+#line 2647 "MediaPage.c"
}
static GVariant* _variant_new29 (const gchar* value) {
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 2649 "MediaPage.c"
+#line 2654 "MediaPage.c"
}
static void _media_page_on_raw_developer_changed_g_simple_action_change_state (GSimpleAction* _sender, GVariant* value, gpointer self) {
#line 341 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_raw_developer_changed ((MediaPage*) self, _sender, value);
-#line 2656 "MediaPage.c"
+#line 2661 "MediaPage.c"
}
static void media_page_real_add_actions (Page* base, GActionMap* map) {
MediaPage * self;
- GActionMap* _tmp0_ = NULL;
+ GActionMap* _tmp0_;
gboolean sort_order = FALSE;
gint sort_by = 0;
gboolean _tmp1_ = FALSE;
gint _tmp2_ = 0;
- GActionMap* _tmp3_ = NULL;
- GAction* _tmp4_ = NULL;
- GAction* _tmp5_ = NULL;
- ConfigFacade* _tmp6_ = NULL;
- ConfigFacade* _tmp7_ = NULL;
- gboolean _tmp8_ = FALSE;
- GVariant* _tmp9_ = NULL;
- GAction* _tmp10_ = NULL;
- GAction* _tmp11_ = NULL;
- ConfigFacade* _tmp12_ = NULL;
- ConfigFacade* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
- GVariant* _tmp15_ = NULL;
- GAction* _tmp16_ = NULL;
- GAction* _tmp17_ = NULL;
- ConfigFacade* _tmp18_ = NULL;
- ConfigFacade* _tmp19_ = NULL;
- gboolean _tmp20_ = FALSE;
- GVariant* _tmp21_ = NULL;
- GAction* _tmp22_ = NULL;
- GAction* _tmp23_ = NULL;
- ConfigFacade* _tmp24_ = NULL;
- ConfigFacade* _tmp25_ = NULL;
- gboolean _tmp26_ = FALSE;
- GVariant* _tmp27_ = NULL;
- GAction* _tmp28_ = NULL;
- GAction* _tmp29_ = NULL;
- gint _tmp30_ = 0;
- gchar* _tmp31_ = NULL;
- gchar* _tmp32_ = NULL;
- GVariant* _tmp33_ = NULL;
+ GActionMap* _tmp3_;
+ GAction* _tmp4_;
+ GAction* _tmp5_;
+ ConfigFacade* _tmp6_;
+ ConfigFacade* _tmp7_;
+ gboolean _tmp8_;
+ GVariant* _tmp9_;
+ GAction* _tmp10_;
+ GAction* _tmp11_;
+ ConfigFacade* _tmp12_;
+ ConfigFacade* _tmp13_;
+ gboolean _tmp14_;
+ GVariant* _tmp15_;
+ GAction* _tmp16_;
+ GAction* _tmp17_;
+ ConfigFacade* _tmp18_;
+ ConfigFacade* _tmp19_;
+ gboolean _tmp20_;
+ GVariant* _tmp21_;
+ GAction* _tmp22_;
+ GAction* _tmp23_;
+ ConfigFacade* _tmp24_;
+ ConfigFacade* _tmp25_;
+ gboolean _tmp26_;
+ GVariant* _tmp27_;
+ GAction* _tmp28_;
+ GAction* _tmp29_;
+ gint _tmp30_;
+ gchar* _tmp31_;
+ gchar* _tmp32_;
+ GVariant* _tmp33_;
const gchar* _tmp34_ = NULL;
- gboolean _tmp35_ = FALSE;
- GAction* _tmp36_ = NULL;
- GAction* _tmp37_ = NULL;
- GVariant* _tmp38_ = NULL;
+ gboolean _tmp35_;
+ GAction* _tmp36_;
+ GAction* _tmp37_;
+ GVariant* _tmp38_;
RawDeveloper d = 0;
- ConfigFacade* _tmp39_ = NULL;
- ConfigFacade* _tmp40_ = NULL;
- RawDeveloper _tmp41_ = 0;
- RawDeveloper _tmp42_ = 0;
+ ConfigFacade* _tmp39_;
+ ConfigFacade* _tmp40_;
+ RawDeveloper _tmp41_;
+ RawDeveloper _tmp42_;
const gchar* _tmp43_ = NULL;
- RawDeveloper _tmp44_ = 0;
+ RawDeveloper _tmp44_;
GSimpleAction* action = NULL;
- const GVariantType* _tmp45_ = NULL;
- GVariant* _tmp46_ = NULL;
- GSimpleAction* _tmp47_ = NULL;
- GSimpleAction* _tmp48_ = NULL;
- GActionMap* _tmp49_ = NULL;
+ const GVariantType* _tmp45_;
+ GVariant* _tmp46_;
+ GSimpleAction* _tmp47_;
+ GSimpleAction* _tmp48_;
+ GActionMap* _tmp49_;
#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2836,11 +2841,11 @@ static void media_page_real_add_actions (Page* base, GActionMap* map) {
if (_tmp35_) {
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp34_ = "ascending";
-#line 2840 "MediaPage.c"
+#line 2845 "MediaPage.c"
} else {
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp34_ = "descending";
-#line 2844 "MediaPage.c"
+#line 2849 "MediaPage.c"
}
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp36_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort");
@@ -2872,11 +2877,11 @@ static void media_page_real_add_actions (Page* base, GActionMap* map) {
if (_tmp44_ == RAW_DEVELOPER_SHOTWELL) {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp43_ = "Shotwell";
-#line 2876 "MediaPage.c"
+#line 2881 "MediaPage.c"
} else {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp43_ = "Camera";
-#line 2880 "MediaPage.c"
+#line 2885 "MediaPage.c"
}
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp45_ = G_VARIANT_TYPE_STRING;
@@ -2900,13 +2905,13 @@ static void media_page_real_add_actions (Page* base, GActionMap* map) {
g_action_map_add_action (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (action, g_action_get_type (), GAction));
#line 323 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (action);
-#line 2904 "MediaPage.c"
+#line 2909 "MediaPage.c"
}
static void media_page_real_remove_actions (Page* base, GActionMap* map) {
MediaPage * self;
- GActionMap* _tmp0_ = NULL;
+ GActionMap* _tmp0_;
#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 346 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2915,7 +2920,7 @@ static void media_page_real_remove_actions (Page* base, GActionMap* map) {
_tmp0_ = map;
#line 347 "/home/jens/Source/shotwell/src/MediaPage.vala"
PAGE_CLASS (media_page_parent_class)->remove_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp0_);
-#line 2919 "MediaPage.c"
+#line 2924 "MediaPage.c"
{
GActionEntry* entry_collection = NULL;
gint entry_collection_length1 = 0;
@@ -2927,15 +2932,15 @@ static void media_page_real_remove_actions (Page* base, GActionMap* map) {
entry_collection_length1 = G_N_ELEMENTS (MEDIA_PAGE_entries);
#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
for (entry_it = 0; entry_it < G_N_ELEMENTS (MEDIA_PAGE_entries); entry_it = entry_it + 1) {
-#line 2931 "MediaPage.c"
+#line 2936 "MediaPage.c"
GActionEntry entry = {0};
#line 348 "/home/jens/Source/shotwell/src/MediaPage.vala"
entry = entry_collection[entry_it];
-#line 2935 "MediaPage.c"
+#line 2940 "MediaPage.c"
{
- GActionMap* _tmp1_ = NULL;
- GActionEntry _tmp2_ = {0};
- const gchar* _tmp3_ = NULL;
+ GActionMap* _tmp1_;
+ GActionEntry _tmp2_;
+ const gchar* _tmp3_;
#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = map;
#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2944,7 +2949,7 @@ static void media_page_real_remove_actions (Page* base, GActionMap* map) {
_tmp3_ = _tmp2_.name;
#line 349 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_action_map_remove_action (_tmp1_, _tmp3_);
-#line 2948 "MediaPage.c"
+#line 2953 "MediaPage.c"
}
}
}
@@ -2953,24 +2958,24 @@ static void media_page_real_remove_actions (Page* base, GActionMap* map) {
static void media_page_real_update_actions (Page* base, gint selected_count, gint count) {
MediaPage * self;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
- gboolean _tmp11_ = FALSE;
- gint _tmp13_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
+ gboolean _tmp11_;
+ gint _tmp13_;
gboolean _tmp14_ = FALSE;
- gint _tmp15_ = 0;
- gint _tmp20_ = 0;
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
+ gint _tmp15_;
+ gint _tmp20_;
+ gint _tmp21_;
+ gint _tmp22_;
#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 354 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3013,17 +3018,17 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp11_ = desktop_integration_is_send_to_installed ();
#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp11_) {
-#line 3017 "MediaPage.c"
- gint _tmp12_ = 0;
+#line 3022 "MediaPage.c"
+ gint _tmp12_;
#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = selected_count;
#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", _tmp12_ > 0);
-#line 3023 "MediaPage.c"
+#line 3028 "MediaPage.c"
} else {
#line 365 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", FALSE);
-#line 3027 "MediaPage.c"
+#line 3032 "MediaPage.c"
}
#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = selected_count;
@@ -3037,11 +3042,11 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp15_ = selected_count;
#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_ == 1) {
-#line 3041 "MediaPage.c"
- ViewCollection* _tmp16_ = NULL;
- ViewCollection* _tmp17_ = NULL;
- DataSource* _tmp18_ = NULL;
- DataSource* _tmp19_ = NULL;
+#line 3046 "MediaPage.c"
+ ViewCollection* _tmp16_;
+ ViewCollection* _tmp17_;
+ DataSource* _tmp18_;
+ DataSource* _tmp19_;
#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3056,11 +3061,11 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_g_object_unref0 (_tmp19_);
#line 373 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 3060 "MediaPage.c"
+#line 3065 "MediaPage.c"
} else {
#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = FALSE;
-#line 3064 "MediaPage.c"
+#line 3069 "MediaPage.c"
}
#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PlayVideo", _tmp14_);
@@ -3074,7 +3079,7 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp22_ = count;
#line 377 "/home/jens/Source/shotwell/src/MediaPage.vala"
PAGE_CLASS (media_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp21_, _tmp22_);
-#line 3078 "MediaPage.c"
+#line 3083 "MediaPage.c"
}
@@ -3083,15 +3088,15 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 380 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 3087 "MediaPage.c"
+#line 3092 "MediaPage.c"
{
GeeIterator* _object_it = NULL;
- GeeMap* _tmp0_ = NULL;
- GeeSet* _tmp1_ = NULL;
- GeeSet* _tmp2_ = NULL;
- GeeSet* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
- GeeIterator* _tmp5_ = NULL;
+ GeeMap* _tmp0_;
+ GeeSet* _tmp1_;
+ GeeSet* _tmp2_;
+ GeeSet* _tmp3_;
+ GeeIterator* _tmp4_;
+ GeeIterator* _tmp5_;
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = altered;
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3110,18 +3115,18 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_object_it = _tmp5_;
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3114 "MediaPage.c"
- GeeIterator* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+#line 3119 "MediaPage.c"
+ GeeIterator* _tmp6_;
+ gboolean _tmp7_;
DataObject* object = NULL;
- GeeIterator* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
- GeeMap* _tmp10_ = NULL;
- DataObject* _tmp11_ = NULL;
- gpointer _tmp12_ = NULL;
- Alteration* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
- gboolean _tmp15_ = FALSE;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
+ GeeMap* _tmp10_;
+ DataObject* _tmp11_;
+ gpointer _tmp12_;
+ Alteration* _tmp13_;
+ gboolean _tmp14_;
+ gboolean _tmp15_;
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _object_it;
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3130,7 +3135,7 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
if (!_tmp7_) {
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3134 "MediaPage.c"
+#line 3139 "MediaPage.c"
}
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _object_it;
@@ -3154,10 +3159,10 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_alteration_unref0 (_tmp13_);
#line 382 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 3158 "MediaPage.c"
- ViewCollection* _tmp16_ = NULL;
- ViewCollection* _tmp17_ = NULL;
- gint _tmp18_ = 0;
+#line 3163 "MediaPage.c"
+ ViewCollection* _tmp16_;
+ ViewCollection* _tmp17_;
+ gint _tmp18_;
#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 383 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3172,29 +3177,29 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_g_object_unref0 (object);
#line 385 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3176 "MediaPage.c"
+#line 3181 "MediaPage.c"
}
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (object);
-#line 3180 "MediaPage.c"
+#line 3185 "MediaPage.c"
}
#line 381 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_object_it);
-#line 3184 "MediaPage.c"
+#line 3189 "MediaPage.c"
}
}
static void media_page_update_rating_sensitivities (MediaPage* self) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
- gboolean _tmp8_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+ gboolean _tmp4_;
+ gboolean _tmp5_;
+ gboolean _tmp6_;
+ gboolean _tmp7_;
+ gboolean _tmp8_;
#line 390 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 391 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3233,20 +3238,20 @@ static void media_page_update_rating_sensitivities (MediaPage* self) {
_tmp8_ = media_page_can_decrease_selected_rating (self);
#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating", _tmp8_);
-#line 3237 "MediaPage.c"
+#line 3242 "MediaPage.c"
}
static void media_page_update_development_menu_item_sensitivity (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gboolean _tmp6_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gboolean _tmp6_;
gboolean is_raw = FALSE;
- gboolean _tmp27_ = FALSE;
+ gboolean _tmp27_;
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 403 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3273,21 +3278,21 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", FALSE);
#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 3277 "MediaPage.c"
+#line 3282 "MediaPage.c"
}
#line 409 "/home/jens/Source/shotwell/src/MediaPage.vala"
is_raw = FALSE;
-#line 3281 "MediaPage.c"
+#line 3286 "MediaPage.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp7_ = NULL;
- ViewCollection* _tmp8_ = NULL;
- GeeList* _tmp9_ = NULL;
- GeeList* _tmp10_ = NULL;
+ ViewCollection* _tmp7_;
+ ViewCollection* _tmp8_;
+ GeeList* _tmp9_;
+ GeeList* _tmp10_;
gint _view_size = 0;
- GeeList* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ GeeList* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
gint _view_index = 0;
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -3313,20 +3318,20 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_view_index = -1;
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3317 "MediaPage.c"
- gint _tmp14_ = 0;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+#line 3322 "MediaPage.c"
+ gint _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
DataView* view = NULL;
- GeeList* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gpointer _tmp19_ = NULL;
+ GeeList* _tmp17_;
+ gint _tmp18_;
+ gpointer _tmp19_;
Photo* photo = NULL;
- DataView* _tmp20_ = NULL;
- MediaSource* _tmp21_ = NULL;
- Photo* _tmp22_ = NULL;
+ DataView* _tmp20_;
+ MediaSource* _tmp21_;
+ Photo* _tmp22_;
gboolean _tmp23_ = FALSE;
- Photo* _tmp24_ = NULL;
+ Photo* _tmp24_;
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _view_index;
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3339,7 +3344,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
if (!(_tmp15_ < _tmp16_)) {
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3343 "MediaPage.c"
+#line 3348 "MediaPage.c"
}
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _view_list;
@@ -3359,7 +3364,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
if (_tmp22_ == NULL) {
#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3363 "MediaPage.c"
+#line 3368 "MediaPage.c"
}
#line 411 "/home/jens/Source/shotwell/src/MediaPage.vala"
photo = _tmp22_;
@@ -3367,20 +3372,20 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_tmp24_ = photo;
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 3371 "MediaPage.c"
- Photo* _tmp25_ = NULL;
- PhotoFileFormat _tmp26_ = 0;
+#line 3376 "MediaPage.c"
+ Photo* _tmp25_;
+ PhotoFileFormat _tmp26_;
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = photo;
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = photo_get_master_file_format (_tmp25_);
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp26_ == PHOTO_FILE_FORMAT_RAW;
-#line 3380 "MediaPage.c"
+#line 3385 "MediaPage.c"
} else {
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = FALSE;
-#line 3384 "MediaPage.c"
+#line 3389 "MediaPage.c"
}
#line 412 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp23_) {
@@ -3392,50 +3397,50 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_g_object_unref0 (view);
#line 415 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3396 "MediaPage.c"
+#line 3401 "MediaPage.c"
}
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (photo);
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3402 "MediaPage.c"
+#line 3407 "MediaPage.c"
}
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3406 "MediaPage.c"
+#line 3411 "MediaPage.c"
}
#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = is_raw;
#line 420 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", _tmp27_);
-#line 3412 "MediaPage.c"
+#line 3417 "MediaPage.c"
}
static void media_page_update_flag_action (MediaPage* self, gint selected_count) {
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 423 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = selected_count;
#line 424 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", _tmp0_ > 0);
-#line 3424 "MediaPage.c"
+#line 3429 "MediaPage.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 3431 "MediaPage.c"
+#line 3436 "MediaPage.c"
}
static CoreViewTracker* media_page_real_get_view_tracker (CheckerboardPage* base) {
MediaPage * self;
CoreViewTracker* result = NULL;
- MediaViewTracker* _tmp0_ = NULL;
- CoreViewTracker* _tmp1_ = NULL;
+ MediaViewTracker* _tmp0_;
+ CoreViewTracker* _tmp1_;
#line 427 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3446,20 +3451,20 @@ static CoreViewTracker* media_page_real_get_view_tracker (CheckerboardPage* base
result = _tmp1_;
#line 428 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3450 "MediaPage.c"
+#line 3455 "MediaPage.c"
}
void media_page_set_display_ratings (MediaPage* 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;
- gboolean _tmp8_ = FALSE;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ gboolean _tmp8_;
#line 431 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3498,7 +3503,7 @@ void media_page_set_display_ratings (MediaPage* self, gboolean display) {
_tmp8_ = display;
#line 436 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings", _tmp8_);
-#line 3502 "MediaPage.c"
+#line 3507 "MediaPage.c"
}
@@ -3506,17 +3511,17 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
gboolean result = FALSE;
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3510 "MediaPage.c"
+#line 3515 "MediaPage.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeList* _tmp3_;
gint _view_size = 0;
- GeeList* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ GeeList* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
gint _view_index = 0;
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -3542,20 +3547,20 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
_view_index = -1;
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3546 "MediaPage.c"
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+#line 3551 "MediaPage.c"
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
DataView* view = NULL;
- GeeList* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gpointer _tmp12_ = NULL;
- DataView* _tmp13_ = NULL;
- MediaSource* _tmp14_ = NULL;
- MediaSource* _tmp15_ = NULL;
- Rating _tmp16_ = 0;
- Rating _tmp17_ = 0;
- gboolean _tmp18_ = FALSE;
+ GeeList* _tmp10_;
+ gint _tmp11_;
+ gpointer _tmp12_;
+ DataView* _tmp13_;
+ MediaSource* _tmp14_;
+ MediaSource* _tmp15_;
+ Rating _tmp16_;
+ Rating _tmp17_;
+ gboolean _tmp18_;
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3568,7 +3573,7 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
if (!(_tmp8_ < _tmp9_)) {
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3572 "MediaPage.c"
+#line 3577 "MediaPage.c"
}
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3602,21 +3607,21 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
_g_object_unref0 (_view_list);
#line 442 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3606 "MediaPage.c"
+#line 3611 "MediaPage.c"
}
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3610 "MediaPage.c"
+#line 3615 "MediaPage.c"
}
#line 440 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3614 "MediaPage.c"
+#line 3619 "MediaPage.c"
}
#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 445 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3620 "MediaPage.c"
+#line 3625 "MediaPage.c"
}
@@ -3624,17 +3629,17 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
gboolean result = FALSE;
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3628 "MediaPage.c"
+#line 3633 "MediaPage.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeList* _tmp3_;
gint _view_size = 0;
- GeeList* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ GeeList* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
gint _view_index = 0;
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -3660,20 +3665,20 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
_view_index = -1;
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3664 "MediaPage.c"
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+#line 3669 "MediaPage.c"
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
DataView* view = NULL;
- GeeList* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gpointer _tmp12_ = NULL;
- DataView* _tmp13_ = NULL;
- MediaSource* _tmp14_ = NULL;
- MediaSource* _tmp15_ = NULL;
- Rating _tmp16_ = 0;
- gboolean _tmp17_ = FALSE;
- gboolean _tmp18_ = FALSE;
+ GeeList* _tmp10_;
+ gint _tmp11_;
+ gpointer _tmp12_;
+ DataView* _tmp13_;
+ MediaSource* _tmp14_;
+ MediaSource* _tmp15_;
+ Rating _tmp16_;
+ gboolean _tmp17_;
+ gboolean _tmp18_;
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3686,7 +3691,7 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
if (!(_tmp8_ < _tmp9_)) {
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3690 "MediaPage.c"
+#line 3695 "MediaPage.c"
}
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3720,21 +3725,21 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
_g_object_unref0 (_view_list);
#line 451 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3724 "MediaPage.c"
+#line 3729 "MediaPage.c"
}
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3728 "MediaPage.c"
+#line 3733 "MediaPage.c"
}
#line 449 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3732 "MediaPage.c"
+#line 3737 "MediaPage.c"
}
#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 454 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3738 "MediaPage.c"
+#line 3743 "MediaPage.c"
}
@@ -3742,17 +3747,17 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
gboolean result = FALSE;
#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3746 "MediaPage.c"
+#line 3751 "MediaPage.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeList* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeList* _tmp3_;
gint _view_size = 0;
- GeeList* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ GeeList* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
gint _view_index = 0;
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -3778,20 +3783,20 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
_view_index = -1;
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3782 "MediaPage.c"
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+#line 3787 "MediaPage.c"
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
DataView* view = NULL;
- GeeList* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gpointer _tmp12_ = NULL;
- DataView* _tmp13_ = NULL;
- MediaSource* _tmp14_ = NULL;
- MediaSource* _tmp15_ = NULL;
- Rating _tmp16_ = 0;
- gboolean _tmp17_ = FALSE;
- gboolean _tmp18_ = FALSE;
+ GeeList* _tmp10_;
+ gint _tmp11_;
+ gpointer _tmp12_;
+ DataView* _tmp13_;
+ MediaSource* _tmp14_;
+ MediaSource* _tmp15_;
+ Rating _tmp16_;
+ gboolean _tmp17_;
+ gboolean _tmp18_;
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _view_index;
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3804,7 +3809,7 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
if (!(_tmp8_ < _tmp9_)) {
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3808 "MediaPage.c"
+#line 3813 "MediaPage.c"
}
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3838,27 +3843,27 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
_g_object_unref0 (_view_list);
#line 460 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3842 "MediaPage.c"
+#line 3847 "MediaPage.c"
}
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3846 "MediaPage.c"
+#line 3851 "MediaPage.c"
}
#line 458 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3850 "MediaPage.c"
+#line 3855 "MediaPage.c"
}
#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3856 "MediaPage.c"
+#line 3861 "MediaPage.c"
}
MediaPageZoomSliderAssembly* media_page_create_zoom_slider_assembly (MediaPage* self) {
MediaPageZoomSliderAssembly* result = NULL;
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
#line 466 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3869,15 +3874,15 @@ MediaPageZoomSliderAssembly* media_page_create_zoom_slider_assembly (MediaPage*
result = _tmp0_;
#line 467 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3873 "MediaPage.c"
+#line 3878 "MediaPage.c"
}
static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* event) {
MediaPage * self;
gboolean result = FALSE;
- GdkEventScroll* _tmp0_ = NULL;
- GdkModifierType _tmp1_ = 0;
+ GdkEventScroll* _tmp0_;
+ GdkModifierType _tmp1_;
#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 470 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3894,10 +3899,10 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
result = TRUE;
#line 473 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3898 "MediaPage.c"
+#line 3903 "MediaPage.c"
} else {
- GdkEventScroll* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ GdkEventScroll* _tmp2_;
+ gboolean _tmp3_;
#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = event;
#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3906,7 +3911,7 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
result = _tmp3_;
#line 475 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3910 "MediaPage.c"
+#line 3915 "MediaPage.c"
}
}
@@ -3914,8 +3919,8 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll* event) {
MediaPage * self;
gboolean result = FALSE;
- GdkEventScroll* _tmp0_ = NULL;
- GdkModifierType _tmp1_ = 0;
+ GdkEventScroll* _tmp0_;
+ GdkModifierType _tmp1_;
#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3932,10 +3937,10 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll*
result = TRUE;
#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3936 "MediaPage.c"
+#line 3941 "MediaPage.c"
} else {
- GdkEventScroll* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ GdkEventScroll* _tmp2_;
+ gboolean _tmp3_;
#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = event;
#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3944,16 +3949,16 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll*
result = _tmp3_;
#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3948 "MediaPage.c"
+#line 3953 "MediaPage.c"
}
}
static void media_page_on_send_to (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeCollection* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeCollection* _tmp3_;
#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3970,24 +3975,24 @@ static void media_page_on_send_to (MediaPage* self) {
_g_object_unref0 (_tmp3_);
#line 489 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 3974 "MediaPage.c"
+#line 3979 "MediaPage.c"
}
void media_page_on_play_video (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
Video* video = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- DataView* _tmp6_ = NULL;
- DataView* _tmp7_ = NULL;
- DataSource* _tmp8_ = NULL;
- Video* _tmp9_ = NULL;
- Video* _tmp10_ = NULL;
- Video* _tmp11_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ DataView* _tmp6_;
+ DataView* _tmp7_;
+ DataSource* _tmp8_;
+ Video* _tmp9_;
+ Video* _tmp10_;
+ Video* _tmp11_;
GError * _inner_error_ = NULL;
#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
@@ -4005,7 +4010,7 @@ void media_page_on_play_video (MediaPage* self) {
if (_tmp3_) {
#line 494 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4009 "MediaPage.c"
+#line 4014 "MediaPage.c"
}
#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -4023,7 +4028,7 @@ void media_page_on_play_video (MediaPage* self) {
if (_tmp9_ == NULL) {
#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp8_);
-#line 4027 "MediaPage.c"
+#line 4032 "MediaPage.c"
}
#line 496 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
@@ -4041,14 +4046,14 @@ void media_page_on_play_video (MediaPage* self) {
_g_object_unref0 (video);
#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4045 "MediaPage.c"
+#line 4050 "MediaPage.c"
}
{
- Video* _tmp12_ = NULL;
- GFile* _tmp13_ = NULL;
- GFile* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
+ Video* _tmp12_;
+ GFile* _tmp13_;
+ GFile* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = video;
#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4067,42 +4072,39 @@ void media_page_on_play_video (MediaPage* self) {
_g_object_unref0 (_tmp14_);
#line 501 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4071 "MediaPage.c"
- goto __catch560_g_error;
+#line 4076 "MediaPage.c"
+ goto __catch561_g_error;
}
}
- goto __finally560;
- __catch560_g_error:
+ goto __finally561;
+ __catch561_g_error:
{
GError* e = NULL;
- const gchar* _tmp17_ = NULL;
- GError* _tmp18_ = NULL;
- const gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
+ GError* _tmp17_;
+ const gchar* _tmp18_;
+ gchar* _tmp19_;
+ gchar* _tmp20_;
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
e = _inner_error_;
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
_inner_error_ = NULL;
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp17_ = _ ("Shotwell was unable to play the selected video:\n%s");
-#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp18_ = e;
+ _tmp17_ = e;
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp19_ = _tmp18_->message;
+ _tmp18_ = _tmp17_->message;
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp20_ = g_strdup_printf (_tmp17_, _tmp19_);
+ _tmp19_ = g_strdup_printf (_ ("Shotwell was unable to play the selected video:\n%s"), _tmp18_);
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp21_ = _tmp20_;
+ _tmp20_ = _tmp19_;
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- app_window_error_message (_tmp21_, NULL);
+ app_window_error_message (_tmp20_, NULL);
#line 503 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_free0 (_tmp21_);
+ _g_free0 (_tmp20_);
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_error_free0 (e);
-#line 4104 "MediaPage.c"
+#line 4106 "MediaPage.c"
}
- __finally560:
+ __finally561:
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4113,11 +4115,11 @@ void media_page_on_play_video (MediaPage* self) {
g_clear_error (&_inner_error_);
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4117 "MediaPage.c"
+#line 4119 "MediaPage.c"
}
#line 492 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (video);
-#line 4121 "MediaPage.c"
+#line 4123 "MediaPage.c"
}
@@ -4125,10 +4127,10 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
MediaPage * self;
gboolean result = FALSE;
gboolean handled = FALSE;
- GdkEventKey* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
+ GdkEventKey* _tmp0_;
+ guint _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
GQuark _tmp5_ = 0U;
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label0 = 0;
@@ -4178,9 +4180,9 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
static GQuark _tmp4_label22 = 0;
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label23 = 0;
-#line 4182 "MediaPage.c"
+#line 4184 "MediaPage.c"
gboolean _tmp30_ = FALSE;
- gboolean _tmp31_ = FALSE;
+ gboolean _tmp31_;
#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 508 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4201,160 +4203,160 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
if (((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("equal")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("plus"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("KP_Add"))))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4205 "MediaPage.c"
+#line 4207 "MediaPage.c"
default:
{
#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize");
#line 515 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4212 "MediaPage.c"
+#line 4214 "MediaPage.c"
}
}
} else if (((_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("minus")))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("underscore"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Subtract"))))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4218 "MediaPage.c"
+#line 4220 "MediaPage.c"
default:
{
#line 520 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize");
#line 521 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4225 "MediaPage.c"
+#line 4227 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("period")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4231 "MediaPage.c"
+#line 4233 "MediaPage.c"
default:
{
#line 524 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating");
#line 525 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4238 "MediaPage.c"
+#line 4240 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("comma")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4244 "MediaPage.c"
+#line 4246 "MediaPage.c"
default:
{
#line 528 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating");
#line 529 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4251 "MediaPage.c"
+#line 4253 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("KP_1")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4257 "MediaPage.c"
+#line 4259 "MediaPage.c"
default:
{
#line 532 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne");
#line 533 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4264 "MediaPage.c"
+#line 4266 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("KP_2")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4270 "MediaPage.c"
+#line 4272 "MediaPage.c"
default:
{
#line 536 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo");
#line 537 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4277 "MediaPage.c"
+#line 4279 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label10) ? _tmp4_label10 : (_tmp4_label10 = g_quark_from_static_string ("KP_3")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4283 "MediaPage.c"
+#line 4285 "MediaPage.c"
default:
{
#line 540 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree");
#line 541 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4290 "MediaPage.c"
+#line 4292 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label11) ? _tmp4_label11 : (_tmp4_label11 = g_quark_from_static_string ("KP_4")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4296 "MediaPage.c"
+#line 4298 "MediaPage.c"
default:
{
#line 544 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour");
#line 545 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4303 "MediaPage.c"
+#line 4305 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label12) ? _tmp4_label12 : (_tmp4_label12 = g_quark_from_static_string ("KP_5")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4309 "MediaPage.c"
+#line 4311 "MediaPage.c"
default:
{
#line 548 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive");
#line 549 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4316 "MediaPage.c"
+#line 4318 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label13) ? _tmp4_label13 : (_tmp4_label13 = g_quark_from_static_string ("KP_0")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4322 "MediaPage.c"
+#line 4324 "MediaPage.c"
default:
{
#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated");
#line 553 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4329 "MediaPage.c"
+#line 4331 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label14) ? _tmp4_label14 : (_tmp4_label14 = g_quark_from_static_string ("KP_9")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4335 "MediaPage.c"
+#line 4337 "MediaPage.c"
default:
{
#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected");
#line 557 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4342 "MediaPage.c"
+#line 4344 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label15) ? _tmp4_label15 : (_tmp4_label15 = g_quark_from_static_string ("exclam")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4348 "MediaPage.c"
+#line 4350 "MediaPage.c"
default:
{
- gboolean _tmp6_ = FALSE;
+ gboolean _tmp6_;
#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp6_) {
-#line 4356 "MediaPage.c"
- SearchViewFilter* _tmp7_ = NULL;
- SearchViewFilter* _tmp8_ = NULL;
+#line 4358 "MediaPage.c"
+ SearchViewFilter* _tmp7_;
+ SearchViewFilter* _tmp8_;
#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4363,27 +4365,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp8_, RATING_FILTER_ONE_OR_HIGHER);
#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp8_);
-#line 4367 "MediaPage.c"
+#line 4369 "MediaPage.c"
}
#line 562 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4371 "MediaPage.c"
+#line 4373 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label16) ? _tmp4_label16 : (_tmp4_label16 = g_quark_from_static_string ("at")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4377 "MediaPage.c"
+#line 4379 "MediaPage.c"
default:
{
- gboolean _tmp9_ = FALSE;
+ gboolean _tmp9_;
#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 4385 "MediaPage.c"
- SearchViewFilter* _tmp10_ = NULL;
- SearchViewFilter* _tmp11_ = NULL;
+#line 4387 "MediaPage.c"
+ SearchViewFilter* _tmp10_;
+ SearchViewFilter* _tmp11_;
#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4392,27 +4394,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp11_, RATING_FILTER_TWO_OR_HIGHER);
#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp11_);
-#line 4396 "MediaPage.c"
+#line 4398 "MediaPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4400 "MediaPage.c"
+#line 4402 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label17) ? _tmp4_label17 : (_tmp4_label17 = g_quark_from_static_string ("numbersign")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4406 "MediaPage.c"
+#line 4408 "MediaPage.c"
default:
{
- gboolean _tmp12_ = FALSE;
+ gboolean _tmp12_;
#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp12_) {
-#line 4414 "MediaPage.c"
- SearchViewFilter* _tmp13_ = NULL;
- SearchViewFilter* _tmp14_ = NULL;
+#line 4416 "MediaPage.c"
+ SearchViewFilter* _tmp13_;
+ SearchViewFilter* _tmp14_;
#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4421,27 +4423,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp14_, RATING_FILTER_THREE_OR_HIGHER);
#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp14_);
-#line 4425 "MediaPage.c"
+#line 4427 "MediaPage.c"
}
#line 572 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4429 "MediaPage.c"
+#line 4431 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label18) ? _tmp4_label18 : (_tmp4_label18 = g_quark_from_static_string ("dollar")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4435 "MediaPage.c"
+#line 4437 "MediaPage.c"
default:
{
- gboolean _tmp15_ = FALSE;
+ gboolean _tmp15_;
#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 4443 "MediaPage.c"
- SearchViewFilter* _tmp16_ = NULL;
- SearchViewFilter* _tmp17_ = NULL;
+#line 4445 "MediaPage.c"
+ SearchViewFilter* _tmp16_;
+ SearchViewFilter* _tmp17_;
#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4450,27 +4452,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp17_, RATING_FILTER_FOUR_OR_HIGHER);
#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp17_);
-#line 4454 "MediaPage.c"
+#line 4456 "MediaPage.c"
}
#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4458 "MediaPage.c"
+#line 4460 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label19) ? _tmp4_label19 : (_tmp4_label19 = g_quark_from_static_string ("percent")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4464 "MediaPage.c"
+#line 4466 "MediaPage.c"
default:
{
- gboolean _tmp18_ = FALSE;
+ gboolean _tmp18_;
#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 4472 "MediaPage.c"
- SearchViewFilter* _tmp19_ = NULL;
- SearchViewFilter* _tmp20_ = NULL;
+#line 4474 "MediaPage.c"
+ SearchViewFilter* _tmp19_;
+ SearchViewFilter* _tmp20_;
#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4479,27 +4481,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp20_, RATING_FILTER_FIVE_OR_HIGHER);
#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp20_);
-#line 4483 "MediaPage.c"
+#line 4485 "MediaPage.c"
}
#line 582 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4487 "MediaPage.c"
+#line 4489 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label20) ? _tmp4_label20 : (_tmp4_label20 = g_quark_from_static_string ("parenright")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4493 "MediaPage.c"
+#line 4495 "MediaPage.c"
default:
{
- gboolean _tmp21_ = FALSE;
+ gboolean _tmp21_;
#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 4501 "MediaPage.c"
- SearchViewFilter* _tmp22_ = NULL;
- SearchViewFilter* _tmp23_ = NULL;
+#line 4503 "MediaPage.c"
+ SearchViewFilter* _tmp22_;
+ SearchViewFilter* _tmp23_;
#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4508,27 +4510,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp23_, RATING_FILTER_UNRATED_OR_HIGHER);
#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp23_);
-#line 4512 "MediaPage.c"
+#line 4514 "MediaPage.c"
}
#line 587 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4516 "MediaPage.c"
+#line 4518 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label21) ? _tmp4_label21 : (_tmp4_label21 = g_quark_from_static_string ("parenleft")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4522 "MediaPage.c"
+#line 4524 "MediaPage.c"
default:
{
- gboolean _tmp24_ = FALSE;
+ gboolean _tmp24_;
#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_) {
-#line 4530 "MediaPage.c"
- SearchViewFilter* _tmp25_ = NULL;
- SearchViewFilter* _tmp26_ = NULL;
+#line 4532 "MediaPage.c"
+ SearchViewFilter* _tmp25_;
+ SearchViewFilter* _tmp26_;
#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4537,27 +4539,27 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp26_, RATING_FILTER_REJECTED_OR_HIGHER);
#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp26_);
-#line 4541 "MediaPage.c"
+#line 4543 "MediaPage.c"
}
#line 592 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4545 "MediaPage.c"
+#line 4547 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label22) ? _tmp4_label22 : (_tmp4_label22 = g_quark_from_static_string ("asterisk")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4551 "MediaPage.c"
+#line 4553 "MediaPage.c"
default:
{
- gboolean _tmp27_ = FALSE;
+ gboolean _tmp27_;
#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp27_) {
-#line 4559 "MediaPage.c"
- SearchViewFilter* _tmp28_ = NULL;
- SearchViewFilter* _tmp29_ = NULL;
+#line 4561 "MediaPage.c"
+ SearchViewFilter* _tmp28_;
+ SearchViewFilter* _tmp29_;
#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp28_ = checkerboard_page_get_search_view_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4566,37 +4568,37 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp29_, RATING_FILTER_REJECTED_ONLY);
#line 596 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp29_);
-#line 4570 "MediaPage.c"
+#line 4572 "MediaPage.c"
}
#line 597 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4574 "MediaPage.c"
+#line 4576 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label23) ? _tmp4_label23 : (_tmp4_label23 = g_quark_from_static_string ("slash")))) {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4580 "MediaPage.c"
+#line 4582 "MediaPage.c"
default:
{
#line 600 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag");
#line 601 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4587 "MediaPage.c"
+#line 4589 "MediaPage.c"
}
}
} else {
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4593 "MediaPage.c"
+#line 4595 "MediaPage.c"
default:
{
#line 604 "/home/jens/Source/shotwell/src/MediaPage.vala"
handled = FALSE;
#line 605 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4600 "MediaPage.c"
+#line 4602 "MediaPage.c"
}
}
}
@@ -4606,48 +4608,48 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
if (_tmp31_) {
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = TRUE;
-#line 4610 "MediaPage.c"
+#line 4612 "MediaPage.c"
} else {
- GdkEventKey* _tmp32_ = NULL;
- gboolean _tmp33_ = FALSE;
+ GdkEventKey* _tmp32_;
+ gboolean _tmp33_;
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = event;
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp33_ = PAGE_CLASS (media_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp32_);
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = _tmp33_;
-#line 4620 "MediaPage.c"
+#line 4622 "MediaPage.c"
}
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp30_;
#line 608 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 4626 "MediaPage.c"
+#line 4628 "MediaPage.c"
}
static void media_page_real_switched_to (Page* base) {
MediaPage * self;
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- ConfigFacade* _tmp2_ = NULL;
- ConfigFacade* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- ConfigFacade* _tmp5_ = NULL;
- ConfigFacade* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
- ConfigFacade* _tmp8_ = NULL;
- ConfigFacade* _tmp9_ = NULL;
- gboolean _tmp10_ = FALSE;
- ConfigFacade* _tmp11_ = NULL;
- ConfigFacade* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- ViewCollection* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gboolean _tmp19_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ ConfigFacade* _tmp2_;
+ ConfigFacade* _tmp3_;
+ gboolean _tmp4_;
+ ConfigFacade* _tmp5_;
+ ConfigFacade* _tmp6_;
+ gboolean _tmp7_;
+ ConfigFacade* _tmp8_;
+ ConfigFacade* _tmp9_;
+ gboolean _tmp10_;
+ ConfigFacade* _tmp11_;
+ ConfigFacade* _tmp12_;
+ gboolean _tmp13_;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ ViewCollection* _tmp16_;
+ ViewCollection* _tmp17_;
+ gint _tmp18_;
+ gboolean _tmp19_;
#line 611 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 612 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4720,13 +4722,13 @@ static void media_page_real_switched_to (Page* base) {
_data_collection_unref0 (_tmp17_);
#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_) {
-#line 4724 "MediaPage.c"
+#line 4726 "MediaPage.c"
CheckerboardItem* selected = NULL;
- ViewCollection* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- DataView* _tmp22_ = NULL;
- CheckerboardItem* _tmp23_ = NULL;
- CheckerboardItem* _tmp24_ = NULL;
+ ViewCollection* _tmp20_;
+ ViewCollection* _tmp21_;
+ DataView* _tmp22_;
+ CheckerboardItem* _tmp23_;
+ CheckerboardItem* _tmp24_;
#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 625 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4743,21 +4745,21 @@ static void media_page_real_switched_to (Page* base) {
_tmp24_ = selected;
#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 4747 "MediaPage.c"
- CheckerboardItem* _tmp25_ = NULL;
+#line 4749 "MediaPage.c"
+ CheckerboardItem* _tmp25_;
#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = selected;
#line 627 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_cursor_to_item (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp25_);
-#line 4753 "MediaPage.c"
+#line 4755 "MediaPage.c"
}
#line 624 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (selected);
-#line 4757 "MediaPage.c"
+#line 4759 "MediaPage.c"
}
#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_sync_sort (self);
-#line 4761 "MediaPage.c"
+#line 4763 "MediaPage.c"
}
@@ -4769,28 +4771,28 @@ static void media_page_real_switching_from (Page* base) {
media_page_disconnect_slider (self);
#line 636 "/home/jens/Source/shotwell/src/MediaPage.vala"
PAGE_CLASS (media_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page));
-#line 4773 "MediaPage.c"
+#line 4775 "MediaPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 640 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 4780 "MediaPage.c"
+#line 4782 "MediaPage.c"
}
static void _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed (MediaPageZoomSliderAssembly* _sender, gpointer self) {
#line 641 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_zoom_changed ((MediaPage*) self);
-#line 4787 "MediaPage.c"
+#line 4789 "MediaPage.c"
}
void media_page_connect_slider (MediaPage* self, MediaPageZoomSliderAssembly* slider) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
- MediaPageZoomSliderAssembly* _tmp1_ = NULL;
- MediaPageZoomSliderAssembly* _tmp2_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
+ MediaPageZoomSliderAssembly* _tmp1_;
+ MediaPageZoomSliderAssembly* _tmp2_;
#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4809,16 +4811,16 @@ void media_page_connect_slider (MediaPage* self, MediaPageZoomSliderAssembly* sl
g_signal_connect_object (_tmp2_, "zoom-changed", (GCallback) _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed, self, 0);
#line 642 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_load_persistent_thumbnail_scale (self);
-#line 4813 "MediaPage.c"
+#line 4815 "MediaPage.c"
}
static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
- ConfigFacade* _tmp1_ = NULL;
- ConfigFacade* _tmp2_ = NULL;
- MediaPageZoomSliderAssembly* _tmp3_ = NULL;
- gint _tmp4_ = 0;
+ MediaPageZoomSliderAssembly* _tmp0_;
+ ConfigFacade* _tmp1_;
+ ConfigFacade* _tmp2_;
+ MediaPageZoomSliderAssembly* _tmp3_;
+ gint _tmp4_;
#line 645 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4827,7 +4829,7 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 647 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4831 "MediaPage.c"
+#line 4833 "MediaPage.c"
}
#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
@@ -4841,20 +4843,20 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
configuration_facade_set_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_);
#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp2_);
-#line 4845 "MediaPage.c"
+#line 4847 "MediaPage.c"
}
static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
gint persistent_scale = 0;
- ConfigFacade* _tmp1_ = NULL;
- ConfigFacade* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- MediaPageZoomSliderAssembly* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ ConfigFacade* _tmp1_;
+ ConfigFacade* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ MediaPageZoomSliderAssembly* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
#line 652 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 653 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4863,7 +4865,7 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4867 "MediaPage.c"
+#line 4869 "MediaPage.c"
}
#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
@@ -4887,14 +4889,14 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
_tmp7_ = persistent_scale;
#line 659 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp7_);
-#line 4891 "MediaPage.c"
+#line 4893 "MediaPage.c"
}
void media_page_disconnect_slider (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
- MediaPageZoomSliderAssembly* _tmp1_ = NULL;
- guint _tmp2_ = 0U;
+ MediaPageZoomSliderAssembly* _tmp0_;
+ MediaPageZoomSliderAssembly* _tmp1_;
+ guint _tmp2_;
#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 663 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4903,7 +4905,7 @@ void media_page_disconnect_slider (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4907 "MediaPage.c"
+#line 4909 "MediaPage.c"
}
#line 666 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
@@ -4915,30 +4917,30 @@ void media_page_disconnect_slider (MediaPage* self) {
_g_object_unref0 (self->priv->connected_slider);
#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->connected_slider = NULL;
-#line 4919 "MediaPage.c"
+#line 4921 "MediaPage.c"
}
static void media_page_real_on_zoom_changed (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
#line 671 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 4929 "MediaPage.c"
- MediaPageZoomSliderAssembly* _tmp1_ = NULL;
- gint _tmp2_ = 0;
+#line 4931 "MediaPage.c"
+ MediaPageZoomSliderAssembly* _tmp1_;
+ gint _tmp2_;
#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_zoom_slider_assembly_get_scale (_tmp1_);
#line 672 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp2_);
-#line 4938 "MediaPage.c"
+#line 4940 "MediaPage.c"
}
#line 674 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 4942 "MediaPage.c"
+#line 4944 "MediaPage.c"
}
@@ -4947,7 +4949,7 @@ void media_page_on_zoom_changed (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_zoom_changed (self);
-#line 4951 "MediaPage.c"
+#line 4953 "MediaPage.c"
}
@@ -4956,7 +4958,7 @@ static void media_page_real_on_export (MediaPage* self) {
g_critical ("Type `%s' does not implement abstract method `media_page_on_export'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4960 "MediaPage.c"
+#line 4962 "MediaPage.c"
}
@@ -4965,14 +4967,14 @@ void media_page_on_export (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_export (self);
-#line 4969 "MediaPage.c"
+#line 4971 "MediaPage.c"
}
static void media_page_real_on_increase_size (MediaPage* self) {
#line 680 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_increase_zoom_level (self);
-#line 4976 "MediaPage.c"
+#line 4978 "MediaPage.c"
}
@@ -4981,14 +4983,14 @@ void media_page_on_increase_size (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_size (self);
-#line 4985 "MediaPage.c"
+#line 4987 "MediaPage.c"
}
static void media_page_real_on_decrease_size (MediaPage* self) {
#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_decrease_zoom_level (self);
-#line 4992 "MediaPage.c"
+#line 4994 "MediaPage.c"
}
@@ -4997,25 +4999,25 @@ void media_page_on_decrease_size (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 683 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_size (self);
-#line 5001 "MediaPage.c"
+#line 5003 "MediaPage.c"
}
static void media_page_on_add_tags (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
AddTagsDialog* dialog = NULL;
- AddTagsDialog* _tmp4_ = NULL;
+ AddTagsDialog* _tmp4_;
gchar** names = NULL;
- AddTagsDialog* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gchar** _tmp7_ = NULL;
- gint names_length1 = 0;
- gint _names_size_ = 0;
- gchar** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
+ AddTagsDialog* _tmp5_;
+ gint _tmp6_;
+ gchar** _tmp7_;
+ gint names_length1;
+ gint _names_size_;
+ gchar** _tmp8_;
+ gint _tmp8__length1;
#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 688 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5032,7 +5034,7 @@ static void media_page_on_add_tags (MediaPage* self) {
if (_tmp3_) {
#line 689 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5036 "MediaPage.c"
+#line 5038 "MediaPage.c"
}
#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = add_tags_dialog_new ();
@@ -5054,23 +5056,23 @@ static void media_page_on_add_tags (MediaPage* self) {
_tmp8__length1 = names_length1;
#line 694 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp8_ != NULL) {
-#line 5058 "MediaPage.c"
- CommandManager* _tmp9_ = NULL;
- CommandManager* _tmp10_ = NULL;
- HierarchicalTagIndex* _tmp11_ = NULL;
- HierarchicalTagIndex* _tmp12_ = NULL;
- gchar** _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
- gint _tmp14_ = 0;
- gchar** _tmp15_ = NULL;
- gchar** _tmp16_ = NULL;
- gint _tmp16__length1 = 0;
- ViewCollection* _tmp17_ = NULL;
- ViewCollection* _tmp18_ = NULL;
- GeeList* _tmp19_ = NULL;
- GeeCollection* _tmp20_ = NULL;
- AddTagsCommand* _tmp21_ = NULL;
- AddTagsCommand* _tmp22_ = NULL;
+#line 5060 "MediaPage.c"
+ CommandManager* _tmp9_;
+ CommandManager* _tmp10_;
+ HierarchicalTagIndex* _tmp11_;
+ HierarchicalTagIndex* _tmp12_;
+ gchar** _tmp13_;
+ gint _tmp13__length1;
+ gint _tmp14_;
+ gchar** _tmp15_;
+ gchar** _tmp16_;
+ gint _tmp16__length1;
+ ViewCollection* _tmp17_;
+ ViewCollection* _tmp18_;
+ GeeList* _tmp19_;
+ GeeCollection* _tmp20_;
+ AddTagsCommand* _tmp21_;
+ AddTagsCommand* _tmp22_;
#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5115,41 +5117,41 @@ static void media_page_on_add_tags (MediaPage* self) {
_hierarchical_tag_index_unref0 (_tmp12_);
#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp10_);
-#line 5119 "MediaPage.c"
+#line 5121 "MediaPage.c"
}
#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
#line 687 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 5125 "MediaPage.c"
+#line 5127 "MediaPage.c"
}
static void media_page_on_modify_tags (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
MediaSource* media = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- DataView* _tmp6_ = NULL;
- DataView* _tmp7_ = NULL;
- DataSource* _tmp8_ = NULL;
- MediaSource* _tmp9_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ DataView* _tmp6_;
+ DataView* _tmp7_;
+ DataSource* _tmp8_;
+ MediaSource* _tmp9_;
ModifyTagsDialog* dialog = NULL;
- MediaSource* _tmp10_ = NULL;
- ModifyTagsDialog* _tmp11_ = NULL;
+ MediaSource* _tmp10_;
+ ModifyTagsDialog* _tmp11_;
GeeArrayList* new_tags = NULL;
- ModifyTagsDialog* _tmp12_ = NULL;
- GeeArrayList* _tmp13_ = NULL;
- GeeArrayList* _tmp14_ = NULL;
- CommandManager* _tmp15_ = NULL;
- CommandManager* _tmp16_ = NULL;
- MediaSource* _tmp17_ = NULL;
- GeeArrayList* _tmp18_ = NULL;
- ModifyTagsCommand* _tmp19_ = NULL;
- ModifyTagsCommand* _tmp20_ = NULL;
+ ModifyTagsDialog* _tmp12_;
+ GeeArrayList* _tmp13_;
+ GeeArrayList* _tmp14_;
+ CommandManager* _tmp15_;
+ CommandManager* _tmp16_;
+ MediaSource* _tmp17_;
+ GeeArrayList* _tmp18_;
+ ModifyTagsCommand* _tmp19_;
+ ModifyTagsCommand* _tmp20_;
#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 702 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5166,7 +5168,7 @@ static void media_page_on_modify_tags (MediaPage* self) {
if (_tmp3_) {
#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5170 "MediaPage.c"
+#line 5172 "MediaPage.c"
}
#line 705 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5210,7 +5212,7 @@ static void media_page_on_modify_tags (MediaPage* self) {
_g_object_unref0 (media);
#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5214 "MediaPage.c"
+#line 5216 "MediaPage.c"
}
#line 713 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5236,20 +5238,20 @@ static void media_page_on_modify_tags (MediaPage* self) {
_text_entry_dialog_mediator_unref0 (dialog);
#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media);
-#line 5240 "MediaPage.c"
+#line 5242 "MediaPage.c"
}
static void media_page_set_display_tags (MediaPage* 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;
- gboolean _tmp8_ = FALSE;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ gboolean _tmp8_;
#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 717 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5288,15 +5290,15 @@ static void media_page_set_display_tags (MediaPage* self, gboolean display) {
_tmp8_ = display;
#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags", _tmp8_);
-#line 5292 "MediaPage.c"
+#line 5294 "MediaPage.c"
}
static void media_page_on_new_event (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
#line 724 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5311,15 +5313,15 @@ static void media_page_on_new_event (MediaPage* self) {
_data_collection_unref0 (_tmp1_);
#line 725 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 5315 "MediaPage.c"
- CommandManager* _tmp4_ = NULL;
- CommandManager* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- GeeList* _tmp8_ = NULL;
- GeeList* _tmp9_ = NULL;
- NewEventCommand* _tmp10_ = NULL;
- NewEventCommand* _tmp11_ = NULL;
+#line 5317 "MediaPage.c"
+ CommandManager* _tmp4_;
+ CommandManager* _tmp5_;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ GeeList* _tmp8_;
+ GeeList* _tmp9_;
+ NewEventCommand* _tmp10_;
+ NewEventCommand* _tmp11_;
#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5346,28 +5348,28 @@ static void media_page_on_new_event (MediaPage* self) {
_data_collection_unref0 (_tmp7_);
#line 726 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp5_);
-#line 5350 "MediaPage.c"
+#line 5352 "MediaPage.c"
}
}
static void media_page_on_flag_unflag (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
GeeCollection* sources = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeCollection* _tmp7_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeCollection* _tmp7_;
gboolean flag = FALSE;
- CommandManager* _tmp20_ = NULL;
- CommandManager* _tmp21_ = NULL;
- GeeCollection* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
- FlagUnflagCommand* _tmp24_ = NULL;
- FlagUnflagCommand* _tmp25_ = NULL;
+ CommandManager* _tmp20_;
+ CommandManager* _tmp21_;
+ GeeCollection* _tmp22_;
+ gboolean _tmp23_;
+ FlagUnflagCommand* _tmp24_;
+ FlagUnflagCommand* _tmp25_;
#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5384,7 +5386,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
if (_tmp3_) {
#line 731 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5388 "MediaPage.c"
+#line 5390 "MediaPage.c"
}
#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5400,11 +5402,11 @@ static void media_page_on_flag_unflag (MediaPage* self) {
sources = _tmp7_;
#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
flag = FALSE;
-#line 5404 "MediaPage.c"
+#line 5406 "MediaPage.c"
{
GeeIterator* _source_it = NULL;
- GeeCollection* _tmp8_ = NULL;
- GeeIterator* _tmp9_ = NULL;
+ GeeCollection* _tmp8_;
+ GeeIterator* _tmp9_;
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = sources;
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5413,17 +5415,17 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_source_it = _tmp9_;
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 5417 "MediaPage.c"
- GeeIterator* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+#line 5419 "MediaPage.c"
+ GeeIterator* _tmp10_;
+ gboolean _tmp11_;
MediaSource* source = NULL;
- GeeIterator* _tmp12_ = NULL;
- gpointer _tmp13_ = NULL;
+ GeeIterator* _tmp12_;
+ gpointer _tmp13_;
Flaggable* flaggable = NULL;
- MediaSource* _tmp14_ = NULL;
- Flaggable* _tmp15_ = NULL;
+ MediaSource* _tmp14_;
+ Flaggable* _tmp15_;
gboolean _tmp16_ = FALSE;
- Flaggable* _tmp17_ = NULL;
+ Flaggable* _tmp17_;
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _source_it;
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5432,7 +5434,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
if (!_tmp11_) {
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5436 "MediaPage.c"
+#line 5438 "MediaPage.c"
}
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _source_it;
@@ -5450,20 +5452,20 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_tmp17_ = flaggable;
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 5454 "MediaPage.c"
- Flaggable* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
+#line 5456 "MediaPage.c"
+ Flaggable* _tmp18_;
+ gboolean _tmp19_;
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = flaggable;
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = flaggable_is_flagged (_tmp18_);
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = !_tmp19_;
-#line 5463 "MediaPage.c"
+#line 5465 "MediaPage.c"
} else {
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = FALSE;
-#line 5467 "MediaPage.c"
+#line 5469 "MediaPage.c"
}
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp16_) {
@@ -5475,17 +5477,17 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_g_object_unref0 (source);
#line 743 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5479 "MediaPage.c"
+#line 5481 "MediaPage.c"
}
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (flaggable);
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (source);
-#line 5485 "MediaPage.c"
+#line 5487 "MediaPage.c"
}
#line 738 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_source_it);
-#line 5489 "MediaPage.c"
+#line 5491 "MediaPage.c"
}
#line 747 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5507,25 +5509,25 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_command_manager_unref0 (_tmp21_);
#line 729 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (sources);
-#line 5511 "MediaPage.c"
+#line 5513 "MediaPage.c"
}
static void media_page_real_on_increase_rating (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
SetRatingCommand* command = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
- SetRatingCommand* _tmp8_ = NULL;
- SetRatingCommand* _tmp9_ = NULL;
- CommandManager* _tmp10_ = NULL;
- CommandManager* _tmp11_ = NULL;
- SetRatingCommand* _tmp12_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
+ SetRatingCommand* _tmp8_;
+ SetRatingCommand* _tmp9_;
+ CommandManager* _tmp10_;
+ CommandManager* _tmp11_;
+ SetRatingCommand* _tmp12_;
#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 751 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5540,7 +5542,7 @@ static void media_page_real_on_increase_rating (MediaPage* self) {
if (_tmp3_) {
#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5544 "MediaPage.c"
+#line 5546 "MediaPage.c"
}
#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5574,7 +5576,7 @@ static void media_page_real_on_increase_rating (MediaPage* self) {
media_page_update_rating_sensitivities (self);
#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5578 "MediaPage.c"
+#line 5580 "MediaPage.c"
}
@@ -5583,25 +5585,25 @@ void media_page_on_increase_rating (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_rating (self);
-#line 5587 "MediaPage.c"
+#line 5589 "MediaPage.c"
}
static void media_page_real_on_decrease_rating (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
SetRatingCommand* command = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
- SetRatingCommand* _tmp8_ = NULL;
- SetRatingCommand* _tmp9_ = NULL;
- CommandManager* _tmp10_ = NULL;
- CommandManager* _tmp11_ = NULL;
- SetRatingCommand* _tmp12_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
+ SetRatingCommand* _tmp8_;
+ SetRatingCommand* _tmp9_;
+ CommandManager* _tmp10_;
+ CommandManager* _tmp11_;
+ SetRatingCommand* _tmp12_;
#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 761 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5616,7 +5618,7 @@ static void media_page_real_on_decrease_rating (MediaPage* self) {
if (_tmp3_) {
#line 762 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5620 "MediaPage.c"
+#line 5622 "MediaPage.c"
}
#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5650,7 +5652,7 @@ static void media_page_real_on_decrease_rating (MediaPage* self) {
media_page_update_rating_sensitivities (self);
#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5654 "MediaPage.c"
+#line 5656 "MediaPage.c"
}
@@ -5659,26 +5661,26 @@ void media_page_on_decrease_rating (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_rating (self);
-#line 5663 "MediaPage.c"
+#line 5665 "MediaPage.c"
}
static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
SetRatingCommand* command = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
- Rating _tmp8_ = 0;
- SetRatingCommand* _tmp9_ = NULL;
- SetRatingCommand* _tmp10_ = NULL;
- CommandManager* _tmp11_ = NULL;
- CommandManager* _tmp12_ = NULL;
- SetRatingCommand* _tmp13_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
+ Rating _tmp8_;
+ SetRatingCommand* _tmp9_;
+ SetRatingCommand* _tmp10_;
+ CommandManager* _tmp11_;
+ CommandManager* _tmp12_;
+ SetRatingCommand* _tmp13_;
#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5693,7 +5695,7 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
if (_tmp3_) {
#line 772 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5697 "MediaPage.c"
+#line 5699 "MediaPage.c"
}
#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5729,7 +5731,7 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
media_page_update_rating_sensitivities (self);
#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5733 "MediaPage.c"
+#line 5735 "MediaPage.c"
}
@@ -5738,14 +5740,14 @@ void media_page_on_set_rating (MediaPage* self, Rating rating) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_set_rating (self, rating);
-#line 5742 "MediaPage.c"
+#line 5744 "MediaPage.c"
}
static void media_page_real_on_rate_rejected (MediaPage* self) {
#line 781 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_REJECTED);
-#line 5749 "MediaPage.c"
+#line 5751 "MediaPage.c"
}
@@ -5754,14 +5756,14 @@ void media_page_on_rate_rejected (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 780 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_rejected (self);
-#line 5758 "MediaPage.c"
+#line 5760 "MediaPage.c"
}
static void media_page_real_on_rate_unrated (MediaPage* self) {
#line 785 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_UNRATED);
-#line 5765 "MediaPage.c"
+#line 5767 "MediaPage.c"
}
@@ -5770,14 +5772,14 @@ void media_page_on_rate_unrated (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 784 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_unrated (self);
-#line 5774 "MediaPage.c"
+#line 5776 "MediaPage.c"
}
static void media_page_real_on_rate_one (MediaPage* self) {
#line 789 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_ONE);
-#line 5781 "MediaPage.c"
+#line 5783 "MediaPage.c"
}
@@ -5786,14 +5788,14 @@ void media_page_on_rate_one (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 788 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_one (self);
-#line 5790 "MediaPage.c"
+#line 5792 "MediaPage.c"
}
static void media_page_real_on_rate_two (MediaPage* self) {
#line 793 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_TWO);
-#line 5797 "MediaPage.c"
+#line 5799 "MediaPage.c"
}
@@ -5802,14 +5804,14 @@ void media_page_on_rate_two (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 792 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_two (self);
-#line 5806 "MediaPage.c"
+#line 5808 "MediaPage.c"
}
static void media_page_real_on_rate_three (MediaPage* self) {
#line 797 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_THREE);
-#line 5813 "MediaPage.c"
+#line 5815 "MediaPage.c"
}
@@ -5818,14 +5820,14 @@ void media_page_on_rate_three (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 796 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_three (self);
-#line 5822 "MediaPage.c"
+#line 5824 "MediaPage.c"
}
static void media_page_real_on_rate_four (MediaPage* self) {
#line 801 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FOUR);
-#line 5829 "MediaPage.c"
+#line 5831 "MediaPage.c"
}
@@ -5834,14 +5836,14 @@ void media_page_on_rate_four (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 800 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_four (self);
-#line 5838 "MediaPage.c"
+#line 5840 "MediaPage.c"
}
static void media_page_real_on_rate_five (MediaPage* self) {
#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FIVE);
-#line 5845 "MediaPage.c"
+#line 5847 "MediaPage.c"
}
@@ -5850,15 +5852,15 @@ void media_page_on_rate_five (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 804 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_five (self);
-#line 5854 "MediaPage.c"
+#line 5856 "MediaPage.c"
}
static void media_page_on_remove_from_library (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
- GeeCollection* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ GeeList* _tmp2_;
+ GeeCollection* _tmp3_;
#line 808 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5875,31 +5877,31 @@ static void media_page_on_remove_from_library (MediaPage* self) {
_g_object_unref0 (_tmp3_);
#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 5879 "MediaPage.c"
+#line 5881 "MediaPage.c"
}
static void media_page_real_on_move_to_trash (MediaPage* self) {
CheckerboardItem* restore_point = NULL;
- CheckerboardItem* _tmp0_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- gboolean _tmp9_ = FALSE;
+ CheckerboardItem* _tmp0_;
+ ViewCollection* _tmp6_;
+ ViewCollection* _tmp7_;
+ gint _tmp8_;
+ gboolean _tmp9_;
gboolean _tmp18_ = FALSE;
- CheckerboardItem* _tmp19_ = NULL;
+ CheckerboardItem* _tmp19_;
#line 813 "/home/jens/Source/shotwell/src/MediaPage.vala"
restore_point = NULL;
#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor;
#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 5898 "MediaPage.c"
- ViewCollection* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- CheckerboardItem* _tmp3_ = NULL;
- DataView* _tmp4_ = NULL;
- CheckerboardItem* _tmp5_ = NULL;
+#line 5900 "MediaPage.c"
+ ViewCollection* _tmp1_;
+ ViewCollection* _tmp2_;
+ CheckerboardItem* _tmp3_;
+ DataView* _tmp4_;
+ CheckerboardItem* _tmp5_;
#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5914,7 +5916,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
if (_tmp5_ == NULL) {
#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp4_);
-#line 5918 "MediaPage.c"
+#line 5920 "MediaPage.c"
}
#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
@@ -5922,7 +5924,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
restore_point = _tmp5_;
#line 816 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 5926 "MediaPage.c"
+#line 5928 "MediaPage.c"
}
#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5936,15 +5938,15 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_data_collection_unref0 (_tmp7_);
#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 5940 "MediaPage.c"
- CommandManager* _tmp10_ = NULL;
- CommandManager* _tmp11_ = NULL;
- ViewCollection* _tmp12_ = NULL;
- ViewCollection* _tmp13_ = NULL;
- GeeList* _tmp14_ = NULL;
- GeeCollection* _tmp15_ = NULL;
- TrashUntrashPhotosCommand* _tmp16_ = NULL;
- TrashUntrashPhotosCommand* _tmp17_ = NULL;
+#line 5942 "MediaPage.c"
+ CommandManager* _tmp10_;
+ CommandManager* _tmp11_;
+ ViewCollection* _tmp12_;
+ ViewCollection* _tmp13_;
+ GeeList* _tmp14_;
+ GeeCollection* _tmp15_;
+ TrashUntrashPhotosCommand* _tmp16_;
+ TrashUntrashPhotosCommand* _tmp17_;
#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5971,17 +5973,17 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_data_collection_unref0 (_tmp13_);
#line 820 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 5975 "MediaPage.c"
+#line 5977 "MediaPage.c"
}
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = restore_point;
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_ != NULL) {
-#line 5981 "MediaPage.c"
- ViewCollection* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- CheckerboardItem* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
+#line 5983 "MediaPage.c"
+ ViewCollection* _tmp20_;
+ ViewCollection* _tmp21_;
+ CheckerboardItem* _tmp22_;
+ gboolean _tmp23_;
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5994,25 +5996,25 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_tmp18_ = _tmp23_;
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp21_);
-#line 5998 "MediaPage.c"
+#line 6000 "MediaPage.c"
} else {
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = FALSE;
-#line 6002 "MediaPage.c"
+#line 6004 "MediaPage.c"
}
#line 824 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 6006 "MediaPage.c"
- CheckerboardItem* _tmp24_ = NULL;
+#line 6008 "MediaPage.c"
+ CheckerboardItem* _tmp24_;
#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = restore_point;
#line 825 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp24_);
-#line 6012 "MediaPage.c"
+#line 6014 "MediaPage.c"
}
#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
-#line 6016 "MediaPage.c"
+#line 6018 "MediaPage.c"
}
@@ -6021,32 +6023,32 @@ void media_page_on_move_to_trash (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 812 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_move_to_trash (self);
-#line 6025 "MediaPage.c"
+#line 6027 "MediaPage.c"
}
static void media_page_real_on_edit_title (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
GeeList* media_sources = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
EditTitleDialog* edit_title_dialog = NULL;
- GeeList* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
- MediaSource* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- EditTitleDialog* _tmp13_ = NULL;
- EditTitleDialog* _tmp14_ = NULL;
+ GeeList* _tmp8_;
+ gpointer _tmp9_;
+ MediaSource* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ EditTitleDialog* _tmp13_;
+ EditTitleDialog* _tmp14_;
gchar* new_title = NULL;
- EditTitleDialog* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
+ EditTitleDialog* _tmp15_;
+ gchar* _tmp16_;
+ const gchar* _tmp17_;
#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 830 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6061,7 +6063,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
if (_tmp3_) {
#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6065 "MediaPage.c"
+#line 6067 "MediaPage.c"
}
#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6105,13 +6107,13 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_tmp17_ = new_title;
#line 837 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6109 "MediaPage.c"
- CommandManager* _tmp18_ = NULL;
- CommandManager* _tmp19_ = NULL;
- GeeList* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- EditMultipleTitlesCommand* _tmp22_ = NULL;
- EditMultipleTitlesCommand* _tmp23_ = NULL;
+#line 6111 "MediaPage.c"
+ CommandManager* _tmp18_;
+ CommandManager* _tmp19_;
+ GeeList* _tmp20_;
+ const gchar* _tmp21_;
+ EditMultipleTitlesCommand* _tmp22_;
+ EditMultipleTitlesCommand* _tmp23_;
#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6130,7 +6132,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_g_object_unref0 (_tmp23_);
#line 838 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6134 "MediaPage.c"
+#line 6136 "MediaPage.c"
}
#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_title);
@@ -6138,7 +6140,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_text_entry_dialog_mediator_unref0 (edit_title_dialog);
#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6142 "MediaPage.c"
+#line 6144 "MediaPage.c"
}
@@ -6147,32 +6149,32 @@ void media_page_on_edit_title (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 829 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_title (self);
-#line 6151 "MediaPage.c"
+#line 6153 "MediaPage.c"
}
static void media_page_real_on_edit_comment (MediaPage* self) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
GeeList* media_sources = NULL;
- ViewCollection* _tmp4_ = NULL;
- ViewCollection* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
+ ViewCollection* _tmp4_;
+ ViewCollection* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
EditCommentDialog* edit_comment_dialog = NULL;
- GeeList* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
- MediaSource* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- EditCommentDialog* _tmp13_ = NULL;
- EditCommentDialog* _tmp14_ = NULL;
+ GeeList* _tmp8_;
+ gpointer _tmp9_;
+ MediaSource* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ EditCommentDialog* _tmp13_;
+ EditCommentDialog* _tmp14_;
gchar* new_comment = NULL;
- EditCommentDialog* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
+ EditCommentDialog* _tmp15_;
+ gchar* _tmp16_;
+ const gchar* _tmp17_;
#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 842 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6187,7 +6189,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
if (_tmp3_) {
#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6191 "MediaPage.c"
+#line 6193 "MediaPage.c"
}
#line 845 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6231,13 +6233,13 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_tmp17_ = new_comment;
#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6235 "MediaPage.c"
- CommandManager* _tmp18_ = NULL;
- CommandManager* _tmp19_ = NULL;
- GeeList* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- EditMultipleCommentsCommand* _tmp22_ = NULL;
- EditMultipleCommentsCommand* _tmp23_ = NULL;
+#line 6237 "MediaPage.c"
+ CommandManager* _tmp18_;
+ CommandManager* _tmp19_;
+ GeeList* _tmp20_;
+ const gchar* _tmp21_;
+ EditMultipleCommentsCommand* _tmp22_;
+ EditMultipleCommentsCommand* _tmp23_;
#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6256,7 +6258,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_g_object_unref0 (_tmp23_);
#line 850 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6260 "MediaPage.c"
+#line 6262 "MediaPage.c"
}
#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_comment);
@@ -6264,7 +6266,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog);
#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6268 "MediaPage.c"
+#line 6270 "MediaPage.c"
}
@@ -6273,18 +6275,18 @@ void media_page_on_edit_comment (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 841 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_comment (self);
-#line 6277 "MediaPage.c"
+#line 6279 "MediaPage.c"
}
static void media_page_real_on_display_titles (MediaPage* self, GSimpleAction* action, GVariant* value) {
gboolean display = FALSE;
- GVariant* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- ConfigFacade* _tmp2_ = NULL;
- ConfigFacade* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GVariant* _tmp0_;
+ gboolean _tmp1_;
+ ConfigFacade* _tmp2_;
+ ConfigFacade* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GVariant* _tmp5_;
#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 854 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6309,7 +6311,7 @@ static void media_page_real_on_display_titles (MediaPage* self, GSimpleAction* a
_tmp5_ = value;
#line 859 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6313 "MediaPage.c"
+#line 6315 "MediaPage.c"
}
@@ -6318,18 +6320,18 @@ void media_page_on_display_titles (MediaPage* self, GSimpleAction* action, GVari
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 853 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_titles (self, action, value);
-#line 6322 "MediaPage.c"
+#line 6324 "MediaPage.c"
}
static void media_page_real_on_display_comments (MediaPage* self, GSimpleAction* action, GVariant* value) {
gboolean display = FALSE;
- GVariant* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- ConfigFacade* _tmp2_ = NULL;
- ConfigFacade* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GVariant* _tmp0_;
+ gboolean _tmp1_;
+ ConfigFacade* _tmp2_;
+ ConfigFacade* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GVariant* _tmp5_;
#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 863 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6354,7 +6356,7 @@ static void media_page_real_on_display_comments (MediaPage* self, GSimpleAction*
_tmp5_ = value;
#line 868 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6358 "MediaPage.c"
+#line 6360 "MediaPage.c"
}
@@ -6363,18 +6365,18 @@ void media_page_on_display_comments (MediaPage* self, GSimpleAction* action, GVa
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 862 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_comments (self, action, value);
-#line 6367 "MediaPage.c"
+#line 6369 "MediaPage.c"
}
static void media_page_real_on_display_ratings (MediaPage* self, GSimpleAction* action, GVariant* value) {
gboolean display = FALSE;
- GVariant* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- ConfigFacade* _tmp2_ = NULL;
- ConfigFacade* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GVariant* _tmp0_;
+ gboolean _tmp1_;
+ ConfigFacade* _tmp2_;
+ ConfigFacade* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GVariant* _tmp5_;
#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 872 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6399,7 +6401,7 @@ static void media_page_real_on_display_ratings (MediaPage* self, GSimpleAction*
_tmp5_ = value;
#line 877 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6403 "MediaPage.c"
+#line 6405 "MediaPage.c"
}
@@ -6408,18 +6410,18 @@ void media_page_on_display_ratings (MediaPage* self, GSimpleAction* action, GVar
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 871 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_ratings (self, action, value);
-#line 6412 "MediaPage.c"
+#line 6414 "MediaPage.c"
}
static void media_page_real_on_display_tags (MediaPage* self, GSimpleAction* action, GVariant* value) {
gboolean display = FALSE;
- GVariant* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- ConfigFacade* _tmp2_ = NULL;
- ConfigFacade* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GVariant* _tmp0_;
+ gboolean _tmp1_;
+ ConfigFacade* _tmp2_;
+ ConfigFacade* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GVariant* _tmp5_;
#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6444,7 +6446,7 @@ static void media_page_real_on_display_tags (MediaPage* self, GSimpleAction* act
_tmp5_ = value;
#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6448 "MediaPage.c"
+#line 6450 "MediaPage.c"
}
@@ -6453,7 +6455,7 @@ void media_page_on_display_tags (MediaPage* self, GSimpleAction* action, GVarian
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 880 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_tags (self, action, value);
-#line 6457 "MediaPage.c"
+#line 6459 "MediaPage.c"
}
@@ -6462,7 +6464,7 @@ static void media_page_real_get_config_photos_sort (MediaPage* self, gboolean* s
g_critical ("Type `%s' does not implement abstract method `media_page_get_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6466 "MediaPage.c"
+#line 6468 "MediaPage.c"
}
@@ -6471,7 +6473,7 @@ void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, g
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->get_config_photos_sort (self, sort_order, sort_by);
-#line 6475 "MediaPage.c"
+#line 6477 "MediaPage.c"
}
@@ -6480,7 +6482,7 @@ static void media_page_real_set_config_photos_sort (MediaPage* self, gboolean so
g_critical ("Type `%s' does not implement abstract method `media_page_set_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6484 "MediaPage.c"
+#line 6486 "MediaPage.c"
}
@@ -6489,17 +6491,17 @@ void media_page_set_config_photos_sort (MediaPage* self, gboolean sort_order, gi
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 891 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->set_config_photos_sort (self, sort_order, sort_by);
-#line 6493 "MediaPage.c"
+#line 6495 "MediaPage.c"
}
static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
gint sort_by = 0;
- gint _tmp2_ = 0;
+ gint _tmp2_;
gboolean sort_order = FALSE;
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp3_;
#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6520,7 +6522,7 @@ static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* act
media_page_set_view_comparator (self, sort_by, sort_order);
#line 900 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_config_photos_sort (self, sort_order, sort_by);
-#line 6524 "MediaPage.c"
+#line 6526 "MediaPage.c"
}
@@ -6529,24 +6531,24 @@ void media_page_on_sort_changed (MediaPage* self, GSimpleAction* action, GVarian
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 893 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_sort_changed (self, action, value);
-#line 6533 "MediaPage.c"
+#line 6535 "MediaPage.c"
}
static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction* action, GVariant* value) {
RawDeveloper developer = 0;
- GVariant* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ GVariant* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
GQuark _tmp4_ = 0U;
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp3_label0 = 0;
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp3_label1 = 0;
-#line 6547 "MediaPage.c"
- RawDeveloper _tmp5_ = 0;
- GSimpleAction* _tmp6_ = NULL;
- GVariant* _tmp7_ = NULL;
+#line 6549 "MediaPage.c"
+ RawDeveloper _tmp5_;
+ GSimpleAction* _tmp6_;
+ GVariant* _tmp7_;
#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 903 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6565,38 +6567,38 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("Shotwell")))) {
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6569 "MediaPage.c"
+#line 6571 "MediaPage.c"
default:
{
#line 909 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_SHOTWELL;
#line 910 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6576 "MediaPage.c"
+#line 6578 "MediaPage.c"
}
}
} else if (_tmp4_ == ((0 != _tmp3_label1) ? _tmp3_label1 : (_tmp3_label1 = g_quark_from_static_string ("Camera")))) {
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6582 "MediaPage.c"
+#line 6584 "MediaPage.c"
default:
{
#line 912 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_CAMERA;
#line 913 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6589 "MediaPage.c"
+#line 6591 "MediaPage.c"
}
}
} else {
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6595 "MediaPage.c"
+#line 6597 "MediaPage.c"
default:
{
#line 915 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6600 "MediaPage.c"
+#line 6602 "MediaPage.c"
}
}
}
@@ -6610,20 +6612,20 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
_tmp7_ = value;
#line 920 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp6_, _tmp7_);
-#line 6614 "MediaPage.c"
+#line 6616 "MediaPage.c"
}
static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
gboolean need_warn = FALSE;
GeeArrayList* to_set = NULL;
- GeeArrayList* _tmp4_ = NULL;
+ GeeArrayList* _tmp4_;
gboolean _tmp31_ = FALSE;
- gboolean _tmp32_ = FALSE;
+ gboolean _tmp32_;
#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 924 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6638,7 +6640,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp3_) {
#line 925 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6642 "MediaPage.c"
+#line 6644 "MediaPage.c"
}
#line 930 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = FALSE;
@@ -6646,17 +6648,17 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp4_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
to_set = _tmp4_;
-#line 6650 "MediaPage.c"
+#line 6652 "MediaPage.c"
{
GeeList* _view_list = NULL;
- ViewCollection* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
- GeeList* _tmp8_ = NULL;
+ ViewCollection* _tmp5_;
+ ViewCollection* _tmp6_;
+ GeeList* _tmp7_;
+ GeeList* _tmp8_;
gint _view_size = 0;
- GeeList* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+ GeeList* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
gint _view_index = 0;
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6682,20 +6684,20 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_view_index = -1;
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 6686 "MediaPage.c"
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
+#line 6688 "MediaPage.c"
+ gint _tmp12_;
+ gint _tmp13_;
+ gint _tmp14_;
DataView* view = NULL;
- GeeList* _tmp15_ = NULL;
- gint _tmp16_ = 0;
- gpointer _tmp17_ = NULL;
+ GeeList* _tmp15_;
+ gint _tmp16_;
+ gpointer _tmp17_;
Photo* p = NULL;
- DataView* _tmp18_ = NULL;
- DataSource* _tmp19_ = NULL;
- Photo* _tmp20_ = NULL;
+ DataView* _tmp18_;
+ DataSource* _tmp19_;
+ Photo* _tmp20_;
gboolean _tmp21_ = FALSE;
- Photo* _tmp22_ = NULL;
+ Photo* _tmp22_;
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _view_index;
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6708,7 +6710,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (!(_tmp13_ < _tmp14_)) {
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6712 "MediaPage.c"
+#line 6714 "MediaPage.c"
}
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _view_list;
@@ -6728,7 +6730,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp20_ == NULL) {
#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp19_);
-#line 6732 "MediaPage.c"
+#line 6734 "MediaPage.c"
}
#line 935 "/home/jens/Source/shotwell/src/MediaPage.vala"
p = _tmp20_;
@@ -6736,11 +6738,11 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp22_ = p;
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp22_ != NULL) {
-#line 6740 "MediaPage.c"
- RawDeveloper _tmp23_ = 0;
- Photo* _tmp24_ = NULL;
- RawDeveloper _tmp25_ = 0;
- gboolean _tmp26_ = FALSE;
+#line 6742 "MediaPage.c"
+ RawDeveloper _tmp23_;
+ Photo* _tmp24_;
+ RawDeveloper _tmp25_;
+ gboolean _tmp26_;
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = rd;
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6751,19 +6753,19 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp26_ = raw_developer_is_equivalent (_tmp23_, _tmp25_);
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = !_tmp26_;
-#line 6755 "MediaPage.c"
+#line 6757 "MediaPage.c"
} else {
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = FALSE;
-#line 6759 "MediaPage.c"
+#line 6761 "MediaPage.c"
}
#line 936 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 6763 "MediaPage.c"
- GeeArrayList* _tmp27_ = NULL;
- DataView* _tmp28_ = NULL;
- Photo* _tmp29_ = NULL;
- gboolean _tmp30_ = FALSE;
+#line 6765 "MediaPage.c"
+ GeeArrayList* _tmp27_;
+ DataView* _tmp28_;
+ Photo* _tmp29_;
+ gboolean _tmp30_;
#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = to_set;
#line 937 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6778,18 +6780,18 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp30_) {
#line 940 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = TRUE;
-#line 6782 "MediaPage.c"
+#line 6784 "MediaPage.c"
}
}
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (p);
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 6789 "MediaPage.c"
+#line 6791 "MediaPage.c"
}
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 6793 "MediaPage.c"
+#line 6795 "MediaPage.c"
}
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = need_warn;
@@ -6797,12 +6799,12 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (!_tmp32_) {
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = TRUE;
-#line 6801 "MediaPage.c"
+#line 6803 "MediaPage.c"
} else {
- GeeArrayList* _tmp33_ = NULL;
- gint _tmp34_ = 0;
- gint _tmp35_ = 0;
- gboolean _tmp36_ = FALSE;
+ GeeArrayList* _tmp33_;
+ gint _tmp34_;
+ gint _tmp35_;
+ gboolean _tmp36_;
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp33_ = to_set;
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6813,18 +6815,18 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp36_ = dialogs_confirm_warn_developer_changed (_tmp35_);
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = _tmp36_;
-#line 6817 "MediaPage.c"
+#line 6819 "MediaPage.c"
}
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp31_) {
-#line 6821 "MediaPage.c"
+#line 6823 "MediaPage.c"
SetRawDeveloperCommand* command = NULL;
- GeeArrayList* _tmp37_ = NULL;
- RawDeveloper _tmp38_ = 0;
- SetRawDeveloperCommand* _tmp39_ = NULL;
- CommandManager* _tmp40_ = NULL;
- CommandManager* _tmp41_ = NULL;
- SetRawDeveloperCommand* _tmp42_ = NULL;
+ GeeArrayList* _tmp37_;
+ RawDeveloper _tmp38_;
+ SetRawDeveloperCommand* _tmp39_;
+ CommandManager* _tmp40_;
+ CommandManager* _tmp41_;
+ SetRawDeveloperCommand* _tmp42_;
#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp37_ = to_set;
#line 946 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6847,11 +6849,11 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
media_page_update_development_menu_item_sensitivity (self);
#line 945 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 6851 "MediaPage.c"
+#line 6853 "MediaPage.c"
}
#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (to_set);
-#line 6855 "MediaPage.c"
+#line 6857 "MediaPage.c"
}
@@ -6860,14 +6862,14 @@ void media_page_developer_changed (MediaPage* self, RawDeveloper rd) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->developer_changed (self, rd);
-#line 6864 "MediaPage.c"
+#line 6866 "MediaPage.c"
}
static void media_page_real_set_display_titles (CheckerboardPage* base, gboolean display) {
MediaPage * self;
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
#line 953 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6878,14 +6880,14 @@ static void media_page_real_set_display_titles (CheckerboardPage* base, gboolean
_tmp1_ = display;
#line 956 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle", _tmp1_);
-#line 6882 "MediaPage.c"
+#line 6884 "MediaPage.c"
}
static void media_page_real_set_display_comments (CheckerboardPage* base, gboolean display) {
MediaPage * self;
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp0_;
+ gboolean _tmp1_;
#line 959 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6896,14 +6898,14 @@ static void media_page_real_set_display_comments (CheckerboardPage* base, gboole
_tmp1_ = display;
#line 962 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment", _tmp1_);
-#line 6900 "MediaPage.c"
+#line 6902 "MediaPage.c"
}
static GAction* media_page_sort_by_title_action (MediaPage* self) {
GAction* result = NULL;
GAction* action = NULL;
- GAction* _tmp0_ = NULL;
+ GAction* _tmp0_;
#line 965 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6916,14 +6918,14 @@ static GAction* media_page_sort_by_title_action (MediaPage* self) {
result = action;
#line 968 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6920 "MediaPage.c"
+#line 6922 "MediaPage.c"
}
static GAction* media_page_sort_ascending_action (MediaPage* self) {
GAction* result = NULL;
GAction* action = NULL;
- GAction* _tmp0_ = NULL;
+ GAction* _tmp0_;
#line 971 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6936,19 +6938,19 @@ static GAction* media_page_sort_ascending_action (MediaPage* self) {
result = action;
#line 974 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6940 "MediaPage.c"
+#line 6942 "MediaPage.c"
}
gint media_page_get_menu_sort_by (MediaPage* self) {
gint result = 0;
- GAction* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- GVariant* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ GAction* _tmp0_;
+ GAction* _tmp1_;
+ GVariant* _tmp2_;
+ GVariant* _tmp3_;
+ const gchar* _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), 0);
#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -6973,24 +6975,24 @@ gint media_page_get_menu_sort_by (MediaPage* self) {
result = _tmp6_;
#line 979 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6977 "MediaPage.c"
+#line 6979 "MediaPage.c"
}
static GVariant* _variant_new30 (const gchar* value) {
#line 984 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 6984 "MediaPage.c"
+#line 6986 "MediaPage.c"
}
void media_page_set_menu_sort_by (MediaPage* self, gint val) {
gchar* sort = NULL;
- gint _tmp0_ = 0;
- gchar* _tmp1_ = NULL;
- GAction* _tmp2_ = NULL;
- GAction* _tmp3_ = NULL;
- GVariant* _tmp4_ = NULL;
+ gint _tmp0_;
+ gchar* _tmp1_;
+ GAction* _tmp2_;
+ GAction* _tmp3_;
+ GVariant* _tmp4_;
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 983 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7013,18 +7015,18 @@ void media_page_set_menu_sort_by (MediaPage* self, gint val) {
_g_object_unref0 (_tmp3_);
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (sort);
-#line 7017 "MediaPage.c"
+#line 7019 "MediaPage.c"
}
gboolean media_page_get_menu_sort_order (MediaPage* self) {
gboolean result = FALSE;
- GAction* _tmp0_ = NULL;
- GAction* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- GVariant* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GAction* _tmp0_;
+ GAction* _tmp1_;
+ GVariant* _tmp2_;
+ GVariant* _tmp3_;
+ const gchar* _tmp4_;
+ gboolean _tmp5_;
#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7047,23 +7049,23 @@ gboolean media_page_get_menu_sort_order (MediaPage* self) {
result = _tmp5_;
#line 989 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7051 "MediaPage.c"
+#line 7053 "MediaPage.c"
}
static GVariant* _variant_new31 (const gchar* value) {
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 7058 "MediaPage.c"
+#line 7060 "MediaPage.c"
}
void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) {
const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- GAction* _tmp2_ = NULL;
- GAction* _tmp3_ = NULL;
- GVariant* _tmp4_ = NULL;
+ gboolean _tmp1_;
+ GAction* _tmp2_;
+ GAction* _tmp3_;
+ GVariant* _tmp4_;
#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7072,11 +7074,11 @@ void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) {
if (_tmp1_) {
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = "ascending";
-#line 7076 "MediaPage.c"
+#line 7078 "MediaPage.c"
} else {
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = "descending";
-#line 7080 "MediaPage.c"
+#line 7082 "MediaPage.c"
}
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_sort_ascending_action (self);
@@ -7090,7 +7092,7 @@ void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) {
_g_variant_unref0 (_tmp4_);
#line 993 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp3_);
-#line 7094 "MediaPage.c"
+#line 7096 "MediaPage.c"
}
@@ -7099,7 +7101,7 @@ static gint64 _thumbnail_title_ascending_comparator_comparator (void* a, void* b
result = thumbnail_title_ascending_comparator (a, b);
#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7103 "MediaPage.c"
+#line 7105 "MediaPage.c"
}
@@ -7108,7 +7110,7 @@ static gint64 _thumbnail_title_descending_comparator_comparator (void* a, void*
result = thumbnail_title_descending_comparator (a, b);
#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7112 "MediaPage.c"
+#line 7114 "MediaPage.c"
}
@@ -7117,7 +7119,7 @@ static gboolean _thumbnail_title_comparator_predicate_comparator_predicate (Data
result = thumbnail_title_comparator_predicate (object, alteration);
#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7121 "MediaPage.c"
+#line 7123 "MediaPage.c"
}
@@ -7126,7 +7128,7 @@ static gint64 _thumbnail_exposure_time_ascending_comparator_comparator (void* a,
result = thumbnail_exposure_time_ascending_comparator (a, b);
#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7130 "MediaPage.c"
+#line 7132 "MediaPage.c"
}
@@ -7135,7 +7137,7 @@ static gint64 _thumbnail_exposure_time_desending_comparator_comparator (void* a,
result = thumbnail_exposure_time_desending_comparator (a, b);
#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7139 "MediaPage.c"
+#line 7141 "MediaPage.c"
}
@@ -7144,7 +7146,7 @@ static gboolean _thumbnail_exposure_time_comparator_predicate_comparator_predica
result = thumbnail_exposure_time_comparator_predicate (object, alteration);
#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7148 "MediaPage.c"
+#line 7150 "MediaPage.c"
}
@@ -7153,7 +7155,7 @@ static gint64 _thumbnail_rating_ascending_comparator_comparator (void* a, void*
result = thumbnail_rating_ascending_comparator (a, b);
#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7157 "MediaPage.c"
+#line 7159 "MediaPage.c"
}
@@ -7162,7 +7164,7 @@ static gint64 _thumbnail_rating_descending_comparator_comparator (void* a, void*
result = thumbnail_rating_descending_comparator (a, b);
#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7166 "MediaPage.c"
+#line 7168 "MediaPage.c"
}
@@ -7171,7 +7173,7 @@ static gboolean _thumbnail_rating_comparator_predicate_comparator_predicate (Dat
result = thumbnail_rating_comparator_predicate (object, alteration);
#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7175 "MediaPage.c"
+#line 7177 "MediaPage.c"
}
@@ -7180,7 +7182,7 @@ static gint64 _thumbnail_filename_ascending_comparator_comparator (void* a, void
result = thumbnail_filename_ascending_comparator (a, b);
#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7184 "MediaPage.c"
+#line 7186 "MediaPage.c"
}
@@ -7189,7 +7191,7 @@ static gint64 _thumbnail_filename_descending_comparator_comparator (void* a, voi
result = thumbnail_filename_descending_comparator (a, b);
#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7193 "MediaPage.c"
+#line 7195 "MediaPage.c"
}
@@ -7198,7 +7200,7 @@ static gboolean _thumbnail_filename_comparator_predicate_comparator_predicate (D
result = thumbnail_filename_comparator_predicate (object, alteration);
#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7202 "MediaPage.c"
+#line 7204 "MediaPage.c"
}
@@ -7209,13 +7211,13 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
ComparatorPredicate predicate = NULL;
void* predicate_target = NULL;
GDestroyNotify predicate_target_destroy_notify = NULL;
- gint _tmp0_ = 0;
- ViewCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- Comparator _tmp10_ = NULL;
- void* _tmp10__target = NULL;
- ComparatorPredicate _tmp11_ = NULL;
- void* _tmp11__target = NULL;
+ gint _tmp0_;
+ ViewCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ Comparator _tmp10_;
+ void* _tmp10__target;
+ ComparatorPredicate _tmp11_;
+ void* _tmp11__target;
#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7224,9 +7226,9 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
switch (_tmp0_) {
#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_TITLE:
-#line 7228 "MediaPage.c"
+#line 7230 "MediaPage.c"
{
- gboolean _tmp1_ = FALSE;
+ gboolean _tmp1_;
#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = ascending;
#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7245,7 +7247,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7249 "MediaPage.c"
+#line 7251 "MediaPage.c"
} else {
#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
@@ -7261,7 +7263,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7265 "MediaPage.c"
+#line 7267 "MediaPage.c"
}
#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
@@ -7279,13 +7281,13 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
predicate_target_destroy_notify = NULL;
#line 1006 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7283 "MediaPage.c"
+#line 7285 "MediaPage.c"
}
#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_EXPOSURE_DATE:
-#line 7287 "MediaPage.c"
+#line 7289 "MediaPage.c"
{
- gboolean _tmp2_ = FALSE;
+ gboolean _tmp2_;
#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = ascending;
#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7304,7 +7306,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7308 "MediaPage.c"
+#line 7310 "MediaPage.c"
} else {
#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
@@ -7320,7 +7322,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7324 "MediaPage.c"
+#line 7326 "MediaPage.c"
}
#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
@@ -7338,13 +7340,13 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
predicate_target_destroy_notify = NULL;
#line 1013 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7342 "MediaPage.c"
+#line 7344 "MediaPage.c"
}
#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_RATING:
-#line 7346 "MediaPage.c"
+#line 7348 "MediaPage.c"
{
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp3_;
#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = ascending;
#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7363,7 +7365,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7367 "MediaPage.c"
+#line 7369 "MediaPage.c"
} else {
#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
@@ -7379,7 +7381,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7383 "MediaPage.c"
+#line 7385 "MediaPage.c"
}
#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
@@ -7397,13 +7399,13 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
predicate_target_destroy_notify = NULL;
#line 1020 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7401 "MediaPage.c"
+#line 7403 "MediaPage.c"
}
#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_FILENAME:
-#line 7405 "MediaPage.c"
+#line 7407 "MediaPage.c"
{
- gboolean _tmp4_ = FALSE;
+ gboolean _tmp4_;
#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = ascending;
#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7422,7 +7424,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7426 "MediaPage.c"
+#line 7428 "MediaPage.c"
} else {
#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
@@ -7438,7 +7440,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7442 "MediaPage.c"
+#line 7444 "MediaPage.c"
}
#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
@@ -7456,13 +7458,13 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
predicate_target_destroy_notify = NULL;
#line 1027 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7460 "MediaPage.c"
+#line 7462 "MediaPage.c"
}
default:
{
- gint _tmp5_ = 0;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ gint _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = media_page_get_menu_sort_by (self);
#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7503,7 +7505,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
predicate_target_destroy_notify = NULL;
#line 1033 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7507 "MediaPage.c"
+#line 7509 "MediaPage.c"
}
}
#line 1036 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7538,7 +7540,7 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
comparator_target = NULL;
#line 996 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7542 "MediaPage.c"
+#line 7544 "MediaPage.c"
}
@@ -7561,7 +7563,7 @@ void media_page_sync_sort (MediaPage* self) {
media_page_set_menu_sort_order (self, sort_ascending);
#line 1061 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_view_comparator (self, sort_by, sort_ascending);
-#line 7565 "MediaPage.c"
+#line 7567 "MediaPage.c"
}
@@ -7573,30 +7575,30 @@ static void media_page_real_destroy (GtkWidget* base) {
media_page_disconnect_slider (self);
#line 1067 "/home/jens/Source/shotwell/src/MediaPage.vala"
GTK_WIDGET_CLASS (media_page_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), gtk_widget_get_type (), GtkWidget));
-#line 7577 "MediaPage.c"
+#line 7579 "MediaPage.c"
}
void media_page_increase_zoom_level (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7589 "MediaPage.c"
- MediaPageZoomSliderAssembly* _tmp1_ = NULL;
+#line 7591 "MediaPage.c"
+ MediaPageZoomSliderAssembly* _tmp1_;
#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_increase_step (_tmp1_);
-#line 7595 "MediaPage.c"
+#line 7597 "MediaPage.c"
} else {
gint new_scale = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7609,31 +7611,31 @@ void media_page_increase_zoom_level (MediaPage* self) {
_tmp4_ = new_scale;
#line 1076 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7613 "MediaPage.c"
+#line 7615 "MediaPage.c"
}
}
void media_page_decrease_zoom_level (MediaPage* self) {
- MediaPageZoomSliderAssembly* _tmp0_ = NULL;
+ MediaPageZoomSliderAssembly* _tmp0_;
#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7626 "MediaPage.c"
- MediaPageZoomSliderAssembly* _tmp1_ = NULL;
+#line 7628 "MediaPage.c"
+ MediaPageZoomSliderAssembly* _tmp1_;
#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_decrease_step (_tmp1_);
-#line 7632 "MediaPage.c"
+#line 7634 "MediaPage.c"
} else {
gint new_scale = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7646,16 +7648,16 @@ void media_page_decrease_zoom_level (MediaPage* self) {
_tmp4_ = new_scale;
#line 1086 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7650 "MediaPage.c"
+#line 7652 "MediaPage.c"
}
}
static DataView* media_page_real_create_thumbnail (MediaPage* self, DataSource* source) {
DataView* result = NULL;
- DataSource* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- Thumbnail* _tmp2_ = NULL;
+ DataSource* _tmp0_;
+ gint _tmp1_;
+ Thumbnail* _tmp2_;
#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7668,7 +7670,7 @@ static DataView* media_page_real_create_thumbnail (MediaPage* self, DataSource*
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView);
#line 1091 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7672 "MediaPage.c"
+#line 7674 "MediaPage.c"
}
@@ -7677,37 +7679,37 @@ DataView* media_page_create_thumbnail (MediaPage* self, DataSource* source) {
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
return MEDIA_PAGE_GET_CLASS (self)->create_thumbnail (self, source);
-#line 7681 "MediaPage.c"
+#line 7683 "MediaPage.c"
}
void media_page_set_thumb_size (MediaPage* self, gint new_scale) {
gboolean _tmp0_ = FALSE;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- CheckerboardLayout* _tmp10_ = NULL;
- CheckerboardLayout* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- ViewCollection* _tmp13_ = NULL;
- ViewCollection* _tmp14_ = NULL;
- ViewCollection* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- gint _tmp17_ = 0;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
+ CheckerboardLayout* _tmp10_;
+ CheckerboardLayout* _tmp11_;
+ gint _tmp12_;
+ ViewCollection* _tmp13_;
+ ViewCollection* _tmp14_;
+ ViewCollection* _tmp15_;
+ ViewCollection* _tmp16_;
+ gint _tmp17_;
GValue _tmp18_ = {0};
- ViewCollection* _tmp19_ = NULL;
- ViewCollection* _tmp20_ = NULL;
- gint _tmp21_ = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
+ ViewCollection* _tmp19_;
+ ViewCollection* _tmp20_;
+ gint _tmp21_;
+ gint _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7718,20 +7720,20 @@ void media_page_set_thumb_size (MediaPage* self, gint new_scale) {
if (_tmp1_ == _tmp2_) {
#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = TRUE;
-#line 7722 "MediaPage.c"
+#line 7724 "MediaPage.c"
} else {
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp3_;
#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = !_tmp3_;
-#line 7729 "MediaPage.c"
+#line 7731 "MediaPage.c"
}
#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_) {
#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 7735 "MediaPage.c"
+#line 7737 "MediaPage.c"
}
#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
@@ -7805,20 +7807,20 @@ void media_page_set_thumb_size (MediaPage* self, gint new_scale) {
_tmp26_ = _tmp25_;
#line 1109 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp24_ > _tmp26_);
-#line 7809 "MediaPage.c"
+#line 7811 "MediaPage.c"
}
gint media_page_get_thumb_size (MediaPage* self) {
gint result = 0;
- CheckerboardLayout* _tmp0_ = NULL;
- CheckerboardLayout* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gboolean _tmp3_ = FALSE;
- CheckerboardLayout* _tmp9_ = NULL;
- CheckerboardLayout* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
+ CheckerboardLayout* _tmp0_;
+ CheckerboardLayout* _tmp1_;
+ gint _tmp2_;
+ gboolean _tmp3_;
+ CheckerboardLayout* _tmp9_;
+ CheckerboardLayout* _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), 0);
#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7833,12 +7835,12 @@ gint media_page_get_thumb_size (MediaPage* self) {
_g_object_unref0 (_tmp1_);
#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 7837 "MediaPage.c"
- CheckerboardLayout* _tmp4_ = NULL;
- CheckerboardLayout* _tmp5_ = NULL;
- ConfigFacade* _tmp6_ = NULL;
- ConfigFacade* _tmp7_ = NULL;
- gint _tmp8_ = 0;
+#line 7839 "MediaPage.c"
+ CheckerboardLayout* _tmp4_;
+ CheckerboardLayout* _tmp5_;
+ ConfigFacade* _tmp6_;
+ ConfigFacade* _tmp7_;
+ gint _tmp8_;
#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7855,7 +7857,7 @@ gint media_page_get_thumb_size (MediaPage* self) {
_g_object_unref0 (_tmp7_);
#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp5_);
-#line 7859 "MediaPage.c"
+#line 7861 "MediaPage.c"
}
#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
@@ -7871,7 +7873,7 @@ gint media_page_get_thumb_size (MediaPage* self) {
result = _tmp12_;
#line 1116 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7875 "MediaPage.c"
+#line 7877 "MediaPage.c"
}
@@ -7880,14 +7882,14 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_out_pressed_gtk_widget_
result = media_page_zoom_slider_assembly_on_zoom_out_pressed ((MediaPageZoomSliderAssembly*) self, event);
#line 144 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7884 "MediaPage.c"
+#line 7886 "MediaPage.c"
}
static void _media_page_zoom_slider_assembly_on_slider_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
#line 155 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_on_slider_changed ((MediaPageZoomSliderAssembly*) self);
-#line 7891 "MediaPage.c"
+#line 7893 "MediaPage.c"
}
@@ -7896,46 +7898,45 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_in_pressed_gtk_widget_b
result = media_page_zoom_slider_assembly_on_zoom_in_pressed ((MediaPageZoomSliderAssembly*) self, event);
#line 168 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7900 "MediaPage.c"
+#line 7902 "MediaPage.c"
}
MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_construct (GType object_type) {
MediaPageZoomSliderAssembly * self = NULL;
GtkBox* zoom_group = NULL;
- GtkBox* _tmp0_ = NULL;
+ GtkBox* _tmp0_;
GtkImage* zoom_out = NULL;
- GdkPixbuf* _tmp1_ = NULL;
- GdkPixbuf* _tmp2_ = NULL;
- GtkImage* _tmp3_ = NULL;
- GtkImage* _tmp4_ = NULL;
+ GdkPixbuf* _tmp1_;
+ GdkPixbuf* _tmp2_;
+ GtkImage* _tmp3_;
+ GtkImage* _tmp4_;
GtkEventBox* zoom_out_box = NULL;
- GtkEventBox* _tmp5_ = NULL;
+ GtkEventBox* _tmp5_;
gint persisted_scale = 0;
- ConfigFacade* _tmp6_ = NULL;
- ConfigFacade* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- gdouble _tmp10_ = 0.0;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
- gdouble _tmp13_ = 0.0;
- GtkAdjustment* _tmp14_ = NULL;
- GtkAdjustment* _tmp15_ = NULL;
- GtkScale* _tmp16_ = NULL;
- GtkScale* _tmp17_ = NULL;
- GtkScale* _tmp18_ = NULL;
- GtkScale* _tmp19_ = NULL;
- GtkScale* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- GtkScale* _tmp22_ = NULL;
+ ConfigFacade* _tmp6_;
+ ConfigFacade* _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
+ gdouble _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
+ gdouble _tmp13_;
+ GtkAdjustment* _tmp14_;
+ GtkAdjustment* _tmp15_;
+ GtkScale* _tmp16_;
+ GtkScale* _tmp17_;
+ GtkScale* _tmp18_;
+ GtkScale* _tmp19_;
+ GtkScale* _tmp20_;
+ GtkScale* _tmp21_;
GtkImage* zoom_in = NULL;
- GdkPixbuf* _tmp23_ = NULL;
- GdkPixbuf* _tmp24_ = NULL;
- GtkImage* _tmp25_ = NULL;
- GtkImage* _tmp26_ = NULL;
+ GdkPixbuf* _tmp22_;
+ GdkPixbuf* _tmp23_;
+ GtkImage* _tmp24_;
+ GtkImage* _tmp25_;
GtkEventBox* zoom_in_box = NULL;
- GtkEventBox* _tmp27_ = NULL;
+ GtkEventBox* _tmp26_;
#line 135 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = (MediaPageZoomSliderAssembly*) g_object_new (object_type, NULL);
#line 136 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8027,33 +8028,31 @@ MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_construct (GType ob
#line 158 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = self->priv->slider;
#line 158 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp21_ = _ ("Adjust the size of the thumbnails");
-#line 158 "/home/jens/Source/shotwell/src/MediaPage.vala"
- gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), _tmp21_);
+ gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget), _ ("Adjust the size of the thumbnails"));
#line 160 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp22_ = self->priv->slider;
+ _tmp21_ = self->priv->slider;
#line 160 "/home/jens/Source/shotwell/src/MediaPage.vala"
- gtk_box_pack_start (zoom_group, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (zoom_group, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp23_ = resources_load_icon (RESOURCES_ICON_ZOOM_IN, RESOURCES_ICON_ZOOM_SCALE);
+ _tmp22_ = resources_load_icon (RESOURCES_ICON_ZOOM_IN, RESOURCES_ICON_ZOOM_SCALE);
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp24_ = _tmp23_;
+ _tmp23_ = _tmp22_;
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp25_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp24_);
+ _tmp24_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp23_);
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_object_ref_sink (_tmp25_);
+ g_object_ref_sink (_tmp24_);
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp26_ = _tmp25_;
+ _tmp25_ = _tmp24_;
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp24_);
+ _g_object_unref0 (_tmp23_);
#line 162 "/home/jens/Source/shotwell/src/MediaPage.vala"
- zoom_in = _tmp26_;
+ zoom_in = _tmp25_;
#line 164 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp27_ = (GtkEventBox*) gtk_event_box_new ();
+ _tmp26_ = (GtkEventBox*) gtk_event_box_new ();
#line 164 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_object_ref_sink (_tmp27_);
+ g_object_ref_sink (_tmp26_);
#line 164 "/home/jens/Source/shotwell/src/MediaPage.vala"
- zoom_in_box = _tmp27_;
+ zoom_in_box = _tmp26_;
#line 165 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_event_box_set_above_child (zoom_in_box, TRUE);
#line 166 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8078,28 +8077,28 @@ MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_construct (GType ob
_g_object_unref0 (zoom_group);
#line 135 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self;
-#line 8082 "MediaPage.c"
+#line 8081 "MediaPage.c"
}
MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_new (void) {
#line 135 "/home/jens/Source/shotwell/src/MediaPage.vala"
return media_page_zoom_slider_assembly_construct (MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY);
-#line 8089 "MediaPage.c"
+#line 8088 "MediaPage.c"
}
gdouble media_page_zoom_slider_assembly_scale_to_slider (gint value) {
gdouble result = 0.0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
#line 176 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
#line 176 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8126,20 +8125,20 @@ gdouble media_page_zoom_slider_assembly_scale_to_slider (gint value) {
result = (gdouble) ((_tmp6_ - _tmp8_) / MEDIA_PAGE_SLIDER_STEPPING);
#line 179 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8130 "MediaPage.c"
+#line 8129 "MediaPage.c"
}
gint media_page_zoom_slider_assembly_slider_to_scale (gdouble value) {
gint result = 0;
gint res = 0;
- gdouble _tmp0_ = 0.0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
+ gdouble _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp6_;
#line 183 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = value;
#line 183 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8164,7 +8163,7 @@ gint media_page_zoom_slider_assembly_slider_to_scale (gdouble value) {
result = res;
#line 188 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8168 "MediaPage.c"
+#line 8167 "MediaPage.c"
}
@@ -8180,7 +8179,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_out_pressed (MediaPageZo
result = TRUE;
#line 193 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8184 "MediaPage.c"
+#line 8183 "MediaPage.c"
}
@@ -8196,7 +8195,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_in_pressed (MediaPageZoo
result = TRUE;
#line 198 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8200 "MediaPage.c"
+#line 8199 "MediaPage.c"
}
@@ -8204,16 +8203,16 @@ static void media_page_zoom_slider_assembly_on_slider_changed (MediaPageZoomSlid
#line 201 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 202 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_signal_emit_by_name (self, "zoom-changed");
-#line 8209 "MediaPage.c"
+ g_signal_emit (self, media_page_zoom_slider_assembly_signals[MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_ZOOM_CHANGED_SIGNAL], 0);
+#line 8208 "MediaPage.c"
}
void media_page_zoom_slider_assembly_snap_to_min (MediaPageZoomSliderAssembly* self) {
- GtkScale* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gdouble _tmp3_ = 0.0;
+ GtkScale* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gdouble _tmp3_;
#line 205 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 206 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8226,15 +8225,15 @@ void media_page_zoom_slider_assembly_snap_to_min (MediaPageZoomSliderAssembly* s
_tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_);
#line 206 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_);
-#line 8230 "MediaPage.c"
+#line 8229 "MediaPage.c"
}
void media_page_zoom_slider_assembly_snap_to_max (MediaPageZoomSliderAssembly* self) {
- GtkScale* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gdouble _tmp3_ = 0.0;
+ GtkScale* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gdouble _tmp3_;
#line 209 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 210 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8247,19 +8246,19 @@ void media_page_zoom_slider_assembly_snap_to_max (MediaPageZoomSliderAssembly* s
_tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_);
#line 210 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_);
-#line 8251 "MediaPage.c"
+#line 8250 "MediaPage.c"
}
void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly* self) {
gint new_scale = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- GtkScale* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gdouble _tmp6_ = 0.0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ GtkScale* _tmp4_;
+ gint _tmp5_;
+ gdouble _tmp6_;
#line 213 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 214 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8276,7 +8275,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 217 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8280 "MediaPage.c"
+#line 8279 "MediaPage.c"
}
#line 219 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8286,19 +8285,19 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly*
_tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_);
#line 219 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_);
-#line 8290 "MediaPage.c"
+#line 8289 "MediaPage.c"
}
void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly* self) {
gint new_scale = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- GtkScale* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- gdouble _tmp6_ = 0.0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ GtkScale* _tmp4_;
+ gint _tmp5_;
+ gdouble _tmp6_;
#line 222 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 223 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8315,7 +8314,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 226 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8319 "MediaPage.c"
+#line 8318 "MediaPage.c"
}
#line 228 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8325,15 +8324,15 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly*
_tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_);
#line 228 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_);
-#line 8329 "MediaPage.c"
+#line 8328 "MediaPage.c"
}
gint media_page_zoom_slider_assembly_get_scale (MediaPageZoomSliderAssembly* self) {
gint result = 0;
- GtkScale* _tmp0_ = NULL;
- gdouble _tmp1_ = 0.0;
- gint _tmp2_ = 0;
+ GtkScale* _tmp0_;
+ gdouble _tmp1_;
+ gint _tmp2_;
#line 231 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self), 0);
#line 232 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8346,16 +8345,16 @@ gint media_page_zoom_slider_assembly_get_scale (MediaPageZoomSliderAssembly* sel
result = _tmp2_;
#line 232 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8350 "MediaPage.c"
+#line 8349 "MediaPage.c"
}
void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* self, gint scale) {
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- GtkScale* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gdouble _tmp4_ = 0.0;
+ gint _tmp0_;
+ gint _tmp1_;
+ GtkScale* _tmp2_;
+ gint _tmp3_;
+ gdouble _tmp4_;
#line 235 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 236 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -8366,7 +8365,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel
if (_tmp0_ == _tmp1_) {
#line 237 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8370 "MediaPage.c"
+#line 8369 "MediaPage.c"
}
#line 239 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = self->priv->slider;
@@ -8376,7 +8375,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel
_tmp4_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp3_);
#line 239 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_range_get_type (), GtkRange), _tmp4_);
-#line 8380 "MediaPage.c"
+#line 8379 "MediaPage.c"
}
@@ -8388,19 +8387,19 @@ static void media_page_zoom_slider_assembly_class_init (MediaPageZoomSliderAssem
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (klass)->finalize = media_page_zoom_slider_assembly_finalize;
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_signal_new ("zoom_changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 8393 "MediaPage.c"
+ media_page_zoom_slider_assembly_signals[MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_ZOOM_CHANGED_SIGNAL] = g_signal_new ("zoom-changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 8392 "MediaPage.c"
}
static void media_page_zoom_slider_assembly_instance_init (MediaPageZoomSliderAssembly * self) {
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv = MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_GET_PRIVATE (self);
-#line 8400 "MediaPage.c"
+#line 8399 "MediaPage.c"
}
-static void media_page_zoom_slider_assembly_finalize (GObject* obj) {
+static void media_page_zoom_slider_assembly_finalize (GObject * obj) {
MediaPageZoomSliderAssembly * self;
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, MediaPageZoomSliderAssembly);
@@ -8410,7 +8409,7 @@ static void media_page_zoom_slider_assembly_finalize (GObject* obj) {
_g_object_unref0 (self->priv->adjustment);
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (media_page_zoom_slider_assembly_parent_class)->finalize (obj);
-#line 8414 "MediaPage.c"
+#line 8413 "MediaPage.c"
}
@@ -8432,86 +8431,86 @@ static void media_page_class_init (MediaPageClass * klass) {
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_type_class_add_private (klass, sizeof (MediaPagePrivate));
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->init_collect_ui_filenames = (void (*)(Page*, GeeList*)) media_page_real_init_collect_ui_filenames;
+ ((PageClass *) klass)->init_collect_ui_filenames = (void (*) (Page *, GeeList*)) media_page_real_init_collect_ui_filenames;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->add_actions = (void (*)(Page*, GActionMap*)) media_page_real_add_actions;
+ ((PageClass *) klass)->add_actions = (void (*) (Page *, GActionMap*)) media_page_real_add_actions;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->remove_actions = (void (*)(Page*, GActionMap*)) media_page_real_remove_actions;
+ ((PageClass *) klass)->remove_actions = (void (*) (Page *, GActionMap*)) media_page_real_remove_actions;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->update_actions = (void (*)(Page*, gint, gint)) media_page_real_update_actions;
+ ((PageClass *) klass)->update_actions = (void (*) (Page *, gint, gint)) media_page_real_update_actions;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*)(CheckerboardPage*)) media_page_real_get_view_tracker;
+ ((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*) (CheckerboardPage *)) media_page_real_get_view_tracker;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->on_mousewheel_up = (gboolean (*)(Page*, GdkEventScroll*)) media_page_real_on_mousewheel_up;
+ ((PageClass *) klass)->on_mousewheel_up = (gboolean (*) (Page *, GdkEventScroll*)) media_page_real_on_mousewheel_up;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->on_mousewheel_down = (gboolean (*)(Page*, GdkEventScroll*)) media_page_real_on_mousewheel_down;
+ ((PageClass *) klass)->on_mousewheel_down = (gboolean (*) (Page *, GdkEventScroll*)) media_page_real_on_mousewheel_down;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->on_app_key_pressed = (gboolean (*)(Page*, GdkEventKey*)) media_page_real_on_app_key_pressed;
+ ((PageClass *) klass)->on_app_key_pressed = (gboolean (*) (Page *, GdkEventKey*)) media_page_real_on_app_key_pressed;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->switched_to = (void (*)(Page*)) media_page_real_switched_to;
+ ((PageClass *) klass)->switched_to = (void (*) (Page *)) media_page_real_switched_to;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((PageClass *) klass)->switching_from = (void (*)(Page*)) media_page_real_switching_from;
+ ((PageClass *) klass)->switching_from = (void (*) (Page *)) media_page_real_switching_from;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_zoom_changed = (void (*)(MediaPage*)) media_page_real_on_zoom_changed;
+ ((MediaPageClass *) klass)->on_zoom_changed = (void (*) (MediaPage *)) media_page_real_on_zoom_changed;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_export = (void (*)(MediaPage*)) media_page_real_on_export;
+ ((MediaPageClass *) klass)->on_export = (void (*) (MediaPage *)) media_page_real_on_export;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_increase_size = (void (*)(MediaPage*)) media_page_real_on_increase_size;
+ ((MediaPageClass *) klass)->on_increase_size = (void (*) (MediaPage *)) media_page_real_on_increase_size;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_decrease_size = (void (*)(MediaPage*)) media_page_real_on_decrease_size;
+ ((MediaPageClass *) klass)->on_decrease_size = (void (*) (MediaPage *)) media_page_real_on_decrease_size;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_increase_rating = (void (*)(MediaPage*)) media_page_real_on_increase_rating;
+ ((MediaPageClass *) klass)->on_increase_rating = (void (*) (MediaPage *)) media_page_real_on_increase_rating;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_decrease_rating = (void (*)(MediaPage*)) media_page_real_on_decrease_rating;
+ ((MediaPageClass *) klass)->on_decrease_rating = (void (*) (MediaPage *)) media_page_real_on_decrease_rating;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_set_rating = (void (*)(MediaPage*, Rating)) media_page_real_on_set_rating;
+ ((MediaPageClass *) klass)->on_set_rating = (void (*) (MediaPage *, Rating)) media_page_real_on_set_rating;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_rejected = (void (*)(MediaPage*)) media_page_real_on_rate_rejected;
+ ((MediaPageClass *) klass)->on_rate_rejected = (void (*) (MediaPage *)) media_page_real_on_rate_rejected;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_unrated = (void (*)(MediaPage*)) media_page_real_on_rate_unrated;
+ ((MediaPageClass *) klass)->on_rate_unrated = (void (*) (MediaPage *)) media_page_real_on_rate_unrated;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_one = (void (*)(MediaPage*)) media_page_real_on_rate_one;
+ ((MediaPageClass *) klass)->on_rate_one = (void (*) (MediaPage *)) media_page_real_on_rate_one;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_two = (void (*)(MediaPage*)) media_page_real_on_rate_two;
+ ((MediaPageClass *) klass)->on_rate_two = (void (*) (MediaPage *)) media_page_real_on_rate_two;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_three = (void (*)(MediaPage*)) media_page_real_on_rate_three;
+ ((MediaPageClass *) klass)->on_rate_three = (void (*) (MediaPage *)) media_page_real_on_rate_three;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_four = (void (*)(MediaPage*)) media_page_real_on_rate_four;
+ ((MediaPageClass *) klass)->on_rate_four = (void (*) (MediaPage *)) media_page_real_on_rate_four;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_rate_five = (void (*)(MediaPage*)) media_page_real_on_rate_five;
+ ((MediaPageClass *) klass)->on_rate_five = (void (*) (MediaPage *)) media_page_real_on_rate_five;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_move_to_trash = (void (*)(MediaPage*)) media_page_real_on_move_to_trash;
+ ((MediaPageClass *) klass)->on_move_to_trash = (void (*) (MediaPage *)) media_page_real_on_move_to_trash;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_edit_title = (void (*)(MediaPage*)) media_page_real_on_edit_title;
+ ((MediaPageClass *) klass)->on_edit_title = (void (*) (MediaPage *)) media_page_real_on_edit_title;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_edit_comment = (void (*)(MediaPage*)) media_page_real_on_edit_comment;
+ ((MediaPageClass *) klass)->on_edit_comment = (void (*) (MediaPage *)) media_page_real_on_edit_comment;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_display_titles = (void (*)(MediaPage*, GSimpleAction*, GVariant*)) media_page_real_on_display_titles;
+ ((MediaPageClass *) klass)->on_display_titles = (void (*) (MediaPage *, GSimpleAction*, GVariant*)) media_page_real_on_display_titles;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_display_comments = (void (*)(MediaPage*, GSimpleAction*, GVariant*)) media_page_real_on_display_comments;
+ ((MediaPageClass *) klass)->on_display_comments = (void (*) (MediaPage *, GSimpleAction*, GVariant*)) media_page_real_on_display_comments;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_display_ratings = (void (*)(MediaPage*, GSimpleAction*, GVariant*)) media_page_real_on_display_ratings;
+ ((MediaPageClass *) klass)->on_display_ratings = (void (*) (MediaPage *, GSimpleAction*, GVariant*)) media_page_real_on_display_ratings;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_display_tags = (void (*)(MediaPage*, GSimpleAction*, GVariant*)) media_page_real_on_display_tags;
+ ((MediaPageClass *) klass)->on_display_tags = (void (*) (MediaPage *, GSimpleAction*, GVariant*)) media_page_real_on_display_tags;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->get_config_photos_sort = (void (*)(MediaPage*, gboolean*, gint*)) media_page_real_get_config_photos_sort;
+ ((MediaPageClass *) klass)->get_config_photos_sort = (void (*) (MediaPage *, gboolean*, gint*)) media_page_real_get_config_photos_sort;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->set_config_photos_sort = (void (*)(MediaPage*, gboolean, gint)) media_page_real_set_config_photos_sort;
+ ((MediaPageClass *) klass)->set_config_photos_sort = (void (*) (MediaPage *, gboolean, gint)) media_page_real_set_config_photos_sort;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->on_sort_changed = (void (*)(MediaPage*, GSimpleAction*, GVariant*)) media_page_real_on_sort_changed;
+ ((MediaPageClass *) klass)->on_sort_changed = (void (*) (MediaPage *, GSimpleAction*, GVariant*)) media_page_real_on_sort_changed;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->developer_changed = (void (*)(MediaPage*, RawDeveloper)) media_page_real_developer_changed;
+ ((MediaPageClass *) klass)->developer_changed = (void (*) (MediaPage *, RawDeveloper)) media_page_real_developer_changed;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((CheckerboardPageClass *) klass)->set_display_titles = (void (*)(CheckerboardPage*, gboolean)) media_page_real_set_display_titles;
+ ((CheckerboardPageClass *) klass)->set_display_titles = (void (*) (CheckerboardPage *, gboolean)) media_page_real_set_display_titles;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((CheckerboardPageClass *) klass)->set_display_comments = (void (*)(CheckerboardPage*, gboolean)) media_page_real_set_display_comments;
+ ((CheckerboardPageClass *) klass)->set_display_comments = (void (*) (CheckerboardPage *, gboolean)) media_page_real_set_display_comments;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((GtkWidgetClass *) klass)->destroy = (void (*)(GtkWidget*)) media_page_real_destroy;
+ ((GtkWidgetClass *) klass)->destroy = (void (*) (GtkWidget *)) media_page_real_destroy;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
- ((MediaPageClass *) klass)->create_thumbnail = (DataView* (*)(MediaPage*, DataSource*)) media_page_real_create_thumbnail;
+ ((MediaPageClass *) klass)->create_thumbnail = (DataView* (*) (MediaPage *, DataSource*)) media_page_real_create_thumbnail;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (klass)->finalize = media_page_finalize;
-#line 8515 "MediaPage.c"
+#line 8514 "MediaPage.c"
}
@@ -8522,11 +8521,11 @@ static void media_page_instance_init (MediaPage * self) {
self->priv->connected_slider = NULL;
#line 244 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->dnd_handler = NULL;
-#line 8526 "MediaPage.c"
+#line 8525 "MediaPage.c"
}
-static void media_page_finalize (GObject* obj) {
+static void media_page_finalize (GObject * obj) {
MediaPage * self;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MEDIA_PAGE, MediaPage);
@@ -8538,7 +8537,7 @@ static void media_page_finalize (GObject* obj) {
_core_tracker_unref0 (self->priv->tracker);
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (media_page_parent_class)->finalize (obj);
-#line 8542 "MediaPage.c"
+#line 8541 "MediaPage.c"
}