summaryrefslogtreecommitdiff
path: root/src/core/DataViewTypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/DataViewTypes.c')
-rw-r--r--src/core/DataViewTypes.c240
1 files changed, 155 insertions, 85 deletions
diff --git a/src/core/DataViewTypes.c b/src/core/DataViewTypes.c
index c1ae9e3..b70a8ff 100644
--- a/src/core/DataViewTypes.c
+++ b/src/core/DataViewTypes.c
@@ -1,4 +1,4 @@
-/* DataViewTypes.c generated by valac 0.36.6, the Vala compiler
+/* DataViewTypes.c generated by valac 0.40.4, the Vala compiler
* generated from DataViewTypes.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -75,6 +76,11 @@ typedef struct _DataSourceClass DataSourceClass;
typedef struct _ThumbnailView ThumbnailView;
typedef struct _ThumbnailViewClass ThumbnailViewClass;
typedef struct _ThumbnailViewPrivate ThumbnailViewPrivate;
+enum {
+ THUMBNAIL_VIEW_0_PROPERTY,
+ THUMBNAIL_VIEW_NUM_PROPERTIES
+};
+static GParamSpec* thumbnail_view_properties[THUMBNAIL_VIEW_NUM_PROPERTIES];
#define TYPE_THUMBNAIL_SOURCE (thumbnail_source_get_type ())
#define THUMBNAIL_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_THUMBNAIL_SOURCE, ThumbnailSource))
@@ -87,9 +93,9 @@ typedef struct _ThumbnailSource ThumbnailSource;
typedef struct _ThumbnailSourceClass ThumbnailSourceClass;
enum {
THUMBNAIL_VIEW_THUMBNAIL_ALTERED_SIGNAL,
- THUMBNAIL_VIEW_LAST_SIGNAL
+ THUMBNAIL_VIEW_NUM_SIGNALS
};
-static guint thumbnail_view_signals[THUMBNAIL_VIEW_LAST_SIGNAL] = {0};
+static guint thumbnail_view_signals[THUMBNAIL_VIEW_NUM_SIGNALS] = {0};
#define TYPE_PHOTO_VIEW (photo_view_get_type ())
#define PHOTO_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PHOTO_VIEW, PhotoView))
@@ -101,6 +107,11 @@ static guint thumbnail_view_signals[THUMBNAIL_VIEW_LAST_SIGNAL] = {0};
typedef struct _PhotoView PhotoView;
typedef struct _PhotoViewClass PhotoViewClass;
typedef struct _PhotoViewPrivate PhotoViewPrivate;
+enum {
+ PHOTO_VIEW_0_PROPERTY,
+ PHOTO_VIEW_NUM_PROPERTIES
+};
+static GParamSpec* photo_view_properties[PHOTO_VIEW_NUM_PROPERTIES];
#define TYPE_MEDIA_SOURCE (media_source_get_type ())
#define MEDIA_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_SOURCE, MediaSource))
@@ -132,6 +143,11 @@ typedef struct _PhotoSourceClass PhotoSourceClass;
typedef struct _VideoView VideoView;
typedef struct _VideoViewClass VideoViewClass;
typedef struct _VideoViewPrivate VideoViewPrivate;
+enum {
+ VIDEO_VIEW_0_PROPERTY,
+ VIDEO_VIEW_NUM_PROPERTIES
+};
+static GParamSpec* video_view_properties[VIDEO_VIEW_NUM_PROPERTIES];
#define TYPE_VIDEO_SOURCE (video_source_get_type ())
#define VIDEO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_SOURCE, VideoSource))
@@ -153,6 +169,11 @@ typedef struct _VideoSourceClass VideoSourceClass;
typedef struct _EventView EventView;
typedef struct _EventViewClass EventViewClass;
typedef struct _EventViewPrivate EventViewPrivate;
+enum {
+ EVENT_VIEW_0_PROPERTY,
+ EVENT_VIEW_NUM_PROPERTIES
+};
+static GParamSpec* event_view_properties[EVENT_VIEW_NUM_PROPERTIES];
#define TYPE_EVENT_SOURCE (event_source_get_type ())
#define EVENT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENT_SOURCE, EventSource))
@@ -243,103 +264,118 @@ static gpointer event_view_parent_class = NULL;
GType data_object_get_type (void) G_GNUC_CONST;
gpointer alteration_ref (gpointer instance);
void alteration_unref (gpointer instance);
-GParamSpec* param_spec_alteration (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_alteration (GValue* value, gpointer v_object);
-void value_take_alteration (GValue* value, gpointer v_object);
+GParamSpec* param_spec_alteration (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_alteration (GValue* value,
+ gpointer v_object);
+void value_take_alteration (GValue* value,
+ gpointer v_object);
gpointer value_get_alteration (const GValue* value);
GType alteration_get_type (void) G_GNUC_CONST;
gpointer data_collection_ref (gpointer instance);
void data_collection_unref (gpointer instance);
-GParamSpec* param_spec_data_collection (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_data_collection (GValue* value, gpointer v_object);
-void value_take_data_collection (GValue* value, gpointer v_object);
+GParamSpec* param_spec_data_collection (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_data_collection (GValue* value,
+ gpointer v_object);
+void value_take_data_collection (GValue* value,
+ gpointer v_object);
gpointer value_get_data_collection (const GValue* value);
GType data_collection_get_type (void) G_GNUC_CONST;
GType data_view_get_type (void) G_GNUC_CONST;
GType data_source_get_type (void) G_GNUC_CONST;
GType thumbnail_view_get_type (void) G_GNUC_CONST;
-enum {
- THUMBNAIL_VIEW_DUMMY_PROPERTY
-};
GType thumbnail_source_get_type (void) G_GNUC_CONST;
ThumbnailView* thumbnail_view_new (ThumbnailSource* source);
-ThumbnailView* thumbnail_view_construct (GType object_type, ThumbnailSource* source);
+ThumbnailView* thumbnail_view_construct (GType object_type,
+ ThumbnailSource* source);
DataView* data_view_new (DataSource* source);
-DataView* data_view_construct (GType object_type, DataSource* source);
+DataView* data_view_construct (GType object_type,
+ DataSource* source);
void thumbnail_view_notify_thumbnail_altered (ThumbnailView* self);
static void thumbnail_view_real_notify_thumbnail_altered (ThumbnailView* self);
static void thumbnail_view_real_thumbnail_altered (ThumbnailView* self);
GType photo_view_get_type (void) G_GNUC_CONST;
-enum {
- PHOTO_VIEW_DUMMY_PROPERTY
-};
GType media_source_get_type (void) G_GNUC_CONST;
GType photo_source_get_type (void) G_GNUC_CONST;
PhotoView* photo_view_new (PhotoSource* source);
-PhotoView* photo_view_construct (GType object_type, PhotoSource* source);
+PhotoView* photo_view_construct (GType object_type,
+ PhotoSource* source);
PhotoSource* photo_view_get_photo_source (PhotoView* self);
DataSource* data_view_get_source (DataView* self);
GType video_view_get_type (void) G_GNUC_CONST;
-enum {
- VIDEO_VIEW_DUMMY_PROPERTY
-};
GType video_source_get_type (void) G_GNUC_CONST;
VideoView* video_view_new (VideoSource* source);
-VideoView* video_view_construct (GType object_type, VideoSource* source);
+VideoView* video_view_construct (GType object_type,
+ VideoSource* source);
VideoSource* video_view_get_video_source (VideoView* self);
GType event_view_get_type (void) G_GNUC_CONST;
-enum {
- EVENT_VIEW_DUMMY_PROPERTY
-};
GType event_source_get_type (void) G_GNUC_CONST;
EventView* event_view_new (EventSource* source);
-EventView* event_view_construct (GType object_type, EventSource* source);
+EventView* event_view_construct (GType object_type,
+ EventSource* source);
EventSource* event_view_get_event_source (EventView* self);
-ThumbnailView* thumbnail_view_construct (GType object_type, ThumbnailSource* source) {
+ThumbnailView*
+thumbnail_view_construct (GType object_type,
+ ThumbnailSource* source)
+{
ThumbnailView * self = 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"
- _tmp0_ = source;
-#line 12 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
- self = (ThumbnailView*) data_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_SOURCE, DataSource));
+ self = (ThumbnailView*) data_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_DATA_SOURCE, DataSource));
#line 11 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
return self;
-#line 312 "DataViewTypes.c"
+#line 338 "DataViewTypes.c"
}
-ThumbnailView* thumbnail_view_new (ThumbnailSource* source) {
+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 319 "DataViewTypes.c"
+#line 347 "DataViewTypes.c"
}
-static void thumbnail_view_real_notify_thumbnail_altered (ThumbnailView* self) {
+static void
+thumbnail_view_real_notify_thumbnail_altered (ThumbnailView* self)
+{
#line 17 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
g_signal_emit (self, thumbnail_view_signals[THUMBNAIL_VIEW_THUMBNAIL_ALTERED_SIGNAL], 0);
-#line 326 "DataViewTypes.c"
+#line 356 "DataViewTypes.c"
}
-void thumbnail_view_notify_thumbnail_altered (ThumbnailView* self) {
+void
+thumbnail_view_notify_thumbnail_altered (ThumbnailView* self)
+{
#line 15 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
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 335 "DataViewTypes.c"
+#line 367 "DataViewTypes.c"
}
-static void thumbnail_view_real_thumbnail_altered (ThumbnailView* self) {
+static void
+thumbnail_view_real_thumbnail_altered (ThumbnailView* self)
+{
}
-static void thumbnail_view_class_init (ThumbnailViewClass * klass) {
+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"
@@ -348,15 +384,19 @@ static void thumbnail_view_class_init (ThumbnailViewClass * klass) {
((ThumbnailViewClass *) klass)->thumbnail_altered = thumbnail_view_real_thumbnail_altered;
#line 7 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
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"
+#line 388 "DataViewTypes.c"
}
-static void thumbnail_view_instance_init (ThumbnailView * self) {
+static void
+thumbnail_view_instance_init (ThumbnailView * self)
+{
}
-GType thumbnail_view_get_type (void) {
+GType
+thumbnail_view_get_type (void)
+{
static volatile gsize thumbnail_view_type_id__volatile = 0;
if (g_once_init_enter (&thumbnail_view_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ThumbnailViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) thumbnail_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ThumbnailView), 0, (GInstanceInitFunc) thumbnail_view_instance_init, NULL };
@@ -368,29 +408,33 @@ GType thumbnail_view_get_type (void) {
}
-PhotoView* photo_view_construct (GType object_type, PhotoSource* source) {
+PhotoView*
+photo_view_construct (GType object_type,
+ PhotoSource* source)
+{
PhotoView * self = 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"
- _tmp0_ = source;
-#line 23 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
- self = (PhotoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
+ self = (PhotoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
#line 22 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
return self;
-#line 383 "DataViewTypes.c"
+#line 423 "DataViewTypes.c"
}
-PhotoView* photo_view_new (PhotoSource* source) {
+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 390 "DataViewTypes.c"
+#line 432 "DataViewTypes.c"
}
-PhotoSource* photo_view_get_photo_source (PhotoView* self) {
+PhotoSource*
+photo_view_get_photo_source (PhotoView* self)
+{
PhotoSource* result = NULL;
DataSource* _tmp0_;
#line 26 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
@@ -401,22 +445,28 @@ 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 405 "DataViewTypes.c"
+#line 449 "DataViewTypes.c"
}
-static void photo_view_class_init (PhotoViewClass * klass) {
+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 412 "DataViewTypes.c"
+#line 458 "DataViewTypes.c"
}
-static void photo_view_instance_init (PhotoView * self) {
+static void
+photo_view_instance_init (PhotoView * self)
+{
}
-GType photo_view_get_type (void) {
+GType
+photo_view_get_type (void)
+{
static volatile gsize photo_view_type_id__volatile = 0;
if (g_once_init_enter (&photo_view_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PhotoViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) photo_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PhotoView), 0, (GInstanceInitFunc) photo_view_instance_init, NULL };
@@ -428,29 +478,33 @@ GType photo_view_get_type (void) {
}
-VideoView* video_view_construct (GType object_type, VideoSource* source) {
+VideoView*
+video_view_construct (GType object_type,
+ VideoSource* source)
+{
VideoView * self = 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"
- _tmp0_ = source;
-#line 33 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
- self = (VideoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
+ self = (VideoView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
#line 32 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
return self;
-#line 443 "DataViewTypes.c"
+#line 493 "DataViewTypes.c"
}
-VideoView* video_view_new (VideoSource* source) {
+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 450 "DataViewTypes.c"
+#line 502 "DataViewTypes.c"
}
-VideoSource* video_view_get_video_source (VideoView* self) {
+VideoSource*
+video_view_get_video_source (VideoView* self)
+{
VideoSource* result = NULL;
DataSource* _tmp0_;
#line 36 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
@@ -461,22 +515,28 @@ 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 465 "DataViewTypes.c"
+#line 519 "DataViewTypes.c"
}
-static void video_view_class_init (VideoViewClass * klass) {
+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 472 "DataViewTypes.c"
+#line 528 "DataViewTypes.c"
}
-static void video_view_instance_init (VideoView * self) {
+static void
+video_view_instance_init (VideoView * self)
+{
}
-GType video_view_get_type (void) {
+GType
+video_view_get_type (void)
+{
static volatile gsize video_view_type_id__volatile = 0;
if (g_once_init_enter (&video_view_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (VideoViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) video_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (VideoView), 0, (GInstanceInitFunc) video_view_instance_init, NULL };
@@ -488,29 +548,33 @@ GType video_view_get_type (void) {
}
-EventView* event_view_construct (GType object_type, EventSource* source) {
+EventView*
+event_view_construct (GType object_type,
+ EventSource* source)
+{
EventView * self = 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"
- _tmp0_ = source;
-#line 43 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
- self = (EventView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
+ self = (EventView*) thumbnail_view_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (source, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
#line 42 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
return self;
-#line 503 "DataViewTypes.c"
+#line 563 "DataViewTypes.c"
}
-EventView* event_view_new (EventSource* source) {
+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 510 "DataViewTypes.c"
+#line 572 "DataViewTypes.c"
}
-EventSource* event_view_get_event_source (EventView* self) {
+EventSource*
+event_view_get_event_source (EventView* self)
+{
EventSource* result = NULL;
DataSource* _tmp0_;
#line 46 "/home/jens/Source/shotwell/src/core/DataViewTypes.vala"
@@ -521,22 +585,28 @@ 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 525 "DataViewTypes.c"
+#line 589 "DataViewTypes.c"
}
-static void event_view_class_init (EventViewClass * klass) {
+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 532 "DataViewTypes.c"
+#line 598 "DataViewTypes.c"
}
-static void event_view_instance_init (EventView * self) {
+static void
+event_view_instance_init (EventView * self)
+{
}
-GType event_view_get_type (void) {
+GType
+event_view_get_type (void)
+{
static volatile gsize event_view_type_id__volatile = 0;
if (g_once_init_enter (&event_view_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (EventViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) event_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EventView), 0, (GInstanceInitFunc) event_view_instance_init, NULL };