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/core/DataViewTypes.c | 61 ++++++++++++++++++++++++++---------------------- 1 file changed, 33 insertions(+), 28 deletions(-) (limited to 'src/core/DataViewTypes.c') diff --git a/src/core/DataViewTypes.c b/src/core/DataViewTypes.c index 806bca2..c1ae9e3 100644 --- a/src/core/DataViewTypes.c +++ b/src/core/DataViewTypes.c @@ -1,4 +1,4 @@ -/* DataViewTypes.c generated by valac 0.34.7, the Vala compiler +/* DataViewTypes.c generated by valac 0.36.6, the Vala compiler * generated from DataViewTypes.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -85,6 +85,11 @@ typedef struct _ThumbnailViewPrivate ThumbnailViewPrivate; typedef struct _ThumbnailSource ThumbnailSource; typedef struct _ThumbnailSourceClass ThumbnailSourceClass; +enum { + THUMBNAIL_VIEW_THUMBNAIL_ALTERED_SIGNAL, + THUMBNAIL_VIEW_LAST_SIGNAL +}; +static guint thumbnail_view_signals[THUMBNAIL_VIEW_LAST_SIGNAL] = {0}; #define TYPE_PHOTO_VIEW (photo_view_get_type ()) #define PHOTO_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_VIEW, PhotoView)) @@ -294,7 +299,7 @@ EventSource* event_view_get_event_source (EventView* self); ThumbnailView* thumbnail_view_construct (GType object_type, ThumbnailSource* source) { ThumbnailView * self = NULL; - ThumbnailSource* _tmp0_ = NULL; + ThumbnailSource* _tmp0_; #line 11 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_THUMBNAIL_SOURCE (source), NULL); #line 12 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -303,21 +308,21 @@ ThumbnailView* thumbnail_view_construct (GType object_type, ThumbnailSource* sou self = (ThumbnailView*) data_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_SOURCE, DataSource)); #line 11 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return self; -#line 307 "DataViewTypes.c" +#line 312 "DataViewTypes.c" } ThumbnailView* thumbnail_view_new (ThumbnailSource* source) { #line 11 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return thumbnail_view_construct (TYPE_THUMBNAIL_VIEW, source); -#line 314 "DataViewTypes.c" +#line 319 "DataViewTypes.c" } static void thumbnail_view_real_notify_thumbnail_altered (ThumbnailView* self) { #line 17 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" - g_signal_emit_by_name (self, "thumbnail-altered"); -#line 321 "DataViewTypes.c" + g_signal_emit (self, thumbnail_view_signals[THUMBNAIL_VIEW_THUMBNAIL_ALTERED_SIGNAL], 0); +#line 326 "DataViewTypes.c" } @@ -326,7 +331,7 @@ void thumbnail_view_notify_thumbnail_altered (ThumbnailView* self) { g_return_if_fail (IS_THUMBNAIL_VIEW (self)); #line 15 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" THUMBNAIL_VIEW_GET_CLASS (self)->notify_thumbnail_altered (self); -#line 330 "DataViewTypes.c" +#line 335 "DataViewTypes.c" } @@ -338,12 +343,12 @@ static void thumbnail_view_class_init (ThumbnailViewClass * klass) { #line 7 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" thumbnail_view_parent_class = g_type_class_peek_parent (klass); #line 7 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" - ((ThumbnailViewClass *) klass)->notify_thumbnail_altered = (void (*)(ThumbnailView*)) thumbnail_view_real_notify_thumbnail_altered; + ((ThumbnailViewClass *) klass)->notify_thumbnail_altered = (void (*) (ThumbnailView *)) thumbnail_view_real_notify_thumbnail_altered; #line 7 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" ((ThumbnailViewClass *) klass)->thumbnail_altered = thumbnail_view_real_thumbnail_altered; #line 7 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" - g_signal_new ("thumbnail_altered", TYPE_THUMBNAIL_VIEW, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ThumbnailViewClass, thumbnail_altered), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 347 "DataViewTypes.c" + thumbnail_view_signals[THUMBNAIL_VIEW_THUMBNAIL_ALTERED_SIGNAL] = g_signal_new ("thumbnail-altered", TYPE_THUMBNAIL_VIEW, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ThumbnailViewClass, thumbnail_altered), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 352 "DataViewTypes.c" } @@ -365,7 +370,7 @@ GType thumbnail_view_get_type (void) { PhotoView* photo_view_construct (GType object_type, PhotoSource* source) { PhotoView * self = NULL; - PhotoSource* _tmp0_ = NULL; + PhotoSource* _tmp0_; #line 22 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_PHOTO_SOURCE (source), NULL); #line 23 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -374,20 +379,20 @@ PhotoView* photo_view_construct (GType object_type, PhotoSource* source) { self = (PhotoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); #line 22 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return self; -#line 378 "DataViewTypes.c" +#line 383 "DataViewTypes.c" } PhotoView* photo_view_new (PhotoSource* source) { #line 22 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return photo_view_construct (TYPE_PHOTO_VIEW, source); -#line 385 "DataViewTypes.c" +#line 390 "DataViewTypes.c" } PhotoSource* photo_view_get_photo_source (PhotoView* self) { PhotoSource* result = NULL; - DataSource* _tmp0_ = NULL; + DataSource* _tmp0_; #line 26 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_PHOTO_VIEW (self), NULL); #line 27 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -396,14 +401,14 @@ PhotoSource* photo_view_get_photo_source (PhotoView* self) { result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PHOTO_SOURCE, PhotoSource); #line 27 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return result; -#line 400 "DataViewTypes.c" +#line 405 "DataViewTypes.c" } static void photo_view_class_init (PhotoViewClass * klass) { #line 21 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" photo_view_parent_class = g_type_class_peek_parent (klass); -#line 407 "DataViewTypes.c" +#line 412 "DataViewTypes.c" } @@ -425,7 +430,7 @@ GType photo_view_get_type (void) { VideoView* video_view_construct (GType object_type, VideoSource* source) { VideoView * self = NULL; - VideoSource* _tmp0_ = NULL; + VideoSource* _tmp0_; #line 32 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_VIDEO_SOURCE (source), NULL); #line 33 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -434,20 +439,20 @@ VideoView* video_view_construct (GType object_type, VideoSource* source) { self = (VideoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); #line 32 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return self; -#line 438 "DataViewTypes.c" +#line 443 "DataViewTypes.c" } VideoView* video_view_new (VideoSource* source) { #line 32 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return video_view_construct (TYPE_VIDEO_VIEW, source); -#line 445 "DataViewTypes.c" +#line 450 "DataViewTypes.c" } VideoSource* video_view_get_video_source (VideoView* self) { VideoSource* result = NULL; - DataSource* _tmp0_ = NULL; + DataSource* _tmp0_; #line 36 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_VIDEO_VIEW (self), NULL); #line 37 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -456,14 +461,14 @@ VideoSource* video_view_get_video_source (VideoView* self) { result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIDEO_SOURCE, VideoSource); #line 37 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return result; -#line 460 "DataViewTypes.c" +#line 465 "DataViewTypes.c" } static void video_view_class_init (VideoViewClass * klass) { #line 31 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" video_view_parent_class = g_type_class_peek_parent (klass); -#line 467 "DataViewTypes.c" +#line 472 "DataViewTypes.c" } @@ -485,7 +490,7 @@ GType video_view_get_type (void) { EventView* event_view_construct (GType object_type, EventSource* source) { EventView * self = NULL; - EventSource* _tmp0_ = NULL; + EventSource* _tmp0_; #line 42 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_EVENT_SOURCE (source), NULL); #line 43 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -494,20 +499,20 @@ EventView* event_view_construct (GType object_type, EventSource* source) { self = (EventView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource)); #line 42 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return self; -#line 498 "DataViewTypes.c" +#line 503 "DataViewTypes.c" } EventView* event_view_new (EventSource* source) { #line 42 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return event_view_construct (TYPE_EVENT_VIEW, source); -#line 505 "DataViewTypes.c" +#line 510 "DataViewTypes.c" } EventSource* event_view_get_event_source (EventView* self) { EventSource* result = NULL; - DataSource* _tmp0_ = NULL; + DataSource* _tmp0_; #line 46 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" g_return_val_if_fail (IS_EVENT_VIEW (self), NULL); #line 47 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" @@ -516,14 +521,14 @@ EventSource* event_view_get_event_source (EventView* self) { result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_EVENT_SOURCE, EventSource); #line 47 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" return result; -#line 520 "DataViewTypes.c" +#line 525 "DataViewTypes.c" } static void event_view_class_init (EventViewClass * klass) { #line 41 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala" event_view_parent_class = g_type_class_peek_parent (klass); -#line 527 "DataViewTypes.c" +#line 532 "DataViewTypes.c" } -- cgit v1.2.3