From 2492891f112caac6076ce49721d9d5d78a152c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 12 Nov 2017 15:53:58 +0100 Subject: New upstream version 0.26.4 --- src/events/EventDirectoryItem.c | 1513 +++++++++++++++++++++------------------ 1 file changed, 818 insertions(+), 695 deletions(-) (limited to 'src/events/EventDirectoryItem.c') diff --git a/src/events/EventDirectoryItem.c b/src/events/EventDirectoryItem.c index b32db57..fd09328 100644 --- a/src/events/EventDirectoryItem.c +++ b/src/events/EventDirectoryItem.c @@ -1,4 +1,4 @@ -/* EventDirectoryItem.c generated by valac 0.34.7, the Vala compiler +/* EventDirectoryItem.c generated by valac 0.36.6, the Vala compiler * generated from EventDirectoryItem.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -18,6 +18,7 @@ #include #include #include +#include #include @@ -198,6 +199,8 @@ typedef struct _MediaSourceClass MediaSourceClass; #define PHOTO_TYPE_EXCEPTION (photo_exception_get_type ()) +#define THUMBNAIL_CACHE_TYPE_SIZE (thumbnail_cache_size_get_type ()) + #define TYPE_PHOTO_SOURCE (photo_source_get_type ()) #define PHOTO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_SOURCE, PhotoSource)) #define PHOTO_SOURCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PHOTO_SOURCE, PhotoSourceClass)) @@ -229,8 +232,6 @@ typedef struct _LibraryPhoto LibraryPhoto; typedef struct _LibraryPhotoClass LibraryPhotoClass; #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) -#define THUMBNAIL_CACHE_TYPE_SIZE (thumbnail_cache_size_get_type ()) - struct _DataObject { GObject parent_instance; DataObjectPrivate * priv; @@ -339,6 +340,7 @@ typedef enum { PHOTO_EXCEPTION_ALL = 0xFFFFFFFFLL } PhotoException; +typedef void (*ThumbnailCacheAsyncFetchCallback) (GdkPixbuf* pixbuf, GdkPixbuf* unscaled, Dimensions* dim, GdkInterpType interp, GError* err, void* user_data); typedef enum { THUMBNAIL_CACHE_SIZE_LARGEST = 360, THUMBNAIL_CACHE_SIZE_BIG = 360, @@ -410,11 +412,16 @@ 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 dimensions_for_pixbuf (GdkPixbuf* pixbuf, Dimensions* result); +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 ___lambda17_ (void); +static void ____lambda17__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); gboolean media_source_collection_has_photo (GeeCollection* media); GeeCollection* event_source_get_media (EventSource* self); @@ -444,49 +451,48 @@ void context_rounded_corners (cairo_t* cx, Dimensions* dim, GdkPoint* origin, gd 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); -GType thumbnail_cache_size_get_type (void) G_GNUC_CONST; gint thumbnail_cache_size_get_scale (ThumbnailCacheSize self); -static void event_directory_item_finalize (GObject* obj); +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 _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 457 "EventDirectoryItem.c" +#line 463 "EventDirectoryItem.c" } 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 464 "EventDirectoryItem.c" +#line 470 "EventDirectoryItem.c" } EventDirectoryItem* event_directory_item_construct (GType object_type, Event* event) { EventDirectoryItem * self = NULL; - Event* _tmp0_ = NULL; - gint _tmp1_ = 0; - gint _tmp2_ = 0; - gint _tmp3_ = 0; - gint _tmp4_ = 0; + Event* _tmp0_; + gint _tmp1_; + gint _tmp2_; + gint _tmp3_; + gint _tmp4_; Dimensions _tmp5_ = {0}; - Event* _tmp6_ = NULL; - gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - Event* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - Event* _tmp12_ = NULL; - Event* _tmp13_ = NULL; - Event* _tmp14_ = NULL; - MediaSource* _tmp15_ = NULL; - MediaSource* _tmp16_ = NULL; + Event* _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_ = {0}; + GdkRectangle _tmp18_; Dimensions _tmp19_ = {0}; - EventSourceCollection* _tmp20_ = NULL; + EventSourceCollection* _tmp20_; #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" @@ -551,41 +557,41 @@ EventDirectoryItem* event_directory_item_construct (GType object_type, Event* ev 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); #line 22 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return self; -#line 555 "EventDirectoryItem.c" +#line 561 "EventDirectoryItem.c" } 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 562 "EventDirectoryItem.c" +#line 568 "EventDirectoryItem.c" } static void event_directory_item_get_paul_lynde_rect (MediaSource* source, GdkRectangle* result) { Dimensions scaled = {0}; - MediaSource* _tmp0_ = NULL; + MediaSource* _tmp0_; Dimensions _tmp1_ = {0}; Dimensions _tmp2_ = {0}; GdkRectangle paul_lynde = {0}; - Dimensions _tmp3_ = {0}; - gint _tmp4_ = 0; - gint _tmp5_ = 0; - gint _tmp6_ = 0; - Dimensions _tmp7_ = {0}; - gint _tmp8_ = 0; - gint _tmp9_ = 0; - Dimensions _tmp10_ = {0}; - gint _tmp11_ = 0; - gint _tmp12_ = 0; - gint _tmp13_ = 0; - Dimensions _tmp14_ = {0}; - gint _tmp15_ = 0; - gint _tmp16_ = 0; - gint _tmp17_ = 0; - gint _tmp18_ = 0; - gint _tmp19_ = 0; - gint _tmp20_ = 0; + Dimensions _tmp3_; + gint _tmp4_; + gint _tmp5_; + gint _tmp6_; + Dimensions _tmp7_; + gint _tmp8_; + gint _tmp9_; + Dimensions _tmp10_; + gint _tmp11_; + gint _tmp12_; + gint _tmp13_; + Dimensions _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" @@ -646,633 +652,750 @@ static void event_directory_item_get_paul_lynde_rect (MediaSource* source, GdkRe *result = paul_lynde; #line 52 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return; -#line 650 "EventDirectoryItem.c" +#line 656 "EventDirectoryItem.c" +} + + +static void ___lambda17_ (void) { +} + + +static void ____lambda17__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" + ___lambda17_ (); +#line 667 "EventDirectoryItem.c" +} + + +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" } static GdkPixbuf* event_directory_item_get_paul_lynde (MediaSource* media, GdkRectangle* paul_lynde, GError** error) { GdkPixbuf* result = NULL; GdkPixbuf* pixbuf = NULL; - MediaSource* _tmp0_ = NULL; - Scaling _tmp1_ = {0}; - GdkPixbuf* _tmp2_ = NULL; Dimensions thumbnail_dimensions = {0}; - GdkPixbuf* _tmp3_ = NULL; - Dimensions _tmp4_ = {0}; - gboolean _tmp5_ = FALSE; - Dimensions _tmp6_ = {0}; - gint _tmp7_ = 0; - GdkRectangle _tmp8_ = {0}; - gint _tmp9_ = 0; - GdkRectangle _tmp23_ = {0}; - Dimensions _tmp24_ = {0}; - GdkRectangle _tmp25_ = {0}; - GdkPixbuf* _tmp26_ = NULL; - GdkRectangle _tmp27_ = {0}; - gint _tmp28_ = 0; - GdkRectangle _tmp29_ = {0}; - gint _tmp30_ = 0; - GdkRectangle _tmp31_ = {0}; - gint _tmp32_ = 0; - GdkRectangle _tmp33_ = {0}; - gint _tmp34_ = 0; - GdkPixbuf* _tmp35_ = NULL; + 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_; 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 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp0_ = media; -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp1_ = event_directory_item_squared_scaling; -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp2_ = media_source_get_preview_pixbuf (_tmp0_, &_tmp1_, &_inner_error_); -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - pixbuf = _tmp2_; -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - g_propagate_error (error, _inner_error_); -#line 57 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - return NULL; -#line 700 "EventDirectoryItem.c" - } +#line 707 "EventDirectoryItem.c" + { + GdkPixbuf* _tmp0_ = NULL; + MediaSource* _tmp1_; + Scaling _tmp2_; + GdkPixbuf* _tmp3_; + GdkPixbuf* _tmp4_; +#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp1_ = media; +#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp2_ = event_directory_item_squared_scaling; +#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_; +#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 724 "EventDirectoryItem.c" + goto __catch52_g_error; + } +#line 60 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp4_ = _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_; #line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp3_ = pixbuf; + _g_object_unref0 (_tmp0_); +#line 737 "EventDirectoryItem.c" + } + goto __finally52; + __catch52_g_error: + { + GError* _error_ = NULL; + MediaSource* _tmp5_; + Dimensions _tmp6_ = {0}; + MediaSource* _tmp7_; #line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - dimensions_for_pixbuf (_tmp3_, &_tmp4_); + _error_ = _inner_error_; #line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - thumbnail_dimensions = _tmp4_; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp6_ = thumbnail_dimensions; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp7_ = _tmp6_.width; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp8_ = *paul_lynde; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp9_ = _tmp8_.width; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (_tmp7_ > (2 * _tmp9_)) { -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp5_ = TRUE; -#line 720 "EventDirectoryItem.c" - } else { - Dimensions _tmp10_ = {0}; - gint _tmp11_ = 0; - GdkRectangle _tmp12_ = {0}; - gint _tmp13_ = 0; -#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp10_ = thumbnail_dimensions; -#line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp11_ = _tmp10_.height; + _inner_error_ = NULL; #line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp12_ = *paul_lynde; + _tmp5_ = media; #line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp13_ = _tmp12_.height; + dimensions_init (&_tmp6_, (gint) THUMBNAIL_CACHE_SIZE_BIG, (gint) THUMBNAIL_CACHE_SIZE_BIG); #line 62 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp5_ = _tmp11_ > (_tmp13_ * 2); -#line 736 "EventDirectoryItem.c" + 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, ____lambda17__thumbnail_cache_async_fetch_callback, NULL, NULL); +#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp7_ = media; +#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO)) { +#line 760 "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; +#line 66 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_LIBRARY_PHOTO, LibraryPhoto)); +#line 66 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + photo = _tmp9_; +#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp11_ = photo; +#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp12_ = 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_); +#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp10_ = _tmp13_; +#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" + goto __finally52; + } +#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp14_ = _tmp10_; +#line 67 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp10_ = 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_; +#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_object_unref0 (_tmp10_); +#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_object_unref0 (photo); +#line 804 "EventDirectoryItem.c" + } else { + GError* _tmp15_; + GError* _tmp16_; +#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp15_ = _error_; +#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp16_ = _g_error_copy0 (_tmp15_); +#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _inner_error_ = _tmp16_; +#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_error_free0 (_error_); +#line 816 "EventDirectoryItem.c" + goto __finally52; + } +#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_error_free0 (_error_); +#line 821 "EventDirectoryItem.c" + } + __finally52: +#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + g_propagate_error (error, _inner_error_); +#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_object_unref0 (pixbuf); +#line 59 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + return NULL; +#line 832 "EventDirectoryItem.c" } -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (_tmp5_) { -#line 740 "EventDirectoryItem.c" +#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp17_ = pixbuf; +#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + dimensions_for_pixbuf (_tmp17_, &_tmp18_); +#line 73 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + thumbnail_dimensions = _tmp18_; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp20_ = thumbnail_dimensions; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp21_ = _tmp20_.width; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp22_ = *paul_lynde; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp23_ = _tmp22_.width; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (_tmp21_ > (2 * _tmp23_)) { +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp19_ = TRUE; +#line 852 "EventDirectoryItem.c" + } else { + Dimensions _tmp24_; + gint _tmp25_; + GdkRectangle _tmp26_; + gint _tmp27_; +#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp24_ = thumbnail_dimensions; +#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp25_ = _tmp24_.height; +#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp26_ = *paul_lynde; +#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp27_ = _tmp26_.height; +#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp19_ = _tmp25_ > (_tmp27_ * 2); +#line 868 "EventDirectoryItem.c" + } +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (_tmp19_) { +#line 872 "EventDirectoryItem.c" LibraryPhoto* photo = NULL; - MediaSource* _tmp14_ = NULL; - LibraryPhoto* _tmp15_ = NULL; - GdkPixbuf* _tmp16_ = NULL; - LibraryPhoto* _tmp17_ = NULL; - Scaling _tmp18_ = {0}; - GdkPixbuf* _tmp19_ = NULL; - GdkPixbuf* _tmp20_ = NULL; - GdkPixbuf* _tmp21_ = NULL; - Dimensions _tmp22_ = {0}; -#line 63 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp14_ = media; -#line 63 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_LIBRARY_PHOTO, LibraryPhoto)); -#line 63 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - photo = _tmp15_; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp17_ = photo; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp18_ = event_directory_item_squared_scaling; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp19_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp18_, &_inner_error_); -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp16_ = _tmp19_; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + 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; +#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, TYPE_LIBRARY_PHOTO, LibraryPhoto)); +#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + photo = _tmp29_; +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp31_ = photo; +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp32_ = 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_); +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp30_ = _tmp33_; +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_propagate_error (error, _inner_error_); -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (photo); -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (pixbuf); -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return NULL; -#line 775 "EventDirectoryItem.c" +#line 907 "EventDirectoryItem.c" } -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp20_ = _tmp16_; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp16_ = NULL; -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp34_ = _tmp30_; +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp30_ = NULL; +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (pixbuf); -#line 64 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - pixbuf = _tmp20_; -#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp21_ = pixbuf; -#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - dimensions_for_pixbuf (_tmp21_, &_tmp22_); -#line 65 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - thumbnail_dimensions = _tmp22_; -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _g_object_unref0 (_tmp16_); -#line 61 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + pixbuf = _tmp34_; +#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp35_ = pixbuf; +#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + dimensions_for_pixbuf (_tmp35_, &_tmp36_); +#line 79 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + thumbnail_dimensions = _tmp36_; +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_object_unref0 (_tmp30_); +#line 75 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (photo); -#line 795 "EventDirectoryItem.c" +#line 927 "EventDirectoryItem.c" } -#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp23_ = *paul_lynde; -#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp24_ = thumbnail_dimensions; -#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - clamp_rectangle (&_tmp23_, &_tmp24_, &_tmp25_); -#line 69 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - *paul_lynde = _tmp25_; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp26_ = pixbuf; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp27_ = *paul_lynde; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp28_ = _tmp27_.x; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp29_ = *paul_lynde; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp30_ = _tmp29_.y; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp31_ = *paul_lynde; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp32_ = _tmp31_.width; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp33_ = *paul_lynde; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp34_ = _tmp33_.height; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp35_ = gdk_pixbuf_new_subpixbuf (_tmp26_, _tmp28_, _tmp30_, _tmp32_, _tmp34_); -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - result = _tmp35_; -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp37_ = *paul_lynde; +#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp38_ = thumbnail_dimensions; +#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + clamp_rectangle (&_tmp37_, &_tmp38_, &_tmp39_); +#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + *paul_lynde = _tmp39_; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp40_ = pixbuf; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp41_ = *paul_lynde; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp42_ = _tmp41_.x; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp43_ = *paul_lynde; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp44_ = _tmp43_.y; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp45_ = *paul_lynde; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp46_ = _tmp45_.width; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp47_ = *paul_lynde; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp48_ = _tmp47_.height; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp49_ = gdk_pixbuf_new_subpixbuf (_tmp40_, _tmp42_, _tmp44_, _tmp46_, _tmp48_); +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + result = _tmp49_; +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (pixbuf); -#line 72 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 86 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return result; -#line 831 "EventDirectoryItem.c" +#line 963 "EventDirectoryItem.c" } static gchar* event_directory_item_get_formatted_title (Event* event) { gchar* result = NULL; gboolean has_photos = FALSE; - Event* _tmp0_ = NULL; - GeeCollection* _tmp1_ = NULL; - GeeCollection* _tmp2_ = NULL; - gboolean _tmp3_ = FALSE; - gboolean _tmp4_ = FALSE; + Event* _tmp0_; + GeeCollection* _tmp1_; + GeeCollection* _tmp2_; + gboolean _tmp3_; + gboolean _tmp4_; gboolean has_videos = FALSE; - Event* _tmp5_ = NULL; - GeeCollection* _tmp6_ = NULL; - GeeCollection* _tmp7_ = NULL; - gboolean _tmp8_ = FALSE; - gboolean _tmp9_ = FALSE; + Event* _tmp5_; + GeeCollection* _tmp6_; + GeeCollection* _tmp7_; + gboolean _tmp8_; + gboolean _tmp9_; gint count = 0; - Event* _tmp10_ = NULL; - gint _tmp11_ = 0; + Event* _tmp10_; + gint _tmp11_; gchar* count_text = NULL; - gchar* _tmp12_ = NULL; + gchar* _tmp12_; gboolean _tmp13_ = FALSE; - gboolean _tmp14_ = FALSE; + gboolean _tmp14_; gchar* daterange = NULL; - Event* _tmp29_ = NULL; - gchar* _tmp30_ = NULL; + Event* _tmp26_; + gchar* _tmp27_; gchar* name = NULL; - Event* _tmp31_ = NULL; - gchar* _tmp32_ = NULL; - gboolean _tmp33_ = FALSE; - const gchar* _tmp34_ = NULL; -#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + Event* _tmp28_; + gchar* _tmp29_; + gboolean _tmp30_ = FALSE; + const gchar* _tmp31_; +#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_val_if_fail (IS_EVENT (event), NULL); -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = event; -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = _tmp1_; -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = media_source_collection_has_photo (_tmp2_); -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = _tmp3_; -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (_tmp2_); -#line 77 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 91 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" has_photos = _tmp4_; -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = event; -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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)); -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = _tmp6_; -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp8_ = media_source_collection_has_video (_tmp7_); -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp9_ = _tmp8_; -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (_tmp7_); -#line 78 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 92 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" has_videos = _tmp9_; -#line 80 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp10_ = event; -#line 80 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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)); -#line 80 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" count = _tmp11_; -#line 81 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp12_ = g_strdup (""); -#line 81 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" count_text = _tmp12_; -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp14_ = has_photos; -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp14_) { -#line 908 "EventDirectoryItem.c" - gboolean _tmp15_ = FALSE; -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 1040 "EventDirectoryItem.c" + gboolean _tmp15_; +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp15_ = has_videos; -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp13_ = _tmp15_; -#line 914 "EventDirectoryItem.c" +#line 1046 "EventDirectoryItem.c" } else { -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp13_ = FALSE; -#line 918 "EventDirectoryItem.c" +#line 1050 "EventDirectoryItem.c" } -#line 82 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 96 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp13_) { -#line 922 "EventDirectoryItem.c" - gint _tmp16_ = 0; - const gchar* _tmp17_ = NULL; - gint _tmp18_ = 0; - gchar* _tmp19_ = NULL; -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 1054 "EventDirectoryItem.c" + gint _tmp16_; + gint _tmp17_; + gchar* _tmp18_; +#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp16_ = count; -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp17_ = ngettext ("%d Photo/Video", "%d Photos/Videos", (gulong) _tmp16_); -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp18_ = count; -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp19_ = g_strdup_printf (_tmp17_, _tmp18_); -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp17_ = 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_); +#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 83 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - count_text = _tmp19_; -#line 939 "EventDirectoryItem.c" +#line 97 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + count_text = _tmp18_; +#line 1068 "EventDirectoryItem.c" } else { - gboolean _tmp20_ = FALSE; -#line 84 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp20_ = has_videos; -#line 84 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (_tmp20_) { -#line 946 "EventDirectoryItem.c" - gint _tmp21_ = 0; - const gchar* _tmp22_ = NULL; - gint _tmp23_ = 0; - gchar* _tmp24_ = NULL; -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + gboolean _tmp19_; +#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp19_ = has_videos; +#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (_tmp19_) { +#line 1075 "EventDirectoryItem.c" + gint _tmp20_; + gint _tmp21_; + gchar* _tmp22_; +#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp20_ = count; +#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp21_ = count; -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp22_ = ngettext ("%d Video", "%d Videos", (gulong) _tmp21_); -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp23_ = count; -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp24_ = g_strdup_printf (_tmp22_, _tmp23_); -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp22_ = g_strdup_printf (ngettext ("%d Video", "%d Videos", (gulong) _tmp20_), _tmp21_); +#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 85 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - count_text = _tmp24_; -#line 963 "EventDirectoryItem.c" +#line 99 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + count_text = _tmp22_; +#line 1089 "EventDirectoryItem.c" } else { - gint _tmp25_ = 0; - const gchar* _tmp26_ = NULL; - gint _tmp27_ = 0; - gchar* _tmp28_ = NULL; -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp25_ = count; -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp26_ = ngettext ("%d Photo", "%d Photos", (gulong) _tmp25_); -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp27_ = count; -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp28_ = g_strdup_printf (_tmp26_, _tmp27_); -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + gint _tmp23_; + gint _tmp24_; + gchar* _tmp25_; +#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp23_ = count; +#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp24_ = count; +#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp25_ = g_strdup_printf (ngettext ("%d Photo", "%d Photos", (gulong) _tmp23_), _tmp24_); +#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 87 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - count_text = _tmp28_; -#line 981 "EventDirectoryItem.c" +#line 101 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + count_text = _tmp25_; +#line 1104 "EventDirectoryItem.c" } } -#line 89 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp29_ = event; -#line 89 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp30_ = event_get_formatted_daterange (_tmp29_); -#line 89 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - daterange = _tmp30_; -#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp31_ = event; -#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp32_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_OBJECT, DataObject)); -#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - name = _tmp32_; -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp34_ = daterange; -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (_tmp34_ == NULL) { -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp33_ = TRUE; -#line 1002 "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_); +#line 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + daterange = _tmp27_; +#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp28_ = event; +#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)); +#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + name = _tmp29_; +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp31_ = daterange; +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + if (_tmp31_ == NULL) { +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp30_ = TRUE; +#line 1125 "EventDirectoryItem.c" } else { - const gchar* _tmp35_ = NULL; - const gchar* _tmp36_ = NULL; -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp35_ = daterange; -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp36_ = name; -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp33_ = g_strcmp0 (_tmp35_, _tmp36_) == 0; -#line 1012 "EventDirectoryItem.c" + const gchar* _tmp32_; + const gchar* _tmp33_; +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp32_ = daterange; +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp33_ = name; +#line 108 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp30_ = g_strcmp0 (_tmp32_, _tmp33_) == 0; +#line 1135 "EventDirectoryItem.c" } -#line 94 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - if (_tmp33_) { -#line 1016 "EventDirectoryItem.c" - const gchar* _tmp37_ = NULL; - gchar* _tmp38_ = NULL; - gchar* _tmp39_ = NULL; - const gchar* _tmp40_ = NULL; - gchar* _tmp41_ = NULL; - gchar* _tmp42_ = NULL; - gchar* _tmp43_ = NULL; - gchar* _tmp44_ = NULL; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp37_ = name; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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_; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp34_ = name; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp35_ = guarded_markup_escape_text (_tmp34_); +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp36_ = _tmp35_; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp37_ = count_text; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp38_ = guarded_markup_escape_text (_tmp37_); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp39_ = _tmp38_; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp40_ = count_text; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp41_ = guarded_markup_escape_text (_tmp40_); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp42_ = _tmp41_; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp43_ = g_strdup_printf ("%s\n%s", _tmp39_, _tmp42_); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp44_ = _tmp43_; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _g_free0 (_tmp42_); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp40_ = g_strdup_printf ("%s\n%s", _tmp36_, _tmp39_); +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp41_ = _tmp40_; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp39_); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - result = _tmp44_; -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_free0 (_tmp36_); +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + result = _tmp41_; +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (name); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (daterange); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 95 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return result; -#line 1055 "EventDirectoryItem.c" +#line 1178 "EventDirectoryItem.c" } else { - const gchar* _tmp45_ = NULL; - gchar* _tmp46_ = NULL; - gchar* _tmp47_ = NULL; - const gchar* _tmp48_ = NULL; - gchar* _tmp49_ = NULL; - gchar* _tmp50_ = NULL; - const gchar* _tmp51_ = NULL; - gchar* _tmp52_ = NULL; - gchar* _tmp53_ = NULL; - gchar* _tmp54_ = NULL; - gchar* _tmp55_ = NULL; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp45_ = name; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + const 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; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp43_ = guarded_markup_escape_text (_tmp42_); +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp44_ = _tmp43_; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp45_ = count_text; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp46_ = guarded_markup_escape_text (_tmp45_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp47_ = _tmp46_; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp48_ = count_text; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp48_ = daterange; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp49_ = guarded_markup_escape_text (_tmp48_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp50_ = _tmp49_; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp51_ = daterange; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp52_ = guarded_markup_escape_text (_tmp51_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp53_ = _tmp52_; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp54_ = g_strdup_printf ("%s\n%s\n%s", _tmp47_, _tmp50_, _tmp53_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _tmp55_ = _tmp54_; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - _g_free0 (_tmp53_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp51_ = g_strdup_printf ("%s\n%s\n%s", _tmp44_, _tmp47_, _tmp50_); +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _tmp52_ = _tmp51_; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp50_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp47_); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - result = _tmp55_; -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + _g_free0 (_tmp44_); +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + result = _tmp52_; +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (name); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (daterange); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 98 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return result; -#line 1106 "EventDirectoryItem.c" +#line 1229 "EventDirectoryItem.c" } -#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (name); -#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (daterange); -#line 76 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 90 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (count_text); -#line 1114 "EventDirectoryItem.c" +#line 1237 "EventDirectoryItem.c" } static void event_directory_item_real_exposed (CheckerboardItem* base) { EventDirectoryItem * self; - gboolean _tmp0_ = FALSE; + gboolean _tmp0_; GError * _inner_error_ = NULL; -#line 102 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 116 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); -#line 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 103 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 117 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp0_) { -#line 104 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 118 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return; -#line 1130 "EventDirectoryItem.c" +#line 1253 "EventDirectoryItem.c" } { GdkPixbuf* _tmp1_ = NULL; - Event* _tmp2_ = NULL; - MediaSource* _tmp3_ = NULL; - MediaSource* _tmp4_ = NULL; - GdkRectangle _tmp5_ = {0}; - GdkPixbuf* _tmp6_ = NULL; - GdkPixbuf* _tmp7_ = NULL; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + Event* _tmp2_; + MediaSource* _tmp3_; + MediaSource* _tmp4_; + GdkRectangle _tmp5_; + GdkPixbuf* _tmp6_; + GdkPixbuf* _tmp7_; +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = self->event; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = event_get_primary_source (_tmp2_); -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = _tmp3_; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = self->priv->paul_lynde; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp6_ = event_directory_item_get_paul_lynde (_tmp4_, &_tmp5_, &_inner_error_); -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = _tmp6_; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (_tmp4_); -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = _tmp7_; -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1158 "EventDirectoryItem.c" - goto __catch52_g_error; +#line 1281 "EventDirectoryItem.c" + goto __catch53_g_error; } -#line 107 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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_); -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (_tmp1_); -#line 1165 "EventDirectoryItem.c" +#line 1288 "EventDirectoryItem.c" } - goto __finally52; - __catch52_g_error: + goto __finally53; + __catch53_g_error: { GError* err = NULL; - Event* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - GError* _tmp11_ = NULL; - const gchar* _tmp12_ = NULL; -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + Event* _tmp8_; + gchar* _tmp9_; + gchar* _tmp10_; + GError* _tmp11_; + const gchar* _tmp12_; +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" err = _inner_error_; -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _inner_error_ = NULL; -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp8_ = self->event; -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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)); -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp10_ = _tmp9_; -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp11_ = err; -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp12_ = _tmp11_->message; -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - g_critical ("EventDirectoryItem.vala:109: Unable to fetch preview for %s: %s", _tmp10_, _tmp12_); -#line 109 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + g_critical ("EventDirectoryItem.vala:123: Unable to fetch preview for %s: %s", _tmp10_, _tmp12_); +#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp10_); -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_error_free0 (err); -#line 1196 "EventDirectoryItem.c" +#line 1319 "EventDirectoryItem.c" } - __finally52: -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + __finally53: +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_clear_error (&_inner_error_); -#line 106 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 120 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return; -#line 1207 "EventDirectoryItem.c" +#line 1330 "EventDirectoryItem.c" } -#line 112 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 126 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" event_directory_item_update_comment (self, FALSE); -#line 114 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1213 "EventDirectoryItem.c" +#line 1336 "EventDirectoryItem.c" } static void event_directory_item_real_unexposed (CheckerboardItem* base) { EventDirectoryItem * self; - gboolean _tmp0_ = FALSE; - GdkRectangle _tmp1_ = {0}; + gboolean _tmp0_; + GdkRectangle _tmp1_; Dimensions _tmp2_ = {0}; -#line 117 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 131 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); -#line 118 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 118 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 132 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (!_tmp0_) { -#line 119 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 133 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return; -#line 1230 "EventDirectoryItem.c" +#line 1353 "EventDirectoryItem.c" } -#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 135 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = self->priv->paul_lynde; -#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 135 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions_for_rectangle (&_tmp1_, &_tmp2_); -#line 121 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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_); -#line 123 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1240 "EventDirectoryItem.c" +#line 1363 "EventDirectoryItem.c" } static void event_directory_item_on_events_altered (EventDirectoryItem* self, GeeMap* map) { - GeeMap* _tmp0_ = NULL; - Event* _tmp1_ = NULL; - gboolean _tmp2_ = FALSE; -#line 126 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + GeeMap* _tmp0_; + Event* _tmp1_; + gboolean _tmp2_; +#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (IS_EVENT_DIRECTORY_ITEM (self)); -#line 126 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (GEE_IS_MAP (map)); -#line 127 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 141 "/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" +#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = map; -#line 128 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = self->event; -#line 128 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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)); -#line 128 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp2_) { -#line 1262 "EventDirectoryItem.c" - Event* _tmp3_ = NULL; - gchar* _tmp4_ = NULL; - gchar* _tmp5_ = NULL; -#line 129 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 1385 "EventDirectoryItem.c" + Event* _tmp3_; + gchar* _tmp4_; + gchar* _tmp5_; +#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = self->event; -#line 129 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = event_directory_item_get_formatted_title (_tmp3_); -#line 129 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = _tmp4_; -#line 129 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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); -#line 129 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 143 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp5_); -#line 1276 "EventDirectoryItem.c" +#line 1399 "EventDirectoryItem.c" } } @@ -1280,344 +1403,344 @@ static void event_directory_item_on_events_altered (EventDirectoryItem* self, Ge static void event_directory_item_real_thumbnail_altered (ThumbnailView* base) { EventDirectoryItem * self; MediaSource* media = NULL; - Event* _tmp0_ = NULL; - MediaSource* _tmp1_ = NULL; - MediaSource* _tmp2_ = NULL; + Event* _tmp0_; + MediaSource* _tmp1_; + MediaSource* _tmp2_; GdkRectangle _tmp3_ = {0}; - gboolean _tmp4_ = FALSE; + gboolean _tmp4_; GError * _inner_error_ = NULL; -#line 132 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 146 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); -#line 133 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 147 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = self->event; -#line 133 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 147 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = event_get_primary_source (_tmp0_); -#line 133 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 147 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" media = _tmp1_; -#line 136 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 150 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = media; -#line 136 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 150 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" event_directory_item_get_paul_lynde_rect (_tmp2_, &_tmp3_); -#line 136 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 150 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self->priv->paul_lynde = _tmp3_; -#line 138 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 138 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 152 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp4_) { -#line 1308 "EventDirectoryItem.c" +#line 1431 "EventDirectoryItem.c" { GdkPixbuf* _tmp5_ = NULL; - MediaSource* _tmp6_ = NULL; - GdkRectangle _tmp7_ = {0}; - GdkPixbuf* _tmp8_ = NULL; -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + MediaSource* _tmp6_; + GdkRectangle _tmp7_; + GdkPixbuf* _tmp8_; +#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp6_ = media; -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = self->priv->paul_lynde; -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp8_ = event_directory_item_get_paul_lynde (_tmp6_, &_tmp7_, &_inner_error_); -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = _tmp8_; -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1324 "EventDirectoryItem.c" - goto __catch53_g_error; +#line 1447 "EventDirectoryItem.c" + goto __catch54_g_error; } -#line 140 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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_); -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (_tmp5_); -#line 1331 "EventDirectoryItem.c" +#line 1454 "EventDirectoryItem.c" } - goto __finally53; - __catch53_g_error: + goto __finally54; + __catch54_g_error: { GError* err = NULL; - Event* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - GError* _tmp12_ = NULL; - const gchar* _tmp13_ = NULL; -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + Event* _tmp9_; + gchar* _tmp10_; + gchar* _tmp11_; + GError* _tmp12_; + const gchar* _tmp13_; +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" err = _inner_error_; -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _inner_error_ = NULL; -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp9_ = self->event; -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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)); -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp11_ = _tmp10_; -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp12_ = err; -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp13_ = _tmp12_->message; -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - g_critical ("EventDirectoryItem.vala:142: Unable to fetch preview for %s: %s", _tmp11_, _tmp13_); -#line 142 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + g_critical ("EventDirectoryItem.vala:156: Unable to fetch preview for %s: %s", _tmp11_, _tmp13_); +#line 156 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (_tmp11_); -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_error_free0 (err); -#line 1362 "EventDirectoryItem.c" +#line 1485 "EventDirectoryItem.c" } - __finally53: -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + __finally54: +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (media); -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_clear_error (&_inner_error_); -#line 139 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return; -#line 1375 "EventDirectoryItem.c" +#line 1498 "EventDirectoryItem.c" } } else { - GdkRectangle _tmp14_ = {0}; + GdkRectangle _tmp14_; Dimensions _tmp15_ = {0}; -#line 145 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp14_ = self->priv->paul_lynde; -#line 145 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions_for_rectangle (&_tmp14_, &_tmp15_); -#line 145 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1386 "EventDirectoryItem.c" +#line 1509 "EventDirectoryItem.c" } -#line 148 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 132 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 146 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_object_unref0 (media); -#line 1392 "EventDirectoryItem.c" +#line 1515 "EventDirectoryItem.c" } 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_ = {0}; - gint _tmp1_ = 0; - Dimensions _tmp2_ = {0}; - gint _tmp3_ = 0; - cairo_t* _tmp4_ = NULL; - Dimensions _tmp5_ = {0}; - GdkPoint _tmp6_ = {0}; - gfloat _tmp7_ = 0.0F; -#line 151 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + Dimensions _tmp0_; + gint _tmp1_; + Dimensions _tmp2_; + gint _tmp3_; + cairo_t* _tmp4_; + Dimensions _tmp5_; + GdkPoint _tmp6_; + gfloat _tmp7_; +#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); -#line 151 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (ctx != NULL); -#line 151 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (dimensions != NULL); -#line 151 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (origin != NULL); -#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = *dimensions; -#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = _tmp0_.width; -#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = *dimensions; -#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = _tmp2_.height; -#line 153 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions_init (&altered, _tmp1_ - 25, _tmp3_ - 25); -#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = ctx; -#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = altered; -#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp6_ = *origin; -#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 168 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = initial_alpha; -#line 154 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1435 "EventDirectoryItem.c" +#line 1558 "EventDirectoryItem.c" } 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_ = {0}; - gint _tmp1_ = 0; + Dimensions _tmp0_; + gint _tmp1_; Dimensions _tmp2_ = {0}; GdkPoint origin = {0}; - GdkPoint _tmp3_ = {0}; - gint _tmp4_ = 0; + GdkPoint _tmp3_; + gint _tmp4_; GdkPoint _tmp5_ = {0}; - cairo_t* _tmp6_ = NULL; - Dimensions _tmp7_ = {0}; - GdkPoint _tmp8_ = {0}; -#line 157 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + cairo_t* _tmp6_; + Dimensions _tmp7_; + GdkPoint _tmp8_; +#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); -#line 157 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (ctx != NULL); -#line 157 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (object_dimensions != NULL); -#line 157 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 171 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (object_origin != NULL); -#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = *object_dimensions; -#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = border_width; -#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" checkerboard_item_get_border_dimensions (&_tmp0_, _tmp1_, &_tmp2_); -#line 159 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions = _tmp2_; -#line 160 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = *object_origin; -#line 160 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = border_width; -#line 160 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" checkerboard_item_get_border_origin (&_tmp3_, _tmp4_, &_tmp5_); -#line 160 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" origin = _tmp5_; -#line 162 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp6_ = ctx; -#line 162 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = dimensions; -#line 162 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp8_ = origin; -#line 162 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 176 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" draw_rounded_corners_filled (_tmp6_, &_tmp7_, &_tmp8_, 6.0); -#line 1484 "EventDirectoryItem.c" +#line 1607 "EventDirectoryItem.c" } static void event_directory_item_real_paint_image (CheckerboardItem* base, cairo_t* ctx, GdkPixbuf* pixbuf, GdkPoint* origin) { EventDirectoryItem * self; Dimensions dimensions = {0}; - GdkPixbuf* _tmp0_ = NULL; + GdkPixbuf* _tmp0_; Dimensions _tmp1_ = {0}; - GdkPixbuf* _tmp2_ = NULL; - gboolean _tmp3_ = FALSE; - cairo_t* _tmp7_ = NULL; - Dimensions _tmp8_ = {0}; - GdkPoint _tmp9_ = {0}; - cairo_t* _tmp10_ = NULL; - GdkPixbuf* _tmp11_ = NULL; - GdkPoint _tmp12_ = {0}; - gint _tmp13_ = 0; - GdkPoint _tmp14_ = {0}; - gint _tmp15_ = 0; - cairo_t* _tmp16_ = NULL; -#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + 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_; +#line 179 "/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" +#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (ctx != NULL); -#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (GDK_IS_PIXBUF (pixbuf)); -#line 165 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_return_if_fail (origin != NULL); -#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = pixbuf; -#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions_for_pixbuf (_tmp0_, &_tmp1_); -#line 167 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" dimensions = _tmp1_; -#line 169 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = pixbuf; -#line 169 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = gdk_pixbuf_get_has_alpha (_tmp2_); -#line 169 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp3_) { -#line 1525 "EventDirectoryItem.c" - cairo_t* _tmp4_ = NULL; - Dimensions _tmp5_ = {0}; - GdkPoint _tmp6_ = {0}; -#line 170 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 1648 "EventDirectoryItem.c" + cairo_t* _tmp4_; + Dimensions _tmp5_; + GdkPoint _tmp6_; +#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = ctx; -#line 170 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = dimensions; -#line 170 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp6_ = *origin; -#line 170 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 184 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" draw_rounded_corners_filled (_tmp4_, &_tmp5_, &_tmp6_, 6.0); -#line 1537 "EventDirectoryItem.c" +#line 1660 "EventDirectoryItem.c" } -#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp7_ = ctx; -#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp8_ = dimensions; -#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp9_ = *origin; -#line 173 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 187 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" context_rounded_corners (_tmp7_, &_tmp8_, &_tmp9_, 6.0); -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp10_ = ctx; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp11_ = pixbuf; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp12_ = *origin; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp13_ = _tmp12_.x; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp14_ = *origin; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp15_ = _tmp14_.y; -#line 174 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 188 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" gdk_cairo_set_source_pixbuf (_tmp10_, _tmp11_, (gdouble) _tmp13_, (gdouble) _tmp15_); -#line 175 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 189 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp16_ = ctx; -#line 175 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 189 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" cairo_paint (_tmp16_); -#line 1565 "EventDirectoryItem.c" +#line 1688 "EventDirectoryItem.c" } static void event_directory_item_update_comment (EventDirectoryItem* self, gboolean init) { gchar* comment = NULL; - Event* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; - const gchar* _tmp2_ = NULL; - gboolean _tmp3_ = FALSE; -#line 178 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + 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 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 193 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp0_ = self->event; -#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 193 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp1_ = event_source_get_comment (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_EVENT_SOURCE, EventSource)); -#line 179 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 193 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" comment = _tmp1_; -#line 180 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp2_ = comment; -#line 180 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp3_ = is_string_empty (_tmp2_); -#line 180 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 194 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (_tmp3_) { -#line 181 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1591 "EventDirectoryItem.c" +#line 1714 "EventDirectoryItem.c" } else { - gboolean _tmp4_ = FALSE; -#line 182 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" + gboolean _tmp4_; +#line 196 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp4_ = init; -#line 182 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 196 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" if (!_tmp4_) { -#line 1598 "EventDirectoryItem.c" - const gchar* _tmp5_ = NULL; -#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 1721 "EventDirectoryItem.c" + const gchar* _tmp5_; +#line 197 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _tmp5_ = comment; -#line 183 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1604 "EventDirectoryItem.c" +#line 1727 "EventDirectoryItem.c" } else { -#line 185 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#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 1608 "EventDirectoryItem.c" +#line 1731 "EventDirectoryItem.c" } } -#line 178 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" +#line 192 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" _g_free0 (comment); -#line 1613 "EventDirectoryItem.c" +#line 1736 "EventDirectoryItem.c" } static gint event_directory_item_get_CROPPED_SCALE (void) { gint result; - gint _tmp0_ = 0; - gint _tmp1_ = 0; - gint _tmp2_ = 0; + 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" @@ -1628,15 +1751,15 @@ static gint event_directory_item_get_CROPPED_SCALE (void) { result = _tmp0_ + ((_tmp1_ - _tmp2_) / 2); #line 10 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" return result; -#line 1632 "EventDirectoryItem.c" +#line 1755 "EventDirectoryItem.c" } static void event_directory_item_class_init (EventDirectoryItemClass * klass) { - gint _tmp0_ = 0; - gint _tmp1_ = 0; - gint _tmp2_ = 0; - gint _tmp3_ = 0; + gint _tmp0_; + gint _tmp1_; + gint _tmp2_; + gint _tmp3_; Dimensions _tmp4_ = {0}; Scaling _tmp5_ = {0}; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" @@ -1644,17 +1767,17 @@ static void event_directory_item_class_init (EventDirectoryItemClass * klass) { #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" g_type_class_add_private (klass, sizeof (EventDirectoryItemPrivate)); #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((CheckerboardItemClass *) klass)->exposed = (void (*)(CheckerboardItem*)) event_directory_item_real_exposed; + ((CheckerboardItemClass *) klass)->exposed = (void (*) (CheckerboardItem *)) event_directory_item_real_exposed; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((CheckerboardItemClass *) klass)->unexposed = (void (*)(CheckerboardItem*)) event_directory_item_real_unexposed; + ((CheckerboardItemClass *) klass)->unexposed = (void (*) (CheckerboardItem *)) event_directory_item_real_unexposed; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((ThumbnailViewClass *) klass)->thumbnail_altered = (void (*)(ThumbnailView*)) event_directory_item_real_thumbnail_altered; + ((ThumbnailViewClass *) klass)->thumbnail_altered = (void (*) (ThumbnailView *)) event_directory_item_real_thumbnail_altered; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((CheckerboardItemClass *) klass)->paint_shadow = (void (*)(CheckerboardItem*, cairo_t*, Dimensions*, GdkPoint*, gint, gfloat)) event_directory_item_real_paint_shadow; + ((CheckerboardItemClass *) klass)->paint_shadow = (void (*) (CheckerboardItem *, cairo_t*, Dimensions*, GdkPoint*, gint, gfloat)) event_directory_item_real_paint_shadow; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((CheckerboardItemClass *) klass)->paint_border = (void (*)(CheckerboardItem*, cairo_t*, Dimensions*, GdkPoint*, gint)) event_directory_item_real_paint_border; + ((CheckerboardItemClass *) klass)->paint_border = (void (*) (CheckerboardItem *, cairo_t*, Dimensions*, GdkPoint*, gint)) event_directory_item_real_paint_border; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" - ((CheckerboardItemClass *) klass)->paint_image = (void (*)(CheckerboardItem*, cairo_t*, GdkPixbuf*, GdkPoint*)) event_directory_item_real_paint_image; + ((CheckerboardItemClass *) klass)->paint_image = (void (*) (CheckerboardItem *, cairo_t*, GdkPixbuf*, GdkPoint*)) event_directory_item_real_paint_image; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" G_OBJECT_CLASS (klass)->get_property = _vala_event_directory_item_get_property; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" @@ -1673,7 +1796,7 @@ 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 1677 "EventDirectoryItem.c" +#line 1800 "EventDirectoryItem.c" } @@ -1682,14 +1805,14 @@ static void event_directory_item_instance_init (EventDirectoryItem * self) { 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 1686 "EventDirectoryItem.c" +#line 1809 "EventDirectoryItem.c" } -static void event_directory_item_finalize (GObject* obj) { +static void event_directory_item_finalize (GObject * obj) { EventDirectoryItem * self; - EventSourceCollection* _tmp0_ = NULL; - guint _tmp1_ = 0U; + EventSourceCollection* _tmp0_; + guint _tmp1_; #line 7 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EVENT_DIRECTORY_ITEM, EventDirectoryItem); #line 39 "/home/jens/Source/shotwell/src/events/EventDirectoryItem.vala" @@ -1702,7 +1825,7 @@ 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 1706 "EventDirectoryItem.c" +#line 1829 "EventDirectoryItem.c" } @@ -1723,13 +1846,13 @@ static void _vala_event_directory_item_get_property (GObject * object, guint pro 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 1727 "EventDirectoryItem.c" +#line 1850 "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 1733 "EventDirectoryItem.c" +#line 1856 "EventDirectoryItem.c" } } -- cgit v1.2.3