summaryrefslogtreecommitdiff
path: root/src/events/EventDirectoryItem.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:55:59 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:55:59 +0200
commitab841afa5cb39058d9ab2cebb67cfe6369443f6e (patch)
tree64961342a79003ee865b3f9f8f41f99f09f37a2e /src/events/EventDirectoryItem.c
parent49120f48474fc8fdc2448c75d961bc238213cfac (diff)
New upstream version 0.28.3upstream/0.28.3
Diffstat (limited to 'src/events/EventDirectoryItem.c')
-rw-r--r--src/events/EventDirectoryItem.c1375
1 files changed, 706 insertions, 669 deletions
diff --git a/src/events/EventDirectoryItem.c b/src/events/EventDirectoryItem.c
index 5141809..9862c4b 100644
--- a/src/events/EventDirectoryItem.c
+++ b/src/events/EventDirectoryItem.c
@@ -1,4 +1,4 @@
-/* EventDirectoryItem.c generated by valac 0.36.6, the Vala compiler
+/* EventDirectoryItem.c generated by valac 0.40.4, the Vala compiler
* generated from EventDirectoryItem.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -139,6 +140,11 @@ typedef struct _EventSourceClass EventSourceClass;
typedef struct _Event Event;
typedef struct _EventClass EventClass;
+enum {
+ EVENT_DIRECTORY_ITEM_0_PROPERTY,
+ EVENT_DIRECTORY_ITEM_NUM_PROPERTIES
+};
+static GParamSpec* event_directory_item_properties[EVENT_DIRECTORY_ITEM_NUM_PROPERTIES];
#define TYPE_SOURCE_COLLECTION (source_collection_get_type ())
#define SOURCE_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SOURCE_COLLECTION, SourceCollection))
@@ -357,16 +363,28 @@ Scaling event_directory_item_squared_scaling = {0};
GType data_object_get_type (void) G_GNUC_CONST;
gpointer alteration_ref (gpointer instance);
void alteration_unref (gpointer instance);
-GParamSpec* param_spec_alteration (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_alteration (GValue* value, gpointer v_object);
-void value_take_alteration (GValue* value, gpointer v_object);
+GParamSpec* param_spec_alteration (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_alteration (GValue* value,
+ gpointer v_object);
+void value_take_alteration (GValue* value,
+ gpointer v_object);
gpointer value_get_alteration (const GValue* value);
GType alteration_get_type (void) G_GNUC_CONST;
gpointer data_collection_ref (gpointer instance);
void data_collection_unref (gpointer instance);
-GParamSpec* param_spec_data_collection (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_data_collection (GValue* value, gpointer v_object);
-void value_take_data_collection (GValue* value, gpointer v_object);
+GParamSpec* param_spec_data_collection (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_data_collection (GValue* value,
+ gpointer v_object);
+void value_take_data_collection (GValue* value,
+ gpointer v_object);
gpointer value_get_data_collection (const GValue* value);
GType data_collection_get_type (void) G_GNUC_CONST;
GType data_view_get_type (void) G_GNUC_CONST;
@@ -381,48 +399,85 @@ GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType event_source_get_type (void) G_GNUC_CONST;
GType event_get_type (void) G_GNUC_CONST;
#define EVENT_DIRECTORY_ITEM_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItemPrivate))
-enum {
- EVENT_DIRECTORY_ITEM_DUMMY_PROPERTY
-};
GType source_collection_get_type (void) G_GNUC_CONST;
GType database_source_collection_get_type (void) G_GNUC_CONST;
GType container_source_collection_get_type (void) G_GNUC_CONST;
GType event_source_collection_get_type (void) G_GNUC_CONST;
-static void event_directory_item_on_events_altered (EventDirectoryItem* self, GeeMap* map);
-static void _event_directory_item_on_events_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self);
+static void event_directory_item_on_events_altered (EventDirectoryItem* self,
+ GeeMap* map);
+static void _event_directory_item_on_events_altered_data_collection_items_altered (DataCollection* _sender,
+ GeeMap* items,
+ gpointer self);
GType scaling_get_type (void) G_GNUC_CONST;
GType scale_constraint_get_type (void) G_GNUC_CONST;
Scaling* scaling_dup (const Scaling* self);
void scaling_free (Scaling* self);
-void scaling_to_fill_viewport (Dimensions* viewport, Scaling* result);
+void scaling_to_fill_viewport (Dimensions* viewport,
+ Scaling* result);
static gint event_directory_item_get_CROPPED_SCALE (void);
-void dimensions_init (Dimensions *self, gint width, gint height);
+void dimensions_init (Dimensions *self,
+ gint width,
+ gint height);
EventDirectoryItem* event_directory_item_new (Event* event);
-EventDirectoryItem* event_directory_item_construct (GType object_type, Event* event);
+EventDirectoryItem* event_directory_item_construct (GType object_type,
+ Event* event);
static gchar* event_directory_item_get_formatted_title (Event* event);
gchar* event_source_get_comment (EventSource* self);
-CheckerboardItem* checkerboard_item_construct (GType object_type, ThumbnailSource* source, Dimensions* initial_pixbuf_dim, const gchar* title, const gchar* comment, gboolean marked_up, PangoAlignment alignment);
+CheckerboardItem* checkerboard_item_construct (GType object_type,
+ ThumbnailSource* source,
+ Dimensions* initial_pixbuf_dim,
+ const gchar* title,
+ const gchar* comment,
+ gboolean marked_up,
+ PangoAlignment alignment);
GType media_source_get_type (void) G_GNUC_CONST;
-static void event_directory_item_get_paul_lynde_rect (MediaSource* source, GdkRectangle* result);
+static void event_directory_item_get_paul_lynde_rect (MediaSource* source,
+ GdkRectangle* result);
MediaSource* event_get_primary_source (Event* self);
-void checkerboard_item_clear_image (CheckerboardItem* self, Dimensions* dim);
-void dimensions_for_rectangle (GdkRectangle* rect, Dimensions* result);
-void scaling_get_scaled_dimensions (Scaling *self, Dimensions* original, Dimensions* result);
+void checkerboard_item_clear_image (CheckerboardItem* self,
+ Dimensions* dim);
+void dimensions_for_rectangle (GdkRectangle* rect,
+ Dimensions* result);
+void scaling_get_scaled_dimensions (Scaling *self,
+ Dimensions* original,
+ Dimensions* result);
GType photo_exception_get_type (void) G_GNUC_CONST;
-void media_source_get_dimensions (MediaSource* self, PhotoException disallowed_steps, Dimensions* result);
-static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media, GdkRectangle* paul_lynde, GError** error);
-GdkPixbuf* media_source_get_preview_pixbuf (MediaSource* self, Scaling* scaling, GError** error);
-void thumbnail_cache_fetch_async_scaled (ThumbnailSource* source, gint scale, Dimensions* dim, GdkInterpType interp, ThumbnailCacheAsyncFetchCallback callback, void* callback_target, GCancellable* cancellable);
+void media_source_get_dimensions (MediaSource* self,
+ PhotoException disallowed_steps,
+ Dimensions* result);
+static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media,
+ GdkRectangle* paul_lynde,
+ GError** error);
+GdkPixbuf* media_source_get_preview_pixbuf (MediaSource* self,
+ Scaling* scaling,
+ GError** error);
+void thumbnail_cache_fetch_async_scaled (ThumbnailSource* source,
+ gint scale,
+ Dimensions* dim,
+ GdkInterpType interp,
+ ThumbnailCacheAsyncFetchCallback callback,
+ void* callback_target,
+ GCancellable* cancellable);
GType thumbnail_cache_size_get_type (void) G_GNUC_CONST;
#define THUMBNAIL_CACHE_DEFAULT_INTERP GDK_INTERP_HYPER
static void ___lambda19_ (void);
-static void ____lambda19__thumbnail_cache_async_fetch_callback (GdkPixbuf* pixbuf, GdkPixbuf* unscaled, Dimensions* dim, GdkInterpType interp, GError* err, gpointer self);
+static void ____lambda19__thumbnail_cache_async_fetch_callback (GdkPixbuf* pixbuf,
+ GdkPixbuf* unscaled,
+ Dimensions* dim,
+ GdkInterpType interp,
+ GError* err,
+ gpointer self);
GType photo_source_get_type (void) G_GNUC_CONST;
GType photo_get_type (void) G_GNUC_CONST;
GType library_photo_get_type (void) G_GNUC_CONST;
-GdkPixbuf* photo_source_get_pixbuf (PhotoSource* self, Scaling* scaling, GError** error);
-void dimensions_for_pixbuf (GdkPixbuf* pixbuf, Dimensions* result);
-void clamp_rectangle (GdkRectangle* original, Dimensions* max, GdkRectangle* result);
+GdkPixbuf* photo_source_get_pixbuf (PhotoSource* self,
+ Scaling* scaling,
+ GError** error);
+void dimensions_for_pixbuf (GdkPixbuf* pixbuf,
+ Dimensions* result);
+void clamp_rectangle (GdkRectangle* original,
+ Dimensions* max,
+ GdkRectangle* result);
gboolean media_source_collection_has_photo (GeeCollection* media);
GeeCollection* event_source_get_media (EventSource* self);
gboolean media_source_collection_has_video (GeeCollection* media);
@@ -432,392 +487,423 @@ gchar* data_object_get_name (DataObject* self);
gchar* guarded_markup_escape_text (const gchar* plain);
static void event_directory_item_real_exposed (CheckerboardItem* base);
gboolean checkerboard_item_is_exposed (CheckerboardItem* self);
-void checkerboard_item_set_image (CheckerboardItem* self, GdkPixbuf* pixbuf);
+void checkerboard_item_set_image (CheckerboardItem* self,
+ GdkPixbuf* pixbuf);
gchar* data_object_to_string (DataObject* self);
-static void event_directory_item_update_comment (EventDirectoryItem* self, gboolean init);
+static void event_directory_item_update_comment (EventDirectoryItem* self,
+ gboolean init);
void checkerboard_item_exposed (CheckerboardItem* self);
static void event_directory_item_real_unexposed (CheckerboardItem* base);
void checkerboard_item_unexposed (CheckerboardItem* self);
-void checkerboard_item_set_title (CheckerboardItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment);
+void checkerboard_item_set_title (CheckerboardItem* self,
+ const gchar* text,
+ gboolean marked_up,
+ PangoAlignment alignment);
static void event_directory_item_real_thumbnail_altered (ThumbnailView* base);
-static void event_directory_item_real_paint_shadow (CheckerboardItem* base, cairo_t* ctx, Dimensions* dimensions, GdkPoint* origin, gint radius, gfloat initial_alpha);
-void checkerboard_item_paint_shadow (CheckerboardItem* self, cairo_t* ctx, Dimensions* dimensions, GdkPoint* origin, gint radius, gfloat initial_alpha);
-static void event_directory_item_real_paint_border (CheckerboardItem* base, cairo_t* ctx, Dimensions* object_dimensions, GdkPoint* object_origin, gint border_width);
-void checkerboard_item_get_border_dimensions (Dimensions* object_dim, gint border_width, Dimensions* result);
-void checkerboard_item_get_border_origin (GdkPoint* object_origin, gint border_width, GdkPoint* result);
-void draw_rounded_corners_filled (cairo_t* ctx, Dimensions* dim, GdkPoint* origin, gdouble radius_proportion);
-static void event_directory_item_real_paint_image (CheckerboardItem* base, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin);
-void context_rounded_corners (cairo_t* cx, Dimensions* dim, GdkPoint* origin, gdouble radius_proportion);
+static void event_directory_item_real_paint_shadow (CheckerboardItem* base,
+ cairo_t* ctx,
+ Dimensions* dimensions,
+ GdkPoint* origin,
+ gint radius,
+ gfloat initial_alpha);
+void checkerboard_item_paint_shadow (CheckerboardItem* self,
+ cairo_t* ctx,
+ Dimensions* dimensions,
+ GdkPoint* origin,
+ gint radius,
+ gfloat initial_alpha);
+static void event_directory_item_real_paint_border (CheckerboardItem* base,
+ cairo_t* ctx,
+ Dimensions* object_dimensions,
+ GdkPoint* object_origin,
+ gint border_width);
+void checkerboard_item_get_border_dimensions (Dimensions* object_dim,
+ gint border_width,
+ Dimensions* result);
+void checkerboard_item_get_border_origin (GdkPoint* object_origin,
+ gint border_width,
+ GdkPoint* result);
+void draw_rounded_corners_filled (cairo_t* ctx,
+ Dimensions* dim,
+ GdkPoint* origin,
+ gdouble radius_proportion);
+static void event_directory_item_real_paint_image (CheckerboardItem* base,
+ cairo_t* ctx,
+ GdkPixbuf* pixbuf,
+ GdkPoint* origin);
+void context_rounded_corners (cairo_t* cx,
+ Dimensions* dim,
+ GdkPoint* origin,
+ gdouble radius_proportion);
gboolean is_string_empty (const gchar* s);
void checkerboard_item_clear_comment (CheckerboardItem* self);
-void checkerboard_item_set_comment (CheckerboardItem* self, const gchar* text, gboolean marked_up, PangoAlignment alignment);
+void checkerboard_item_set_comment (CheckerboardItem* self,
+ const gchar* text,
+ gboolean marked_up,
+ PangoAlignment alignment);
gint thumbnail_cache_size_get_scale (ThumbnailCacheSize self);
static void event_directory_item_finalize (GObject * obj);
-static void _vala_event_directory_item_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
+static void _vala_event_directory_item_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec);
-static void _event_directory_item_on_events_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
+static void
+_event_directory_item_on_events_altered_data_collection_items_altered (DataCollection* _sender,
+ GeeMap* items,
+ gpointer self)
+{
#line 39 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
event_directory_item_on_events_altered ((EventDirectoryItem*) self, items);
-#line 463 "EventDirectoryItem.c"
+#line 560 "EventDirectoryItem.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 26 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return self ? g_object_ref (self) : NULL;
-#line 470 "EventDirectoryItem.c"
+#line 569 "EventDirectoryItem.c"
}
-EventDirectoryItem* event_directory_item_construct (GType object_type, Event* event) {
+EventDirectoryItem*
+event_directory_item_construct (GType object_type,
+ Event* event)
+{
EventDirectoryItem * self = NULL;
- Event* _tmp0_;
+ gint _tmp0_;
gint _tmp1_;
gint _tmp2_;
gint _tmp3_;
- gint _tmp4_;
- Dimensions _tmp5_ = {0};
- Event* _tmp6_;
+ Dimensions _tmp4_ = {0};
+ gchar* _tmp5_;
+ gchar* _tmp6_;
gchar* _tmp7_;
gchar* _tmp8_;
Event* _tmp9_;
- gchar* _tmp10_;
- gchar* _tmp11_;
- Event* _tmp12_;
- Event* _tmp13_;
- Event* _tmp14_;
- MediaSource* _tmp15_;
- MediaSource* _tmp16_;
- GdkRectangle _tmp17_ = {0};
- GdkRectangle _tmp18_;
- Dimensions _tmp19_ = {0};
- EventSourceCollection* _tmp20_;
+ MediaSource* _tmp10_;
+ MediaSource* _tmp11_;
+ GdkRectangle _tmp12_ = {0};
+ GdkRectangle _tmp13_;
+ Dimensions _tmp14_ = {0};
+ EventSourceCollection* _tmp15_;
#line 22 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_val_if_fail (IS_EVENT (event), NULL);
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = event;
+ _tmp0_ = event_directory_item_get_CROPPED_SCALE ();
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp1_ = _tmp0_;
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = _tmp1_;
+ _tmp2_ = event_directory_item_get_CROPPED_SCALE ();
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp3_ = _tmp2_;
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = _tmp3_;
+ dimensions_init (&_tmp4_, _tmp1_, _tmp3_);
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_init (&_tmp5_, _tmp2_, _tmp4_);
+ _tmp5_ = event_directory_item_get_formatted_title (event);
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = event;
+ _tmp6_ = _tmp5_;
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = event_directory_item_get_formatted_title (_tmp6_);
+ _tmp7_ = event_source_get_comment (G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_EVENT_SOURCE, EventSource));
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_tmp8_ = _tmp7_;
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = event;
-#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = event_source_get_comment (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_EVENT_SOURCE, EventSource));
-#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = _tmp10_;
-#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- self = (EventDirectoryItem*) checkerboard_item_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), &_tmp5_, _tmp8_, _tmp11_, TRUE, PANGO_ALIGN_CENTER);
-#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp11_);
+ self = (EventDirectoryItem*) checkerboard_item_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), &_tmp4_, _tmp6_, _tmp8_, TRUE, PANGO_ALIGN_CENTER);
#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (_tmp8_);
+#line 23 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
+ _g_free0 (_tmp6_);
#line 26 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = event;
-#line 26 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = _g_object_ref0 (_tmp12_);
+ _tmp9_ = _g_object_ref0 (event);
#line 26 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (self->event);
#line 26 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- self->event = _tmp13_;
+ self->event = _tmp9_;
#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = event;
+ _tmp10_ = event_get_primary_source (event);
#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp15_ = event_get_primary_source (_tmp14_);
-#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp16_ = _tmp15_;
+ _tmp11_ = _tmp10_;
#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- event_directory_item_get_paul_lynde_rect (_tmp16_, &_tmp17_);
+ event_directory_item_get_paul_lynde_rect (_tmp11_, &_tmp12_);
#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- self->priv->paul_lynde = _tmp17_;
+ self->priv->paul_lynde = _tmp12_;
#line 29 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp16_);
+ _g_object_unref0 (_tmp11_);
#line 32 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp18_ = self->priv->paul_lynde;
+ _tmp13_ = self->priv->paul_lynde;
#line 32 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_rectangle (&_tmp18_, &_tmp19_);
+ dimensions_for_rectangle (&_tmp13_, &_tmp14_);
#line 32 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp19_);
+ checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp14_);
#line 35 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp20_ = event_global;
+ _tmp15_ = event_global;
#line 35 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_COLLECTION, DataCollection), "items-altered", (GCallback) _event_directory_item_on_events_altered_data_collection_items_altered, self, 0);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_COLLECTION, DataCollection), "items-altered", (GCallback) _event_directory_item_on_events_altered_data_collection_items_altered, self, 0);
#line 22 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return self;
-#line 561 "EventDirectoryItem.c"
+#line 648 "EventDirectoryItem.c"
}
-EventDirectoryItem* event_directory_item_new (Event* event) {
+EventDirectoryItem*
+event_directory_item_new (Event* event)
+{
#line 22 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return event_directory_item_construct (TYPE_EVENT_DIRECTORY_ITEM, event);
-#line 568 "EventDirectoryItem.c"
+#line 657 "EventDirectoryItem.c"
}
-static void event_directory_item_get_paul_lynde_rect (MediaSource* source, GdkRectangle* result) {
+static void
+event_directory_item_get_paul_lynde_rect (MediaSource* source,
+ GdkRectangle* result)
+{
Dimensions scaled = {0};
- MediaSource* _tmp0_;
+ Dimensions _tmp0_ = {0};
Dimensions _tmp1_ = {0};
- Dimensions _tmp2_ = {0};
GdkRectangle paul_lynde = {0};
- Dimensions _tmp3_;
+ Dimensions _tmp2_;
+ gint _tmp3_;
gint _tmp4_;
gint _tmp5_;
- gint _tmp6_;
- Dimensions _tmp7_;
- gint _tmp8_;
+ Dimensions _tmp6_;
+ gint _tmp7_;
+ Dimensions _tmp8_;
gint _tmp9_;
- Dimensions _tmp10_;
+ gint _tmp10_;
gint _tmp11_;
- gint _tmp12_;
+ Dimensions _tmp12_;
gint _tmp13_;
- Dimensions _tmp14_;
+ gint _tmp14_;
gint _tmp15_;
gint _tmp16_;
gint _tmp17_;
- gint _tmp18_;
- gint _tmp19_;
- gint _tmp20_;
#line 43 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_if_fail (IS_MEDIA_SOURCE (source));
#line 44 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = source;
-#line 44 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- media_source_get_dimensions (_tmp0_, PHOTO_EXCEPTION_NONE, &_tmp1_);
+ media_source_get_dimensions (source, PHOTO_EXCEPTION_NONE, &_tmp0_);
#line 44 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- scaling_get_scaled_dimensions (&event_directory_item_squared_scaling, &_tmp1_, &_tmp2_);
+ scaling_get_scaled_dimensions (&event_directory_item_squared_scaling, &_tmp0_, &_tmp1_);
#line 44 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- scaled = _tmp2_;
+ scaled = _tmp1_;
#line 46 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
memset (&paul_lynde, 0, sizeof (GdkRectangle));
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = scaled;
+ _tmp2_ = scaled;
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = _tmp3_.width;
+ _tmp3_ = _tmp2_.width;
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp4_ = event_directory_item_get_CROPPED_SCALE ();
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = _tmp5_;
-#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = scaled;
+ _tmp5_ = _tmp4_;
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = _tmp7_.width;
+ _tmp6_ = scaled;
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = CLAMP (_tmp4_ - _tmp6_, 0, _tmp8_);
+ _tmp7_ = _tmp6_.width;
#line 47 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- paul_lynde.x = _tmp9_ / 2;
+ paul_lynde.x = CLAMP (_tmp3_ - _tmp5_, 0, _tmp7_) / 2;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = scaled;
+ _tmp8_ = scaled;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = _tmp10_.height;
+ _tmp9_ = _tmp8_.height;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp10_ = event_directory_item_get_CROPPED_SCALE ();
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = _tmp12_;
-#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = scaled;
+ _tmp11_ = _tmp10_;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp15_ = _tmp14_.height;
+ _tmp12_ = scaled;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp16_ = CLAMP (_tmp11_ - _tmp13_, 0, _tmp15_);
+ _tmp13_ = _tmp12_.height;
#line 48 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- paul_lynde.y = _tmp16_ / 2;
+ paul_lynde.y = CLAMP (_tmp9_ - _tmp11_, 0, _tmp13_) / 2;
#line 49 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp17_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp14_ = event_directory_item_get_CROPPED_SCALE ();
#line 49 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp18_ = _tmp17_;
+ _tmp15_ = _tmp14_;
#line 49 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- paul_lynde.width = _tmp18_;
+ paul_lynde.width = _tmp15_;
#line 50 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp19_ = event_directory_item_get_CROPPED_SCALE ();
+ _tmp16_ = event_directory_item_get_CROPPED_SCALE ();
#line 50 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp20_ = _tmp19_;
+ _tmp17_ = _tmp16_;
#line 50 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- paul_lynde.height = _tmp20_;
+ paul_lynde.height = _tmp17_;
#line 52 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
*result = paul_lynde;
#line 52 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return;
-#line 656 "EventDirectoryItem.c"
+#line 739 "EventDirectoryItem.c"
}
-static void ___lambda19_ (void) {
+static void
+___lambda19_ (void)
+{
}
-static void ____lambda19__thumbnail_cache_async_fetch_callback (GdkPixbuf* pixbuf, GdkPixbuf* unscaled, Dimensions* dim, GdkInterpType interp, GError* err, gpointer self) {
+static void
+____lambda19__thumbnail_cache_async_fetch_callback (GdkPixbuf* pixbuf,
+ GdkPixbuf* unscaled,
+ Dimensions* dim,
+ GdkInterpType interp,
+ GError* err,
+ gpointer self)
+{
#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
___lambda19_ ();
-#line 667 "EventDirectoryItem.c"
+#line 759 "EventDirectoryItem.c"
}
-static gpointer _g_error_copy0 (gpointer self) {
+static gpointer
+_g_error_copy0 (gpointer self)
+{
#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return self ? g_error_copy (self) : NULL;
-#line 674 "EventDirectoryItem.c"
+#line 768 "EventDirectoryItem.c"
}
-static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media, GdkRectangle* paul_lynde, GError** error) {
+static GdkPixbuf*
+event_directory_item_get_paul_lynde (MediaSource* media,
+ GdkRectangle* paul_lynde,
+ GError** error)
+{
GdkPixbuf* result = NULL;
GdkPixbuf* pixbuf = NULL;
Dimensions thumbnail_dimensions = {0};
- GdkPixbuf* _tmp17_;
- Dimensions _tmp18_ = {0};
- gboolean _tmp19_ = FALSE;
- Dimensions _tmp20_;
- gint _tmp21_;
- GdkRectangle _tmp22_;
- gint _tmp23_;
- GdkRectangle _tmp37_;
- Dimensions _tmp38_;
- GdkRectangle _tmp39_ = {0};
- GdkPixbuf* _tmp40_;
- GdkRectangle _tmp41_;
- gint _tmp42_;
- GdkRectangle _tmp43_;
- gint _tmp44_;
- GdkRectangle _tmp45_;
- gint _tmp46_;
- GdkRectangle _tmp47_;
- gint _tmp48_;
- GdkPixbuf* _tmp49_;
+ GdkPixbuf* _tmp13_;
+ Dimensions _tmp14_ = {0};
+ gboolean _tmp15_ = FALSE;
+ Dimensions _tmp16_;
+ gint _tmp17_;
+ GdkRectangle _tmp18_;
+ gint _tmp19_;
+ GdkRectangle _tmp32_;
+ Dimensions _tmp33_;
+ GdkRectangle _tmp34_ = {0};
+ GdkPixbuf* _tmp35_;
+ GdkRectangle _tmp36_;
+ gint _tmp37_;
+ GdkRectangle _tmp38_;
+ gint _tmp39_;
+ GdkRectangle _tmp40_;
+ gint _tmp41_;
+ GdkRectangle _tmp42_;
+ gint _tmp43_;
+ GdkPixbuf* _tmp44_;
GError * _inner_error_ = NULL;
#line 56 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE (media), NULL);
#line 56 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_val_if_fail (paul_lynde != NULL, NULL);
-#line 707 "EventDirectoryItem.c"
+#line 805 "EventDirectoryItem.c"
{
GdkPixbuf* _tmp0_ = NULL;
- MediaSource* _tmp1_;
- Scaling _tmp2_;
+ Scaling _tmp1_;
+ GdkPixbuf* _tmp2_;
GdkPixbuf* _tmp3_;
- GdkPixbuf* _tmp4_;
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = media;
+ _tmp1_ = event_directory_item_squared_scaling;
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = event_directory_item_squared_scaling;
+ _tmp2_ = media_source_get_preview_pixbuf (media, &_tmp1_, &_inner_error_);
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = media_source_get_preview_pixbuf (_tmp1_, &_tmp2_, &_inner_error_);
-#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = _tmp3_;
+ _tmp0_ = _tmp2_;
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 724 "EventDirectoryItem.c"
+#line 819 "EventDirectoryItem.c"
goto __catch58_g_error;
}
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = _tmp0_;
+ _tmp3_ = _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_tmp0_ = NULL;
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (pixbuf);
#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- pixbuf = _tmp4_;
+ pixbuf = _tmp3_;
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (_tmp0_);
-#line 737 "EventDirectoryItem.c"
+#line 832 "EventDirectoryItem.c"
}
goto __finally58;
__catch58_g_error:
{
GError* _error_ = NULL;
- MediaSource* _tmp5_;
- Dimensions _tmp6_ = {0};
- MediaSource* _tmp7_;
+ Dimensions _tmp4_ = {0};
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_error_ = _inner_error_;
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_inner_error_ = NULL;
#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = media;
+ dimensions_init (&_tmp4_, (gint) THUMBNAIL_CACHE_SIZE_BIG, (gint) THUMBNAIL_CACHE_SIZE_BIG);
#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_init (&_tmp6_, (gint) THUMBNAIL_CACHE_SIZE_BIG, (gint) THUMBNAIL_CACHE_SIZE_BIG);
-#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- thumbnail_cache_fetch_async_scaled (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), (gint) THUMBNAIL_CACHE_SIZE_BIG, &_tmp6_, THUMBNAIL_CACHE_DEFAULT_INTERP, ____lambda19__thumbnail_cache_async_fetch_callback, NULL, NULL);
-#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = media;
+ thumbnail_cache_fetch_async_scaled (G_TYPE_CHECK_INSTANCE_CAST (media, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), (gint) THUMBNAIL_CACHE_SIZE_BIG, &_tmp4_, THUMBNAIL_CACHE_DEFAULT_INTERP, ____lambda19__thumbnail_cache_async_fetch_callback, NULL, NULL);
#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO)) {
-#line 760 "EventDirectoryItem.c"
+ if (G_TYPE_CHECK_INSTANCE_TYPE (media, TYPE_LIBRARY_PHOTO)) {
+#line 849 "EventDirectoryItem.c"
LibraryPhoto* photo = NULL;
- MediaSource* _tmp8_;
- LibraryPhoto* _tmp9_;
- GdkPixbuf* _tmp10_ = NULL;
- LibraryPhoto* _tmp11_;
- Scaling _tmp12_;
- GdkPixbuf* _tmp13_;
- GdkPixbuf* _tmp14_;
-#line 66 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = media;
+ LibraryPhoto* _tmp5_;
+ GdkPixbuf* _tmp6_ = NULL;
+ LibraryPhoto* _tmp7_;
+ Scaling _tmp8_;
+ GdkPixbuf* _tmp9_;
+ GdkPixbuf* _tmp10_;
#line 66 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_LIBRARY_PHOTO, LibraryPhoto));
+ _tmp5_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (media, TYPE_LIBRARY_PHOTO, LibraryPhoto));
#line 66 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- photo = _tmp9_;
+ photo = _tmp5_;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = photo;
+ _tmp7_ = photo;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = event_directory_item_squared_scaling;
+ _tmp8_ = event_directory_item_squared_scaling;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp12_, &_inner_error_);
+ _tmp9_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp8_, &_inner_error_);
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = _tmp13_;
+ _tmp6_ = _tmp9_;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (photo);
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_error_free0 (_error_);
-#line 789 "EventDirectoryItem.c"
+#line 875 "EventDirectoryItem.c"
goto __finally58;
}
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = _tmp10_;
+ _tmp10_ = _tmp6_;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = NULL;
+ _tmp6_ = NULL;
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (pixbuf);
#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- pixbuf = _tmp14_;
+ pixbuf = _tmp10_;
#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp10_);
+ _g_object_unref0 (_tmp6_);
#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (photo);
-#line 804 "EventDirectoryItem.c"
+#line 890 "EventDirectoryItem.c"
} else {
- GError* _tmp15_;
- GError* _tmp16_;
+ GError* _tmp11_;
+ GError* _tmp12_;
#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp15_ = _error_;
+ _tmp11_ = _error_;
#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp16_ = _g_error_copy0 (_tmp15_);
+ _tmp12_ = _g_error_copy0 (_tmp11_);
#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _inner_error_ = _tmp16_;
+ _inner_error_ = _tmp12_;
#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_error_free0 (_error_);
-#line 816 "EventDirectoryItem.c"
+#line 902 "EventDirectoryItem.c"
goto __finally58;
}
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_error_free0 (_error_);
-#line 821 "EventDirectoryItem.c"
+#line 907 "EventDirectoryItem.c"
}
__finally58:
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -828,71 +914,68 @@ static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media, GdkRe
_g_object_unref0 (pixbuf);
#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return NULL;
-#line 832 "EventDirectoryItem.c"
+#line 918 "EventDirectoryItem.c"
}
#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp17_ = pixbuf;
+ _tmp13_ = pixbuf;
#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_pixbuf (_tmp17_, &_tmp18_);
+ dimensions_for_pixbuf (_tmp13_, &_tmp14_);
#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- thumbnail_dimensions = _tmp18_;
+ thumbnail_dimensions = _tmp14_;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp20_ = thumbnail_dimensions;
+ _tmp16_ = thumbnail_dimensions;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp21_ = _tmp20_.width;
+ _tmp17_ = _tmp16_.width;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp22_ = *paul_lynde;
+ _tmp18_ = *paul_lynde;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp23_ = _tmp22_.width;
+ _tmp19_ = _tmp18_.width;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp21_ > (2 * _tmp23_)) {
+ if (_tmp17_ > (2 * _tmp19_)) {
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp19_ = TRUE;
-#line 852 "EventDirectoryItem.c"
+ _tmp15_ = TRUE;
+#line 938 "EventDirectoryItem.c"
} else {
- Dimensions _tmp24_;
- gint _tmp25_;
- GdkRectangle _tmp26_;
- gint _tmp27_;
+ Dimensions _tmp20_;
+ gint _tmp21_;
+ GdkRectangle _tmp22_;
+ gint _tmp23_;
#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp24_ = thumbnail_dimensions;
+ _tmp20_ = thumbnail_dimensions;
#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp25_ = _tmp24_.height;
+ _tmp21_ = _tmp20_.height;
#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp26_ = *paul_lynde;
+ _tmp22_ = *paul_lynde;
#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp27_ = _tmp26_.height;
+ _tmp23_ = _tmp22_.height;
#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp19_ = _tmp25_ > (_tmp27_ * 2);
-#line 868 "EventDirectoryItem.c"
+ _tmp15_ = _tmp21_ > (_tmp23_ * 2);
+#line 954 "EventDirectoryItem.c"
}
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp19_) {
-#line 872 "EventDirectoryItem.c"
+ if (_tmp15_) {
+#line 958 "EventDirectoryItem.c"
LibraryPhoto* photo = NULL;
- MediaSource* _tmp28_;
- LibraryPhoto* _tmp29_;
- GdkPixbuf* _tmp30_ = NULL;
- LibraryPhoto* _tmp31_;
- Scaling _tmp32_;
- GdkPixbuf* _tmp33_;
- GdkPixbuf* _tmp34_;
- GdkPixbuf* _tmp35_;
- Dimensions _tmp36_ = {0};
-#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp28_ = media;
+ LibraryPhoto* _tmp24_;
+ GdkPixbuf* _tmp25_ = NULL;
+ LibraryPhoto* _tmp26_;
+ Scaling _tmp27_;
+ GdkPixbuf* _tmp28_;
+ GdkPixbuf* _tmp29_;
+ GdkPixbuf* _tmp30_;
+ Dimensions _tmp31_ = {0};
#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, TYPE_LIBRARY_PHOTO, LibraryPhoto));
+ _tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (media, TYPE_LIBRARY_PHOTO, LibraryPhoto));
#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- photo = _tmp29_;
+ photo = _tmp24_;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp31_ = photo;
+ _tmp26_ = photo;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp32_ = event_directory_item_squared_scaling;
+ _tmp27_ = event_directory_item_squared_scaling;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp33_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp32_, &_inner_error_);
+ _tmp28_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp27_, &_inner_error_);
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp30_ = _tmp33_;
+ _tmp25_ = _tmp28_;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -903,269 +986,247 @@ static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media, GdkRe
_g_object_unref0 (pixbuf);
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return NULL;
-#line 907 "EventDirectoryItem.c"
+#line 990 "EventDirectoryItem.c"
}
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp34_ = _tmp30_;
+ _tmp29_ = _tmp25_;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp30_ = NULL;
+ _tmp25_ = NULL;
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (pixbuf);
#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- pixbuf = _tmp34_;
+ pixbuf = _tmp29_;
#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp35_ = pixbuf;
+ _tmp30_ = pixbuf;
#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_pixbuf (_tmp35_, &_tmp36_);
+ dimensions_for_pixbuf (_tmp30_, &_tmp31_);
#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- thumbnail_dimensions = _tmp36_;
+ thumbnail_dimensions = _tmp31_;
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp30_);
+ _g_object_unref0 (_tmp25_);
#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (photo);
-#line 927 "EventDirectoryItem.c"
+#line 1010 "EventDirectoryItem.c"
}
#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp37_ = *paul_lynde;
+ _tmp32_ = *paul_lynde;
#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp38_ = thumbnail_dimensions;
+ _tmp33_ = thumbnail_dimensions;
#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- clamp_rectangle (&_tmp37_, &_tmp38_, &_tmp39_);
+ clamp_rectangle (&_tmp32_, &_tmp33_, &_tmp34_);
#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- *paul_lynde = _tmp39_;
+ *paul_lynde = _tmp34_;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp40_ = pixbuf;
+ _tmp35_ = pixbuf;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp41_ = *paul_lynde;
+ _tmp36_ = *paul_lynde;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp42_ = _tmp41_.x;
+ _tmp37_ = _tmp36_.x;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp43_ = *paul_lynde;
+ _tmp38_ = *paul_lynde;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp44_ = _tmp43_.y;
+ _tmp39_ = _tmp38_.y;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp45_ = *paul_lynde;
+ _tmp40_ = *paul_lynde;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp46_ = _tmp45_.width;
+ _tmp41_ = _tmp40_.width;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp47_ = *paul_lynde;
+ _tmp42_ = *paul_lynde;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp48_ = _tmp47_.height;
+ _tmp43_ = _tmp42_.height;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp49_ = gdk_pixbuf_new_subpixbuf (_tmp40_, _tmp42_, _tmp44_, _tmp46_, _tmp48_);
+ _tmp44_ = gdk_pixbuf_new_subpixbuf (_tmp35_, _tmp37_, _tmp39_, _tmp41_, _tmp43_);
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- result = _tmp49_;
+ result = _tmp44_;
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (pixbuf);
#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return result;
-#line 963 "EventDirectoryItem.c"
+#line 1046 "EventDirectoryItem.c"
}
-static gchar* event_directory_item_get_formatted_title (Event* event) {
+static gchar*
+event_directory_item_get_formatted_title (Event* event)
+{
gchar* result = NULL;
gboolean has_photos = FALSE;
- Event* _tmp0_;
+ GeeCollection* _tmp0_;
GeeCollection* _tmp1_;
- GeeCollection* _tmp2_;
- gboolean _tmp3_;
- gboolean _tmp4_;
+ gboolean _tmp2_;
gboolean has_videos = FALSE;
- Event* _tmp5_;
- GeeCollection* _tmp6_;
- GeeCollection* _tmp7_;
- gboolean _tmp8_;
- gboolean _tmp9_;
+ GeeCollection* _tmp3_;
+ GeeCollection* _tmp4_;
+ gboolean _tmp5_;
gint count = 0;
- Event* _tmp10_;
- gint _tmp11_;
gchar* count_text = NULL;
- gchar* _tmp12_;
- gboolean _tmp13_ = FALSE;
- gboolean _tmp14_;
+ gchar* _tmp6_;
+ gboolean _tmp7_ = FALSE;
+ gboolean _tmp8_;
gchar* daterange = NULL;
- Event* _tmp26_;
- gchar* _tmp27_;
+ gchar* _tmp20_;
gchar* name = NULL;
- Event* _tmp28_;
- gchar* _tmp29_;
- gboolean _tmp30_ = FALSE;
- const gchar* _tmp31_;
+ gchar* _tmp21_;
+ gboolean _tmp22_ = FALSE;
+ const gchar* _tmp23_;
#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_val_if_fail (IS_EVENT (event), NULL);
#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = event;
+ _tmp0_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_EVENT_SOURCE, EventSource));
#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_EVENT_SOURCE, EventSource));
-#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = _tmp1_;
+ _tmp1_ = _tmp0_;
#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = media_source_collection_has_photo (_tmp2_);
+ _tmp2_ = media_source_collection_has_photo (_tmp1_);
#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = _tmp3_;
+ _g_object_unref0 (_tmp1_);
#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp2_);
-#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- has_photos = _tmp4_;
-#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = event;
+ has_photos = _tmp2_;
#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_EVENT_SOURCE, EventSource));
+ _tmp3_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_EVENT_SOURCE, EventSource));
#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = _tmp6_;
-#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = media_source_collection_has_video (_tmp7_);
+ _tmp4_ = _tmp3_;
#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = _tmp8_;
+ _tmp5_ = media_source_collection_has_video (_tmp4_);
#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp7_);
+ _g_object_unref0 (_tmp4_);
#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- has_videos = _tmp9_;
-#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = event;
-#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = event_source_get_media_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_EVENT_SOURCE, EventSource));
+ has_videos = _tmp5_;
#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- count = _tmp11_;
+ count = event_source_get_media_count (G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_EVENT_SOURCE, EventSource));
#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = g_strdup ("");
+ _tmp6_ = g_strdup ("");
#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- count_text = _tmp12_;
+ count_text = _tmp6_;
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = has_photos;
+ _tmp8_ = has_photos;
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp14_) {
-#line 1040 "EventDirectoryItem.c"
- gboolean _tmp15_;
+ if (_tmp8_) {
+#line 1105 "EventDirectoryItem.c"
+ gboolean _tmp9_;
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp15_ = has_videos;
+ _tmp9_ = has_videos;
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = _tmp15_;
-#line 1046 "EventDirectoryItem.c"
+ _tmp7_ = _tmp9_;
+#line 1111 "EventDirectoryItem.c"
} else {
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = FALSE;
-#line 1050 "EventDirectoryItem.c"
+ _tmp7_ = FALSE;
+#line 1115 "EventDirectoryItem.c"
}
#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp13_) {
-#line 1054 "EventDirectoryItem.c"
- gint _tmp16_;
- gint _tmp17_;
- gchar* _tmp18_;
+ if (_tmp7_) {
+#line 1119 "EventDirectoryItem.c"
+ gint _tmp10_;
+ gint _tmp11_;
+ gchar* _tmp12_;
#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp16_ = count;
+ _tmp10_ = count;
#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp17_ = count;
+ _tmp11_ = count;
#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp18_ = g_strdup_printf (ngettext ("%d Photo/Video", "%d Photos/Videos", (gulong) _tmp16_), _tmp17_);
+ _tmp12_ = g_strdup_printf (ngettext ("%d Photo/Video", "%d Photos/Videos", (gulong) _tmp10_), _tmp11_);
#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (count_text);
#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- count_text = _tmp18_;
-#line 1068 "EventDirectoryItem.c"
+ count_text = _tmp12_;
+#line 1133 "EventDirectoryItem.c"
} else {
- gboolean _tmp19_;
+ gboolean _tmp13_;
#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp19_ = has_videos;
+ _tmp13_ = has_videos;
#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp19_) {
-#line 1075 "EventDirectoryItem.c"
- gint _tmp20_;
- gint _tmp21_;
- gchar* _tmp22_;
+ if (_tmp13_) {
+#line 1140 "EventDirectoryItem.c"
+ gint _tmp14_;
+ gint _tmp15_;
+ gchar* _tmp16_;
#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp20_ = count;
+ _tmp14_ = count;
#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp21_ = count;
+ _tmp15_ = count;
#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp22_ = g_strdup_printf (ngettext ("%d Video", "%d Videos", (gulong) _tmp20_), _tmp21_);
+ _tmp16_ = g_strdup_printf (ngettext ("%d Video", "%d Videos", (gulong) _tmp14_), _tmp15_);
#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (count_text);
#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- count_text = _tmp22_;
-#line 1089 "EventDirectoryItem.c"
+ count_text = _tmp16_;
+#line 1154 "EventDirectoryItem.c"
} else {
- gint _tmp23_;
- gint _tmp24_;
- gchar* _tmp25_;
+ gint _tmp17_;
+ gint _tmp18_;
+ gchar* _tmp19_;
#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp23_ = count;
+ _tmp17_ = count;
#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp24_ = count;
+ _tmp18_ = count;
#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp25_ = g_strdup_printf (ngettext ("%d Photo", "%d Photos", (gulong) _tmp23_), _tmp24_);
+ _tmp19_ = g_strdup_printf (ngettext ("%d Photo", "%d Photos", (gulong) _tmp17_), _tmp18_);
#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (count_text);
#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- count_text = _tmp25_;
-#line 1104 "EventDirectoryItem.c"
+ count_text = _tmp19_;
+#line 1169 "EventDirectoryItem.c"
}
}
#line 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp26_ = event;
-#line 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp27_ = event_get_formatted_daterange (_tmp26_);
+ _tmp20_ = event_get_formatted_daterange (event);
#line 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- daterange = _tmp27_;
-#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp28_ = event;
+ daterange = _tmp20_;
#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp29_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, TYPE_DATA_OBJECT, DataObject));
+ _tmp21_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (event, TYPE_DATA_OBJECT, DataObject));
#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- name = _tmp29_;
+ name = _tmp21_;
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp31_ = daterange;
+ _tmp23_ = daterange;
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp31_ == NULL) {
+ if (_tmp23_ == NULL) {
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp30_ = TRUE;
-#line 1125 "EventDirectoryItem.c"
+ _tmp22_ = TRUE;
+#line 1186 "EventDirectoryItem.c"
} else {
- const gchar* _tmp32_;
- const gchar* _tmp33_;
+ const gchar* _tmp24_;
+ const gchar* _tmp25_;
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp32_ = daterange;
+ _tmp24_ = daterange;
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp33_ = name;
+ _tmp25_ = name;
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp30_ = g_strcmp0 (_tmp32_, _tmp33_) == 0;
-#line 1135 "EventDirectoryItem.c"
+ _tmp22_ = g_strcmp0 (_tmp24_, _tmp25_) == 0;
+#line 1196 "EventDirectoryItem.c"
}
#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp30_) {
-#line 1139 "EventDirectoryItem.c"
- const gchar* _tmp34_;
- gchar* _tmp35_;
- gchar* _tmp36_;
- const gchar* _tmp37_;
- gchar* _tmp38_;
- gchar* _tmp39_;
- gchar* _tmp40_;
- gchar* _tmp41_;
+ if (_tmp22_) {
+#line 1200 "EventDirectoryItem.c"
+ const gchar* _tmp26_;
+ gchar* _tmp27_;
+ gchar* _tmp28_;
+ const gchar* _tmp29_;
+ gchar* _tmp30_;
+ gchar* _tmp31_;
+ gchar* _tmp32_;
+ gchar* _tmp33_;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp34_ = name;
+ _tmp26_ = name;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp35_ = guarded_markup_escape_text (_tmp34_);
+ _tmp27_ = guarded_markup_escape_text (_tmp26_);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp36_ = _tmp35_;
+ _tmp28_ = _tmp27_;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp37_ = count_text;
+ _tmp29_ = count_text;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp38_ = guarded_markup_escape_text (_tmp37_);
+ _tmp30_ = guarded_markup_escape_text (_tmp29_);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp39_ = _tmp38_;
+ _tmp31_ = _tmp30_;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp40_ = g_strdup_printf ("<b>%s</b>\n%s", _tmp36_, _tmp39_);
+ _tmp32_ = g_strdup_printf ("<b>%s</b>\n%s", _tmp28_, _tmp31_);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp41_ = _tmp40_;
+ _tmp33_ = _tmp32_;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp39_);
+ _g_free0 (_tmp31_);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp36_);
+ _g_free0 (_tmp28_);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- result = _tmp41_;
+ result = _tmp33_;
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (name);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1174,49 +1235,49 @@ static gchar* event_directory_item_get_formatted_title (Event* event) {
_g_free0 (count_text);
#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return result;
-#line 1178 "EventDirectoryItem.c"
+#line 1239 "EventDirectoryItem.c"
} else {
- const gchar* _tmp42_;
+ const gchar* _tmp34_;
+ gchar* _tmp35_;
+ gchar* _tmp36_;
+ const gchar* _tmp37_;
+ gchar* _tmp38_;
+ gchar* _tmp39_;
+ const gchar* _tmp40_;
+ gchar* _tmp41_;
+ gchar* _tmp42_;
gchar* _tmp43_;
gchar* _tmp44_;
- const gchar* _tmp45_;
- gchar* _tmp46_;
- gchar* _tmp47_;
- const gchar* _tmp48_;
- gchar* _tmp49_;
- gchar* _tmp50_;
- gchar* _tmp51_;
- gchar* _tmp52_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp42_ = name;
+ _tmp34_ = name;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp43_ = guarded_markup_escape_text (_tmp42_);
+ _tmp35_ = guarded_markup_escape_text (_tmp34_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp44_ = _tmp43_;
+ _tmp36_ = _tmp35_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp45_ = count_text;
+ _tmp37_ = count_text;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp46_ = guarded_markup_escape_text (_tmp45_);
+ _tmp38_ = guarded_markup_escape_text (_tmp37_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp47_ = _tmp46_;
+ _tmp39_ = _tmp38_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp48_ = daterange;
+ _tmp40_ = daterange;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp49_ = guarded_markup_escape_text (_tmp48_);
+ _tmp41_ = guarded_markup_escape_text (_tmp40_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp50_ = _tmp49_;
+ _tmp42_ = _tmp41_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp51_ = g_strdup_printf ("<b>%s</b>\n%s\n%s", _tmp44_, _tmp47_, _tmp50_);
+ _tmp43_ = g_strdup_printf ("<b>%s</b>\n%s\n%s", _tmp36_, _tmp39_, _tmp42_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp52_ = _tmp51_;
+ _tmp44_ = _tmp43_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp50_);
+ _g_free0 (_tmp42_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp47_);
+ _g_free0 (_tmp39_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp44_);
+ _g_free0 (_tmp36_);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- result = _tmp52_;
+ result = _tmp44_;
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (name);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1225,7 +1286,7 @@ static gchar* event_directory_item_get_formatted_title (Event* event) {
_g_free0 (count_text);
#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return result;
-#line 1229 "EventDirectoryItem.c"
+#line 1290 "EventDirectoryItem.c"
}
#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (name);
@@ -1233,89 +1294,88 @@ static gchar* event_directory_item_get_formatted_title (Event* event) {
_g_free0 (daterange);
#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (count_text);
-#line 1237 "EventDirectoryItem.c"
+#line 1298 "EventDirectoryItem.c"
}
-static void event_directory_item_real_exposed (CheckerboardItem* base) {
+static void
+event_directory_item_real_exposed (CheckerboardItem* base)
+{
EventDirectoryItem * self;
- gboolean _tmp0_;
GError * _inner_error_ = NULL;
#line 116 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 117 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 117 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp0_) {
+ if (checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem))) {
#line 118 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return;
-#line 1253 "EventDirectoryItem.c"
+#line 1313 "EventDirectoryItem.c"
}
{
- GdkPixbuf* _tmp1_ = NULL;
- Event* _tmp2_;
+ GdkPixbuf* _tmp0_ = NULL;
+ Event* _tmp1_;
+ MediaSource* _tmp2_;
MediaSource* _tmp3_;
- MediaSource* _tmp4_;
- GdkRectangle _tmp5_;
+ GdkRectangle _tmp4_;
+ GdkPixbuf* _tmp5_;
GdkPixbuf* _tmp6_;
- GdkPixbuf* _tmp7_;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = self->event;
+ _tmp1_ = self->event;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = event_get_primary_source (_tmp2_);
+ _tmp2_ = event_get_primary_source (_tmp1_);
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = self->priv->paul_lynde;
+ _tmp4_ = self->priv->paul_lynde;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = event_directory_item_get_paul_lynde (_tmp4_, &_tmp5_, &_inner_error_);
+ _tmp5_ = event_directory_item_get_paul_lynde (_tmp3_, &_tmp4_, &_inner_error_);
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = _tmp6_;
+ _tmp6_ = _tmp5_;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = _tmp7_;
+ _tmp0_ = _tmp6_;
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1281 "EventDirectoryItem.c"
+#line 1341 "EventDirectoryItem.c"
goto __catch59_g_error;
}
#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp1_);
+ checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp0_);
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp1_);
-#line 1288 "EventDirectoryItem.c"
+ _g_object_unref0 (_tmp0_);
+#line 1348 "EventDirectoryItem.c"
}
goto __finally59;
__catch59_g_error:
{
GError* err = NULL;
- Event* _tmp8_;
+ Event* _tmp7_;
+ gchar* _tmp8_;
gchar* _tmp9_;
- gchar* _tmp10_;
- GError* _tmp11_;
- const gchar* _tmp12_;
+ GError* _tmp10_;
+ const gchar* _tmp11_;
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
err = _inner_error_;
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_inner_error_ = NULL;
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = self->event;
+ _tmp7_ = self->event;
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_OBJECT, DataObject));
+ _tmp8_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_OBJECT, DataObject));
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = _tmp9_;
+ _tmp9_ = _tmp8_;
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = err;
+ _tmp10_ = err;
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = _tmp11_->message;
+ _tmp11_ = _tmp10_->message;
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- g_critical ("EventDirectoryItem.vala:123: Unable to fetch preview for %s: %s", _tmp10_, _tmp12_);
+ g_critical ("EventDirectoryItem.vala:123: Unable to fetch preview for %s: %s", _tmp9_, _tmp11_);
#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp10_);
+ _g_free0 (_tmp9_);
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_error_free0 (err);
-#line 1319 "EventDirectoryItem.c"
+#line 1379 "EventDirectoryItem.c"
}
__finally59:
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1326,47 +1386,47 @@ static void event_directory_item_real_exposed (CheckerboardItem* base) {
g_clear_error (&_inner_error_);
#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return;
-#line 1330 "EventDirectoryItem.c"
+#line 1390 "EventDirectoryItem.c"
}
#line 126 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
event_directory_item_update_comment (self, FALSE);
#line 128 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
CHECKERBOARD_ITEM_CLASS (event_directory_item_parent_class)->exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1336 "EventDirectoryItem.c"
+#line 1396 "EventDirectoryItem.c"
}
-static void event_directory_item_real_unexposed (CheckerboardItem* base) {
+static void
+event_directory_item_real_unexposed (CheckerboardItem* base)
+{
EventDirectoryItem * self;
- gboolean _tmp0_;
- GdkRectangle _tmp1_;
- Dimensions _tmp2_ = {0};
+ GdkRectangle _tmp0_;
+ Dimensions _tmp1_ = {0};
#line 131 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 132 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 132 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (!_tmp0_) {
+ if (!checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem))) {
#line 133 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return;
-#line 1353 "EventDirectoryItem.c"
+#line 1412 "EventDirectoryItem.c"
}
#line 135 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = self->priv->paul_lynde;
+ _tmp0_ = self->priv->paul_lynde;
#line 135 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_rectangle (&_tmp1_, &_tmp2_);
+ dimensions_for_rectangle (&_tmp0_, &_tmp1_);
#line 135 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp2_);
+ checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp1_);
#line 137 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
CHECKERBOARD_ITEM_CLASS (event_directory_item_parent_class)->unexposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1363 "EventDirectoryItem.c"
+#line 1422 "EventDirectoryItem.c"
}
-static void event_directory_item_on_events_altered (EventDirectoryItem* self, GeeMap* map) {
- GeeMap* _tmp0_;
- Event* _tmp1_;
- gboolean _tmp2_;
+static void
+event_directory_item_on_events_altered (EventDirectoryItem* self,
+ GeeMap* map)
+{
+ Event* _tmp0_;
#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_if_fail (IS_EVENT_DIRECTORY_ITEM (self));
#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1374,40 +1434,37 @@ static void event_directory_item_on_events_altered (EventDirectoryItem* self, Ge
#line 141 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
event_directory_item_update_comment (self, FALSE);
#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = map;
-#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = self->event;
-#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = gee_map_has_key (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject));
+ _tmp0_ = self->event;
#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp2_) {
-#line 1385 "EventDirectoryItem.c"
- Event* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
+ if (gee_map_has_key (map, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_OBJECT, DataObject))) {
+#line 1441 "EventDirectoryItem.c"
+ Event* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = self->event;
+ _tmp1_ = self->event;
#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = event_directory_item_get_formatted_title (_tmp3_);
+ _tmp2_ = event_directory_item_get_formatted_title (_tmp1_);
#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = _tmp4_;
+ _tmp3_ = _tmp2_;
#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp5_, TRUE, PANGO_ALIGN_CENTER);
+ checkerboard_item_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp3_, TRUE, PANGO_ALIGN_CENTER);
#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp5_);
-#line 1399 "EventDirectoryItem.c"
+ _g_free0 (_tmp3_);
+#line 1455 "EventDirectoryItem.c"
}
}
-static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) {
+static void
+event_directory_item_real_thumbnail_altered (ThumbnailView* base)
+{
EventDirectoryItem * self;
MediaSource* media = NULL;
Event* _tmp0_;
MediaSource* _tmp1_;
MediaSource* _tmp2_;
GdkRectangle _tmp3_ = {0};
- gboolean _tmp4_;
GError * _inner_error_ = NULL;
#line 146 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
@@ -1424,64 +1481,62 @@ static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) {
#line 150 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self->priv->paul_lynde = _tmp3_;
#line 152 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 152 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp4_) {
-#line 1431 "EventDirectoryItem.c"
+ if (checkerboard_item_is_exposed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem))) {
+#line 1486 "EventDirectoryItem.c"
{
- GdkPixbuf* _tmp5_ = NULL;
- MediaSource* _tmp6_;
- GdkRectangle _tmp7_;
- GdkPixbuf* _tmp8_;
+ GdkPixbuf* _tmp4_ = NULL;
+ MediaSource* _tmp5_;
+ GdkRectangle _tmp6_;
+ GdkPixbuf* _tmp7_;
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = media;
+ _tmp5_ = media;
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = self->priv->paul_lynde;
+ _tmp6_ = self->priv->paul_lynde;
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = event_directory_item_get_paul_lynde (_tmp6_, &_tmp7_, &_inner_error_);
+ _tmp7_ = event_directory_item_get_paul_lynde (_tmp5_, &_tmp6_, &_inner_error_);
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = _tmp8_;
+ _tmp4_ = _tmp7_;
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1447 "EventDirectoryItem.c"
+#line 1502 "EventDirectoryItem.c"
goto __catch60_g_error;
}
#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp5_);
+ checkerboard_item_set_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp4_);
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_object_unref0 (_tmp5_);
-#line 1454 "EventDirectoryItem.c"
+ _g_object_unref0 (_tmp4_);
+#line 1509 "EventDirectoryItem.c"
}
goto __finally60;
__catch60_g_error:
{
GError* err = NULL;
- Event* _tmp9_;
+ Event* _tmp8_;
+ gchar* _tmp9_;
gchar* _tmp10_;
- gchar* _tmp11_;
- GError* _tmp12_;
- const gchar* _tmp13_;
+ GError* _tmp11_;
+ const gchar* _tmp12_;
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
err = _inner_error_;
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_inner_error_ = NULL;
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = self->event;
+ _tmp8_ = self->event;
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_OBJECT, DataObject));
+ _tmp9_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_OBJECT, DataObject));
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = _tmp10_;
+ _tmp10_ = _tmp9_;
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = err;
+ _tmp11_ = err;
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = _tmp12_->message;
+ _tmp12_ = _tmp11_->message;
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- g_critical ("EventDirectoryItem.vala:156: Unable to fetch preview for %s: %s", _tmp11_, _tmp13_);
+ g_critical ("EventDirectoryItem.vala:156: Unable to fetch preview for %s: %s", _tmp10_, _tmp12_);
#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _g_free0 (_tmp11_);
+ _g_free0 (_tmp10_);
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_error_free0 (err);
-#line 1485 "EventDirectoryItem.c"
+#line 1540 "EventDirectoryItem.c"
}
__finally60:
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1494,38 +1549,43 @@ static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) {
g_clear_error (&_inner_error_);
#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return;
-#line 1498 "EventDirectoryItem.c"
+#line 1553 "EventDirectoryItem.c"
}
} else {
- GdkRectangle _tmp14_;
- Dimensions _tmp15_ = {0};
+ GdkRectangle _tmp13_;
+ Dimensions _tmp14_ = {0};
#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = self->priv->paul_lynde;
+ _tmp13_ = self->priv->paul_lynde;
#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_rectangle (&_tmp14_, &_tmp15_);
+ dimensions_for_rectangle (&_tmp13_, &_tmp14_);
#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp15_);
-#line 1509 "EventDirectoryItem.c"
+ checkerboard_item_clear_image (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), &_tmp14_);
+#line 1564 "EventDirectoryItem.c"
}
#line 162 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
THUMBNAIL_VIEW_CLASS (event_directory_item_parent_class)->thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), TYPE_THUMBNAIL_VIEW, ThumbnailView));
#line 146 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_object_unref0 (media);
-#line 1515 "EventDirectoryItem.c"
+#line 1570 "EventDirectoryItem.c"
}
-static void event_directory_item_real_paint_shadow (CheckerboardItem* base, cairo_t* ctx, Dimensions* dimensions, GdkPoint* origin, gint radius, gfloat initial_alpha) {
+static void
+event_directory_item_real_paint_shadow (CheckerboardItem* base,
+ cairo_t* ctx,
+ Dimensions* dimensions,
+ GdkPoint* origin,
+ gint radius,
+ gfloat initial_alpha)
+{
EventDirectoryItem * self;
Dimensions altered = {0};
Dimensions _tmp0_;
gint _tmp1_;
Dimensions _tmp2_;
gint _tmp3_;
- cairo_t* _tmp4_;
- Dimensions _tmp5_;
- GdkPoint _tmp6_;
- gfloat _tmp7_;
+ Dimensions _tmp4_;
+ GdkPoint _tmp5_;
#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1545,32 +1605,31 @@ static void event_directory_item_real_paint_shadow (CheckerboardItem* base, cair
#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
dimensions_init (&altered, _tmp1_ - 25, _tmp3_ - 25);
#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = ctx;
-#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = altered;
+ _tmp4_ = altered;
#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = *origin;
+ _tmp5_ = *origin;
#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = initial_alpha;
-#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- CHECKERBOARD_ITEM_CLASS (event_directory_item_parent_class)->paint_shadow (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp4_, &_tmp5_, &_tmp6_, 36, _tmp7_);
-#line 1558 "EventDirectoryItem.c"
+ CHECKERBOARD_ITEM_CLASS (event_directory_item_parent_class)->paint_shadow (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), ctx, &_tmp4_, &_tmp5_, 36, initial_alpha);
+#line 1614 "EventDirectoryItem.c"
}
-static void event_directory_item_real_paint_border (CheckerboardItem* base, cairo_t* ctx, Dimensions* object_dimensions, GdkPoint* object_origin, gint border_width) {
+static void
+event_directory_item_real_paint_border (CheckerboardItem* base,
+ cairo_t* ctx,
+ Dimensions* object_dimensions,
+ GdkPoint* object_origin,
+ gint border_width)
+{
EventDirectoryItem * self;
Dimensions dimensions = {0};
Dimensions _tmp0_;
- gint _tmp1_;
- Dimensions _tmp2_ = {0};
+ Dimensions _tmp1_ = {0};
GdkPoint origin = {0};
- GdkPoint _tmp3_;
- gint _tmp4_;
- GdkPoint _tmp5_ = {0};
- cairo_t* _tmp6_;
- Dimensions _tmp7_;
- GdkPoint _tmp8_;
+ GdkPoint _tmp2_;
+ GdkPoint _tmp3_ = {0};
+ Dimensions _tmp4_;
+ GdkPoint _tmp5_;
#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1582,48 +1641,40 @@ static void event_directory_item_real_paint_border (CheckerboardItem* base, cair
#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_tmp0_ = *object_dimensions;
#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = border_width;
-#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_get_border_dimensions (&_tmp0_, _tmp1_, &_tmp2_);
+ checkerboard_item_get_border_dimensions (&_tmp0_, border_width, &_tmp1_);
#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions = _tmp2_;
-#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = *object_origin;
+ dimensions = _tmp1_;
#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = border_width;
+ _tmp2_ = *object_origin;
#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_get_border_origin (&_tmp3_, _tmp4_, &_tmp5_);
+ checkerboard_item_get_border_origin (&_tmp2_, border_width, &_tmp3_);
#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- origin = _tmp5_;
+ origin = _tmp3_;
#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = ctx;
+ _tmp4_ = dimensions;
#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = dimensions;
+ _tmp5_ = origin;
#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = origin;
-#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- draw_rounded_corners_filled (_tmp6_, &_tmp7_, &_tmp8_, 6.0);
-#line 1607 "EventDirectoryItem.c"
+ draw_rounded_corners_filled (ctx, &_tmp4_, &_tmp5_, 6.0);
+#line 1660 "EventDirectoryItem.c"
}
-static void event_directory_item_real_paint_image (CheckerboardItem* base, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin) {
+static void
+event_directory_item_real_paint_image (CheckerboardItem* base,
+ cairo_t* ctx,
+ GdkPixbuf* pixbuf,
+ GdkPoint* origin)
+{
EventDirectoryItem * self;
Dimensions dimensions = {0};
- GdkPixbuf* _tmp0_;
- Dimensions _tmp1_ = {0};
- GdkPixbuf* _tmp2_;
- gboolean _tmp3_;
- cairo_t* _tmp7_;
- Dimensions _tmp8_;
- GdkPoint _tmp9_;
- cairo_t* _tmp10_;
- GdkPixbuf* _tmp11_;
- GdkPoint _tmp12_;
- gint _tmp13_;
- GdkPoint _tmp14_;
- gint _tmp15_;
- cairo_t* _tmp16_;
+ Dimensions _tmp0_ = {0};
+ Dimensions _tmp3_;
+ GdkPoint _tmp4_;
+ GdkPoint _tmp5_;
+ gint _tmp6_;
+ GdkPoint _tmp7_;
+ gint _tmp8_;
#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1633,67 +1684,52 @@ static void event_directory_item_real_paint_image (CheckerboardItem* base, cairo
#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_if_fail (origin != NULL);
#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = pixbuf;
+ dimensions_for_pixbuf (pixbuf, &_tmp0_);
#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions_for_pixbuf (_tmp0_, &_tmp1_);
-#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- dimensions = _tmp1_;
-#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = pixbuf;
+ dimensions = _tmp0_;
#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = gdk_pixbuf_get_has_alpha (_tmp2_);
-#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp3_) {
-#line 1648 "EventDirectoryItem.c"
- cairo_t* _tmp4_;
- Dimensions _tmp5_;
- GdkPoint _tmp6_;
-#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = ctx;
+ if (gdk_pixbuf_get_has_alpha (pixbuf)) {
+#line 1693 "EventDirectoryItem.c"
+ Dimensions _tmp1_;
+ GdkPoint _tmp2_;
#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = dimensions;
+ _tmp1_ = dimensions;
#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp6_ = *origin;
+ _tmp2_ = *origin;
#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- draw_rounded_corners_filled (_tmp4_, &_tmp5_, &_tmp6_, 6.0);
-#line 1660 "EventDirectoryItem.c"
+ draw_rounded_corners_filled (ctx, &_tmp1_, &_tmp2_, 6.0);
+#line 1702 "EventDirectoryItem.c"
}
#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp7_ = ctx;
-#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp8_ = dimensions;
+ _tmp3_ = dimensions;
#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp9_ = *origin;
+ _tmp4_ = *origin;
#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- context_rounded_corners (_tmp7_, &_tmp8_, &_tmp9_, 6.0);
-#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp10_ = ctx;
-#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp11_ = pixbuf;
+ context_rounded_corners (ctx, &_tmp3_, &_tmp4_, 6.0);
#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp12_ = *origin;
+ _tmp5_ = *origin;
#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp13_ = _tmp12_.x;
+ _tmp6_ = _tmp5_.x;
#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp14_ = *origin;
+ _tmp7_ = *origin;
#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp15_ = _tmp14_.y;
+ _tmp8_ = _tmp7_.y;
#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- gdk_cairo_set_source_pixbuf (_tmp10_, _tmp11_, (gdouble) _tmp13_, (gdouble) _tmp15_);
+ gdk_cairo_set_source_pixbuf (ctx, pixbuf, (gdouble) _tmp6_, (gdouble) _tmp8_);
#line 189 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp16_ = ctx;
-#line 189 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- cairo_paint (_tmp16_);
-#line 1688 "EventDirectoryItem.c"
+ cairo_paint (ctx);
+#line 1722 "EventDirectoryItem.c"
}
-static void event_directory_item_update_comment (EventDirectoryItem* self, gboolean init) {
+static void
+event_directory_item_update_comment (EventDirectoryItem* self,
+ gboolean init)
+{
gchar* comment = NULL;
Event* _tmp0_;
gchar* _tmp1_;
const gchar* _tmp2_;
- gboolean _tmp3_;
#line 192 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
g_return_if_fail (IS_EVENT_DIRECTORY_ITEM (self));
#line 193 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
@@ -1705,57 +1741,47 @@ static void event_directory_item_update_comment (EventDirectoryItem* self, gbool
#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_tmp2_ = comment;
#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp3_ = is_string_empty (_tmp2_);
-#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (_tmp3_) {
+ if (is_string_empty (_tmp2_)) {
#line 195 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
checkerboard_item_clear_comment (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1714 "EventDirectoryItem.c"
+#line 1748 "EventDirectoryItem.c"
} else {
- gboolean _tmp4_;
-#line 196 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp4_ = init;
#line 196 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- if (!_tmp4_) {
-#line 1721 "EventDirectoryItem.c"
- const gchar* _tmp5_;
+ if (!init) {
+#line 1752 "EventDirectoryItem.c"
+ const gchar* _tmp3_;
#line 197 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp5_ = comment;
+ _tmp3_ = comment;
#line 197 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- checkerboard_item_set_comment (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp5_, FALSE, PANGO_ALIGN_LEFT);
-#line 1727 "EventDirectoryItem.c"
+ checkerboard_item_set_comment (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp3_, FALSE, PANGO_ALIGN_LEFT);
+#line 1758 "EventDirectoryItem.c"
} else {
#line 199 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
checkerboard_item_set_comment (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), "", FALSE, PANGO_ALIGN_LEFT);
-#line 1731 "EventDirectoryItem.c"
+#line 1762 "EventDirectoryItem.c"
}
}
#line 192 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
_g_free0 (comment);
-#line 1736 "EventDirectoryItem.c"
+#line 1767 "EventDirectoryItem.c"
}
-static gint event_directory_item_get_CROPPED_SCALE (void) {
+static gint
+event_directory_item_get_CROPPED_SCALE (void)
+{
gint result;
- gint _tmp0_;
- gint _tmp1_;
- gint _tmp2_;
-#line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp0_ = thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_MEDIUM);
-#line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp1_ = thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_BIG);
-#line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- _tmp2_ = thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_MEDIUM);
#line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
- result = _tmp0_ + ((_tmp1_ - _tmp2_) / 2);
+ result = thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_MEDIUM) + ((thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_BIG) - thumbnail_cache_size_get_scale (THUMBNAIL_CACHE_SIZE_MEDIUM)) / 2);
#line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
return result;
-#line 1755 "EventDirectoryItem.c"
+#line 1779 "EventDirectoryItem.c"
}
-static void event_directory_item_class_init (EventDirectoryItemClass * klass) {
+static void
+event_directory_item_class_init (EventDirectoryItemClass * klass)
+{
gint _tmp0_;
gint _tmp1_;
gint _tmp2_;
@@ -1796,20 +1822,24 @@ static void event_directory_item_class_init (EventDirectoryItemClass * klass) {
scaling_to_fill_viewport (&_tmp4_, &_tmp5_);
#line 15 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
event_directory_item_squared_scaling = _tmp5_;
-#line 1800 "EventDirectoryItem.c"
+#line 1826 "EventDirectoryItem.c"
}
-static void event_directory_item_instance_init (EventDirectoryItem * self) {
+static void
+event_directory_item_instance_init (EventDirectoryItem * self)
+{
#line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
self->priv = EVENT_DIRECTORY_ITEM_GET_PRIVATE (self);
#line 20 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
memset (&self->priv->paul_lynde, 0, sizeof (GdkRectangle));
-#line 1809 "EventDirectoryItem.c"
+#line 1837 "EventDirectoryItem.c"
}
-static void event_directory_item_finalize (GObject * obj) {
+static void
+event_directory_item_finalize (GObject * obj)
+{
EventDirectoryItem * self;
EventSourceCollection* _tmp0_;
guint _tmp1_;
@@ -1825,11 +1855,13 @@ static void event_directory_item_finalize (GObject * obj) {
_g_object_unref0 (self->event);
#line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
G_OBJECT_CLASS (event_directory_item_parent_class)->finalize (obj);
-#line 1829 "EventDirectoryItem.c"
+#line 1859 "EventDirectoryItem.c"
}
-GType event_directory_item_get_type (void) {
+GType
+event_directory_item_get_type (void)
+{
static volatile gsize event_directory_item_type_id__volatile = 0;
if (g_once_init_enter (&event_directory_item_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (EventDirectoryItemClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) event_directory_item_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EventDirectoryItem), 0, (GInstanceInitFunc) event_directory_item_instance_init, NULL };
@@ -1841,18 +1873,23 @@ GType event_directory_item_get_type (void) {
}
-static void _vala_event_directory_item_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+static void
+_vala_event_directory_item_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec)
+{
EventDirectoryItem * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem);
#line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
switch (property_id) {
-#line 1850 "EventDirectoryItem.c"
+#line 1887 "EventDirectoryItem.c"
default:
#line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala"
break;
-#line 1856 "EventDirectoryItem.c"
+#line 1893 "EventDirectoryItem.c"
}
}