summaryrefslogtreecommitdiff
path: root/src/core/DataSourceTypes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/DataSourceTypes.c')
-rw-r--r--src/core/DataSourceTypes.c547
1 files changed, 373 insertions, 174 deletions
diff --git a/src/core/DataSourceTypes.c b/src/core/DataSourceTypes.c
index 539ab93..5fda46c 100644
--- a/src/core/DataSourceTypes.c
+++ b/src/core/DataSourceTypes.c
@@ -1,4 +1,4 @@
-/* DataSourceTypes.c generated by valac 0.36.6, the Vala compiler
+/* DataSourceTypes.c generated by valac 0.40.4, the Vala compiler
* generated from DataSourceTypes.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -10,6 +10,7 @@
/* Media sources*/
/**/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -104,6 +105,11 @@ typedef struct _ThumbnailSourceClass ThumbnailSourceClass;
typedef struct _ThumbnailSourcePrivate ThumbnailSourcePrivate;
#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ())
+enum {
+ THUMBNAIL_SOURCE_0_PROPERTY,
+ THUMBNAIL_SOURCE_NUM_PROPERTIES
+};
+static GParamSpec* thumbnail_source_properties[THUMBNAIL_SOURCE_NUM_PROPERTIES];
#define TYPE_DATA_VIEW (data_view_get_type ())
#define DATA_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DATA_VIEW, DataView))
@@ -126,9 +132,9 @@ typedef struct _ThumbnailView ThumbnailView;
typedef struct _ThumbnailViewClass ThumbnailViewClass;
enum {
THUMBNAIL_SOURCE_THUMBNAIL_ALTERED_SIGNAL,
- THUMBNAIL_SOURCE_LAST_SIGNAL
+ THUMBNAIL_SOURCE_NUM_SIGNALS
};
-static guint thumbnail_source_signals[THUMBNAIL_SOURCE_LAST_SIGNAL] = {0};
+static guint thumbnail_source_signals[THUMBNAIL_SOURCE_NUM_SIGNALS] = {0};
#define TYPE_INDEXABLE (indexable_get_type ())
#define INDEXABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_INDEXABLE, Indexable))
@@ -207,6 +213,11 @@ typedef struct _MediaMetadataClass MediaMetadataClass;
typedef struct _PhotoMetadata PhotoMetadata;
typedef struct _PhotoMetadataClass PhotoMetadataClass;
+enum {
+ PHOTO_SOURCE_0_PROPERTY,
+ PHOTO_SOURCE_NUM_PROPERTIES
+};
+static GParamSpec* photo_source_properties[PHOTO_SOURCE_NUM_PROPERTIES];
#define TYPE_VIDEO_SOURCE (video_source_get_type ())
#define VIDEO_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIDEO_SOURCE, VideoSource))
@@ -218,6 +229,11 @@ typedef struct _PhotoMetadataClass PhotoMetadataClass;
typedef struct _VideoSource VideoSource;
typedef struct _VideoSourceClass VideoSourceClass;
typedef struct _VideoSourcePrivate VideoSourcePrivate;
+enum {
+ VIDEO_SOURCE_0_PROPERTY,
+ VIDEO_SOURCE_NUM_PROPERTIES
+};
+static GParamSpec* video_source_properties[VIDEO_SOURCE_NUM_PROPERTIES];
#define TYPE_EVENT_SOURCE (event_source_get_type ())
#define EVENT_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_EVENT_SOURCE, EventSource))
@@ -229,6 +245,11 @@ typedef struct _VideoSourcePrivate VideoSourcePrivate;
typedef struct _EventSource EventSource;
typedef struct _EventSourceClass EventSourceClass;
typedef struct _EventSourcePrivate EventSourcePrivate;
+enum {
+ EVENT_SOURCE_0_PROPERTY,
+ EVENT_SOURCE_NUM_PROPERTIES
+};
+static GParamSpec* event_source_properties[EVENT_SOURCE_NUM_PROPERTIES];
#define TYPE_CONTAINER_SOURCE (container_source_get_type ())
#define CONTAINER_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONTAINER_SOURCE, ContainerSource))
@@ -460,53 +481,88 @@ static gpointer event_source_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_source_get_type (void) G_GNUC_CONST;
gpointer source_holding_tank_ref (gpointer instance);
void source_holding_tank_unref (gpointer instance);
-GParamSpec* param_spec_source_holding_tank (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_source_holding_tank (GValue* value, gpointer v_object);
-void value_take_source_holding_tank (GValue* value, gpointer v_object);
+GParamSpec* param_spec_source_holding_tank (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_source_holding_tank (GValue* value,
+ gpointer v_object);
+void value_take_source_holding_tank (GValue* value,
+ gpointer v_object);
gpointer value_get_source_holding_tank (const GValue* value);
GType source_holding_tank_get_type (void) G_GNUC_CONST;
GType source_collection_get_type (void) G_GNUC_CONST;
gpointer source_snapshot_ref (gpointer instance);
void source_snapshot_unref (gpointer instance);
-GParamSpec* param_spec_source_snapshot (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_source_snapshot (GValue* value, gpointer v_object);
-void value_take_source_snapshot (GValue* value, gpointer v_object);
+GParamSpec* param_spec_source_snapshot (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_source_snapshot (GValue* value,
+ gpointer v_object);
+void value_take_source_snapshot (GValue* value,
+ gpointer v_object);
gpointer value_get_source_snapshot (const GValue* value);
GType source_snapshot_get_type (void) G_GNUC_CONST;
GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType photo_file_format_get_type (void) G_GNUC_CONST;
-enum {
- THUMBNAIL_SOURCE_DUMMY_PROPERTY
-};
-ThumbnailSource* thumbnail_source_construct (GType object_type, gint64 object_id);
-DataSource* data_source_construct (GType object_type, gint64 object_id);
+ThumbnailSource* thumbnail_source_construct (GType object_type,
+ gint64 object_id);
+DataSource* data_source_construct (GType object_type,
+ gint64 object_id);
void thumbnail_source_notify_thumbnail_altered (ThumbnailSource* self);
static void thumbnail_source_real_notify_thumbnail_altered (ThumbnailSource* self);
GType data_view_get_type (void) G_GNUC_CONST;
-void data_source_contact_subscribers (DataSource* self, DataSourceContactSubscriber contact_subscriber, void* contact_subscriber_target);
-static void thumbnail_source_subscriber_thumbnail_altered (ThumbnailSource* self, DataView* view);
-static void _thumbnail_source_subscriber_thumbnail_altered_data_source_contact_subscriber (DataView* view, gpointer self);
+void data_source_contact_subscribers (DataSource* self,
+ DataSourceContactSubscriber contact_subscriber,
+ void* contact_subscriber_target);
+static void thumbnail_source_subscriber_thumbnail_altered (ThumbnailSource* self,
+ DataView* view);
+static void _thumbnail_source_subscriber_thumbnail_altered_data_source_contact_subscriber (DataView* view,
+ gpointer self);
GType thumbnail_view_get_type (void) G_GNUC_CONST;
void thumbnail_view_notify_thumbnail_altered (ThumbnailView* self);
-GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self, gint scale, GError** error);
-static GdkPixbuf* thumbnail_source_real_get_thumbnail (ThumbnailSource* self, gint scale, GError** error);
-GdkPixbuf* thumbnail_source_create_thumbnail (ThumbnailSource* self, gint scale, GError** error);
-static GdkPixbuf* thumbnail_source_real_create_thumbnail (ThumbnailSource* self, gint scale, GError** error);
+GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error);
+static GdkPixbuf* thumbnail_source_real_get_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error);
+GdkPixbuf* thumbnail_source_create_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error);
+static GdkPixbuf* thumbnail_source_real_create_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error);
gchar* thumbnail_source_get_representative_id (ThumbnailSource* self);
static gchar* thumbnail_source_real_get_representative_id (ThumbnailSource* self);
gchar* data_source_get_source_id (DataSource* self);
@@ -520,9 +576,15 @@ EventID* event_id_dup (const EventID* self);
void event_id_free (EventID* self);
gpointer backing_file_state_ref (gpointer instance);
void backing_file_state_unref (gpointer instance);
-GParamSpec* param_spec_backing_file_state (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_backing_file_state (GValue* value, gpointer v_object);
-void value_take_backing_file_state (GValue* value, gpointer v_object);
+GParamSpec* param_spec_backing_file_state (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_backing_file_state (GValue* value,
+ gpointer v_object);
+void value_take_backing_file_state (GValue* value,
+ gpointer v_object);
gpointer value_get_backing_file_state (const GValue* value);
GType backing_file_state_get_type (void) G_GNUC_CONST;
GType rating_get_type (void) G_GNUC_CONST;
@@ -540,32 +602,36 @@ void import_id_free (ImportID* self);
GType photo_source_get_type (void) G_GNUC_CONST;
gpointer media_metadata_ref (gpointer instance);
void media_metadata_unref (gpointer instance);
-GParamSpec* param_spec_media_metadata (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_media_metadata (GValue* value, gpointer v_object);
-void value_take_media_metadata (GValue* value, gpointer v_object);
+GParamSpec* param_spec_media_metadata (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_media_metadata (GValue* value,
+ gpointer v_object);
+void value_take_media_metadata (GValue* value,
+ gpointer v_object);
gpointer value_get_media_metadata (const GValue* value);
GType media_metadata_get_type (void) G_GNUC_CONST;
GType photo_metadata_get_type (void) G_GNUC_CONST;
-enum {
- PHOTO_SOURCE_DUMMY_PROPERTY
-};
-PhotoSource* photo_source_construct (GType object_type, gint64 object_id);
-MediaSource* media_source_construct (GType object_type, gint64 object_id);
+PhotoSource* photo_source_construct (GType object_type,
+ gint64 object_id);
+MediaSource* media_source_construct (GType object_type,
+ gint64 object_id);
PhotoMetadata* photo_source_get_metadata (PhotoSource* self);
static PhotoMetadata* photo_source_real_get_metadata (PhotoSource* self);
-GdkPixbuf* photo_source_get_pixbuf (PhotoSource* self, Scaling* scaling, GError** error);
-static GdkPixbuf* photo_source_real_get_pixbuf (PhotoSource* self, Scaling* scaling, GError** error);
+GdkPixbuf* photo_source_get_pixbuf (PhotoSource* self,
+ Scaling* scaling,
+ GError** error);
+static GdkPixbuf* photo_source_real_get_pixbuf (PhotoSource* self,
+ Scaling* scaling,
+ GError** error);
GType video_source_get_type (void) G_GNUC_CONST;
-enum {
- VIDEO_SOURCE_DUMMY_PROPERTY
-};
VideoSource* video_source_construct (GType object_type);
#define DATA_OBJECT_INVALID_OBJECT_ID ((gint64) -1)
GType event_source_get_type (void) G_GNUC_CONST;
-enum {
- EVENT_SOURCE_DUMMY_PROPERTY
-};
-EventSource* event_source_construct (GType object_type, gint64 object_id);
+EventSource* event_source_construct (GType object_type,
+ gint64 object_id);
time_t event_source_get_start_time (EventSource* self);
static time_t event_source_real_get_start_time (EventSource* self);
time_t event_source_get_end_time (EventSource* self);
@@ -578,113 +644,150 @@ GeeCollection* event_source_get_media (EventSource* self);
static GeeCollection* event_source_real_get_media (EventSource* self);
gchar* event_source_get_comment (EventSource* self);
static gchar* event_source_real_get_comment (EventSource* self);
-gboolean event_source_set_comment (EventSource* self, const gchar* comment);
-static gboolean event_source_real_set_comment (EventSource* self, const gchar* comment);
+gboolean event_source_set_comment (EventSource* self,
+ const gchar* comment);
+static gboolean event_source_real_set_comment (EventSource* self,
+ const gchar* comment);
gpointer source_backlink_ref (gpointer instance);
void source_backlink_unref (gpointer instance);
-GParamSpec* param_spec_source_backlink (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_source_backlink (GValue* value, gpointer v_object);
-void value_take_source_backlink (GValue* value, gpointer v_object);
+GParamSpec* param_spec_source_backlink (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void value_set_source_backlink (GValue* value,
+ gpointer v_object);
+void value_take_source_backlink (GValue* value,
+ gpointer v_object);
gpointer value_get_source_backlink (const GValue* value);
GType source_backlink_get_type (void) G_GNUC_CONST;
GType container_source_get_type (void) G_GNUC_CONST;
gboolean container_source_has_links (ContainerSource* self);
SourceBacklink* container_source_get_backlink (ContainerSource* self);
-void container_source_break_link (ContainerSource* self, DataSource* source);
-void container_source_break_link_many (ContainerSource* self, GeeCollection* sources);
-void container_source_establish_link (ContainerSource* self, DataSource* source);
-void container_source_establish_link_many (ContainerSource* self, GeeCollection* sources);
-
-
-ThumbnailSource* thumbnail_source_construct (GType object_type, gint64 object_id) {
+void container_source_break_link (ContainerSource* self,
+ DataSource* source);
+void container_source_break_link_many (ContainerSource* self,
+ GeeCollection* sources);
+void container_source_establish_link (ContainerSource* self,
+ DataSource* source);
+void container_source_establish_link_many (ContainerSource* self,
+ GeeCollection* sources);
+
+
+ThumbnailSource*
+thumbnail_source_construct (GType object_type,
+ gint64 object_id)
+{
ThumbnailSource * self = NULL;
- gint64 _tmp0_;
-#line 16 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- _tmp0_ = object_id;
#line 16 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- self = (ThumbnailSource*) data_source_construct (object_type, _tmp0_);
+ self = (ThumbnailSource*) data_source_construct (object_type, object_id);
#line 15 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return self;
-#line 609 "DataSourceTypes.c"
+#line 687 "DataSourceTypes.c"
}
-static void _thumbnail_source_subscriber_thumbnail_altered_data_source_contact_subscriber (DataView* view, gpointer self) {
+static void
+_thumbnail_source_subscriber_thumbnail_altered_data_source_contact_subscriber (DataView* view,
+ gpointer self)
+{
#line 24 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
thumbnail_source_subscriber_thumbnail_altered ((ThumbnailSource*) self, view);
-#line 616 "DataSourceTypes.c"
+#line 697 "DataSourceTypes.c"
}
-static void thumbnail_source_real_notify_thumbnail_altered (ThumbnailSource* self) {
+static void
+thumbnail_source_real_notify_thumbnail_altered (ThumbnailSource* self)
+{
#line 21 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_signal_emit (self, thumbnail_source_signals[THUMBNAIL_SOURCE_THUMBNAIL_ALTERED_SIGNAL], 0);
#line 24 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
data_source_contact_subscribers (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_SOURCE, DataSource), _thumbnail_source_subscriber_thumbnail_altered_data_source_contact_subscriber, self);
-#line 625 "DataSourceTypes.c"
+#line 708 "DataSourceTypes.c"
}
-void thumbnail_source_notify_thumbnail_altered (ThumbnailSource* self) {
+void
+thumbnail_source_notify_thumbnail_altered (ThumbnailSource* self)
+{
#line 19 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_THUMBNAIL_SOURCE (self));
#line 19 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
THUMBNAIL_SOURCE_GET_CLASS (self)->notify_thumbnail_altered (self);
-#line 634 "DataSourceTypes.c"
+#line 719 "DataSourceTypes.c"
}
-static void thumbnail_source_subscriber_thumbnail_altered (ThumbnailSource* self, DataView* view) {
- DataView* _tmp0_;
+static void
+thumbnail_source_subscriber_thumbnail_altered (ThumbnailSource* self,
+ DataView* view)
+{
#line 27 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_THUMBNAIL_SOURCE (self));
#line 27 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_DATA_VIEW (view));
#line 28 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- _tmp0_ = view;
-#line 28 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- thumbnail_view_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL_VIEW, ThumbnailView));
-#line 648 "DataSourceTypes.c"
+ thumbnail_view_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (view, TYPE_THUMBNAIL_VIEW, ThumbnailView));
+#line 733 "DataSourceTypes.c"
}
-static GdkPixbuf* thumbnail_source_real_get_thumbnail (ThumbnailSource* self, gint scale, GError** error) {
+static GdkPixbuf*
+thumbnail_source_real_get_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error)
+{
#line 31 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `thumbnail_source_get_thumbnail'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 31 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 657 "DataSourceTypes.c"
+#line 746 "DataSourceTypes.c"
}
-GdkPixbuf* thumbnail_source_get_thumbnail (ThumbnailSource* self, gint scale, GError** error) {
+GdkPixbuf*
+thumbnail_source_get_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error)
+{
#line 31 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (self), NULL);
#line 31 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return THUMBNAIL_SOURCE_GET_CLASS (self)->get_thumbnail (self, scale, error);
-#line 666 "DataSourceTypes.c"
+#line 759 "DataSourceTypes.c"
}
-static GdkPixbuf* thumbnail_source_real_create_thumbnail (ThumbnailSource* self, gint scale, GError** error) {
+static GdkPixbuf*
+thumbnail_source_real_create_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error)
+{
#line 35 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `thumbnail_source_create_thumbnail'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 35 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 675 "DataSourceTypes.c"
+#line 772 "DataSourceTypes.c"
}
-GdkPixbuf* thumbnail_source_create_thumbnail (ThumbnailSource* self, gint scale, GError** error) {
+GdkPixbuf*
+thumbnail_source_create_thumbnail (ThumbnailSource* self,
+ gint scale,
+ GError** error)
+{
#line 35 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (self), NULL);
#line 35 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return THUMBNAIL_SOURCE_GET_CLASS (self)->create_thumbnail (self, scale, error);
-#line 684 "DataSourceTypes.c"
+#line 785 "DataSourceTypes.c"
}
-static gchar* thumbnail_source_real_get_representative_id (ThumbnailSource* self) {
+static gchar*
+thumbnail_source_real_get_representative_id (ThumbnailSource* self)
+{
gchar* result = NULL;
gchar* _tmp0_;
#line 47 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
@@ -693,42 +796,52 @@ static gchar* thumbnail_source_real_get_representative_id (ThumbnailSource* self
result = _tmp0_;
#line 47 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return result;
-#line 697 "DataSourceTypes.c"
+#line 800 "DataSourceTypes.c"
}
-gchar* thumbnail_source_get_representative_id (ThumbnailSource* self) {
+gchar*
+thumbnail_source_get_representative_id (ThumbnailSource* self)
+{
#line 46 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (self), NULL);
#line 46 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return THUMBNAIL_SOURCE_GET_CLASS (self)->get_representative_id (self);
-#line 706 "DataSourceTypes.c"
+#line 811 "DataSourceTypes.c"
}
-static PhotoFileFormat thumbnail_source_real_get_preferred_thumbnail_format (ThumbnailSource* self) {
+static PhotoFileFormat
+thumbnail_source_real_get_preferred_thumbnail_format (ThumbnailSource* self)
+{
#line 50 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `thumbnail_source_get_preferred_thumbnail_format'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 50 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return 0;
-#line 715 "DataSourceTypes.c"
+#line 822 "DataSourceTypes.c"
}
-PhotoFileFormat thumbnail_source_get_preferred_thumbnail_format (ThumbnailSource* self) {
+PhotoFileFormat
+thumbnail_source_get_preferred_thumbnail_format (ThumbnailSource* self)
+{
#line 50 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_THUMBNAIL_SOURCE (self), 0);
#line 50 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return THUMBNAIL_SOURCE_GET_CLASS (self)->get_preferred_thumbnail_format (self);
-#line 724 "DataSourceTypes.c"
+#line 833 "DataSourceTypes.c"
}
-static void thumbnail_source_real_thumbnail_altered (ThumbnailSource* self) {
+static void
+thumbnail_source_real_thumbnail_altered (ThumbnailSource* self)
+{
}
-static void thumbnail_source_class_init (ThumbnailSourceClass * klass) {
+static void
+thumbnail_source_class_init (ThumbnailSourceClass * klass)
+{
#line 11 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
thumbnail_source_parent_class = g_type_class_peek_parent (klass);
#line 11 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
@@ -745,15 +858,19 @@ static void thumbnail_source_class_init (ThumbnailSourceClass * klass) {
((ThumbnailSourceClass *) klass)->thumbnail_altered = thumbnail_source_real_thumbnail_altered;
#line 11 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
thumbnail_source_signals[THUMBNAIL_SOURCE_THUMBNAIL_ALTERED_SIGNAL] = g_signal_new ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ThumbnailSourceClass, thumbnail_altered), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 749 "DataSourceTypes.c"
+#line 862 "DataSourceTypes.c"
}
-static void thumbnail_source_instance_init (ThumbnailSource * self) {
+static void
+thumbnail_source_instance_init (ThumbnailSource * self)
+{
}
-GType thumbnail_source_get_type (void) {
+GType
+thumbnail_source_get_type (void)
+{
static volatile gsize thumbnail_source_type_id__volatile = 0;
if (g_once_init_enter (&thumbnail_source_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ThumbnailSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) thumbnail_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ThumbnailSource), 0, (GInstanceInitFunc) thumbnail_source_instance_init, NULL };
@@ -765,71 +882,89 @@ GType thumbnail_source_get_type (void) {
}
-PhotoSource* photo_source_construct (GType object_type, gint64 object_id) {
+PhotoSource*
+photo_source_construct (GType object_type,
+ gint64 object_id)
+{
PhotoSource * self = NULL;
- gint64 _tmp0_;
-#line 55 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- _tmp0_ = object_id;
#line 55 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- self = (PhotoSource*) media_source_construct (object_type, _tmp0_);
+ self = (PhotoSource*) media_source_construct (object_type, object_id);
#line 54 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return self;
-#line 778 "DataSourceTypes.c"
+#line 895 "DataSourceTypes.c"
}
-static PhotoMetadata* photo_source_real_get_metadata (PhotoSource* self) {
+static PhotoMetadata*
+photo_source_real_get_metadata (PhotoSource* self)
+{
#line 58 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `photo_source_get_metadata'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 58 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 787 "DataSourceTypes.c"
+#line 906 "DataSourceTypes.c"
}
-PhotoMetadata* photo_source_get_metadata (PhotoSource* self) {
+PhotoMetadata*
+photo_source_get_metadata (PhotoSource* self)
+{
#line 58 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_PHOTO_SOURCE (self), NULL);
#line 58 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return PHOTO_SOURCE_GET_CLASS (self)->get_metadata (self);
-#line 796 "DataSourceTypes.c"
+#line 917 "DataSourceTypes.c"
}
-static GdkPixbuf* photo_source_real_get_pixbuf (PhotoSource* self, Scaling* scaling, GError** error) {
+static GdkPixbuf*
+photo_source_real_get_pixbuf (PhotoSource* self,
+ Scaling* scaling,
+ GError** error)
+{
#line 60 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `photo_source_get_pixbuf'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 60 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 805 "DataSourceTypes.c"
+#line 930 "DataSourceTypes.c"
}
-GdkPixbuf* photo_source_get_pixbuf (PhotoSource* self, Scaling* scaling, GError** error) {
+GdkPixbuf*
+photo_source_get_pixbuf (PhotoSource* self,
+ Scaling* scaling,
+ GError** error)
+{
#line 60 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_PHOTO_SOURCE (self), NULL);
#line 60 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return PHOTO_SOURCE_GET_CLASS (self)->get_pixbuf (self, scaling, error);
-#line 814 "DataSourceTypes.c"
+#line 943 "DataSourceTypes.c"
}
-static void photo_source_class_init (PhotoSourceClass * klass) {
+static void
+photo_source_class_init (PhotoSourceClass * klass)
+{
#line 53 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
photo_source_parent_class = g_type_class_peek_parent (klass);
#line 53 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
((PhotoSourceClass *) klass)->get_metadata = (PhotoMetadata* (*) (PhotoSource *)) photo_source_real_get_metadata;
#line 53 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
((PhotoSourceClass *) klass)->get_pixbuf = (GdkPixbuf* (*) (PhotoSource *, Scaling*, GError**)) photo_source_real_get_pixbuf;
-#line 825 "DataSourceTypes.c"
+#line 956 "DataSourceTypes.c"
}
-static void photo_source_instance_init (PhotoSource * self) {
+static void
+photo_source_instance_init (PhotoSource * self)
+{
}
-GType photo_source_get_type (void) {
+GType
+photo_source_get_type (void)
+{
static volatile gsize photo_source_type_id__volatile = 0;
if (g_once_init_enter (&photo_source_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PhotoSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) photo_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PhotoSource), 0, (GInstanceInitFunc) photo_source_instance_init, NULL };
@@ -841,28 +976,36 @@ GType photo_source_get_type (void) {
}
-VideoSource* video_source_construct (GType object_type) {
+VideoSource*
+video_source_construct (GType object_type)
+{
VideoSource * self = NULL;
#line 63 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
self = (VideoSource*) media_source_construct (object_type, DATA_OBJECT_INVALID_OBJECT_ID);
#line 63 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return self;
-#line 851 "DataSourceTypes.c"
+#line 988 "DataSourceTypes.c"
}
-static void video_source_class_init (VideoSourceClass * klass) {
+static void
+video_source_class_init (VideoSourceClass * klass)
+{
#line 63 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
video_source_parent_class = g_type_class_peek_parent (klass);
-#line 858 "DataSourceTypes.c"
+#line 997 "DataSourceTypes.c"
}
-static void video_source_instance_init (VideoSource * self) {
+static void
+video_source_instance_init (VideoSource * self)
+{
}
-GType video_source_get_type (void) {
+GType
+video_source_get_type (void)
+{
static volatile gsize video_source_type_id__volatile = 0;
if (g_once_init_enter (&video_source_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (VideoSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) video_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (VideoSource), 0, (GInstanceInitFunc) video_source_instance_init, NULL };
@@ -874,151 +1017,183 @@ GType video_source_get_type (void) {
}
-EventSource* event_source_construct (GType object_type, gint64 object_id) {
+EventSource*
+event_source_construct (GType object_type,
+ gint64 object_id)
+{
EventSource * self = NULL;
- gint64 _tmp0_;
-#line 72 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- _tmp0_ = object_id;
#line 72 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
- self = (EventSource*) thumbnail_source_construct (object_type, _tmp0_);
+ self = (EventSource*) thumbnail_source_construct (object_type, object_id);
#line 71 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return self;
-#line 887 "DataSourceTypes.c"
+#line 1030 "DataSourceTypes.c"
}
-static time_t event_source_real_get_start_time (EventSource* self) {
+static time_t
+event_source_real_get_start_time (EventSource* self)
+{
time_t _tmp0_ = 0;
#line 75 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_start_time'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 75 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return _tmp0_;
-#line 897 "DataSourceTypes.c"
+#line 1042 "DataSourceTypes.c"
}
-time_t event_source_get_start_time (EventSource* self) {
+time_t
+event_source_get_start_time (EventSource* self)
+{
#line 75 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), 0);
#line 75 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_start_time (self);
-#line 906 "DataSourceTypes.c"
+#line 1053 "DataSourceTypes.c"
}
-static time_t event_source_real_get_end_time (EventSource* self) {
+static time_t
+event_source_real_get_end_time (EventSource* self)
+{
time_t _tmp0_ = 0;
#line 77 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_end_time'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 77 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return _tmp0_;
-#line 916 "DataSourceTypes.c"
+#line 1065 "DataSourceTypes.c"
}
-time_t event_source_get_end_time (EventSource* self) {
+time_t
+event_source_get_end_time (EventSource* self)
+{
#line 77 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), 0);
#line 77 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_end_time (self);
-#line 925 "DataSourceTypes.c"
+#line 1076 "DataSourceTypes.c"
}
-static guint64 event_source_real_get_total_filesize (EventSource* self) {
+static guint64
+event_source_real_get_total_filesize (EventSource* self)
+{
guint64 _tmp0_ = 0ULL;
#line 79 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_total_filesize'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 79 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return _tmp0_;
-#line 935 "DataSourceTypes.c"
+#line 1088 "DataSourceTypes.c"
}
-guint64 event_source_get_total_filesize (EventSource* self) {
+guint64
+event_source_get_total_filesize (EventSource* self)
+{
#line 79 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), 0ULL);
#line 79 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_total_filesize (self);
-#line 944 "DataSourceTypes.c"
+#line 1099 "DataSourceTypes.c"
}
-static gint event_source_real_get_media_count (EventSource* self) {
+static gint
+event_source_real_get_media_count (EventSource* self)
+{
gint _tmp0_ = 0;
#line 81 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_media_count'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 81 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return _tmp0_;
-#line 954 "DataSourceTypes.c"
+#line 1111 "DataSourceTypes.c"
}
-gint event_source_get_media_count (EventSource* self) {
+gint
+event_source_get_media_count (EventSource* self)
+{
#line 81 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), 0);
#line 81 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_media_count (self);
-#line 963 "DataSourceTypes.c"
+#line 1122 "DataSourceTypes.c"
}
-static GeeCollection* event_source_real_get_media (EventSource* self) {
+static GeeCollection*
+event_source_real_get_media (EventSource* self)
+{
#line 83 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_media'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 83 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 972 "DataSourceTypes.c"
+#line 1133 "DataSourceTypes.c"
}
-GeeCollection* event_source_get_media (EventSource* self) {
+GeeCollection*
+event_source_get_media (EventSource* self)
+{
#line 83 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), NULL);
#line 83 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_media (self);
-#line 981 "DataSourceTypes.c"
+#line 1144 "DataSourceTypes.c"
}
-static gchar* event_source_real_get_comment (EventSource* self) {
+static gchar*
+event_source_real_get_comment (EventSource* self)
+{
#line 85 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_get_comment'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 85 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return NULL;
-#line 990 "DataSourceTypes.c"
+#line 1155 "DataSourceTypes.c"
}
-gchar* event_source_get_comment (EventSource* self) {
+gchar*
+event_source_get_comment (EventSource* self)
+{
#line 85 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), NULL);
#line 85 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->get_comment (self);
-#line 999 "DataSourceTypes.c"
+#line 1166 "DataSourceTypes.c"
}
-static gboolean event_source_real_set_comment (EventSource* self, const gchar* comment) {
+static gboolean
+event_source_real_set_comment (EventSource* self,
+ const gchar* comment)
+{
gboolean _tmp0_ = FALSE;
#line 87 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_critical ("Type `%s' does not implement abstract method `event_source_set_comment'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 87 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return _tmp0_;
-#line 1009 "DataSourceTypes.c"
+#line 1179 "DataSourceTypes.c"
}
-gboolean event_source_set_comment (EventSource* self, const gchar* comment) {
+gboolean
+event_source_set_comment (EventSource* self,
+ const gchar* comment)
+{
#line 87 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_EVENT_SOURCE (self), FALSE);
#line 87 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return EVENT_SOURCE_GET_CLASS (self)->set_comment (self, comment);
-#line 1018 "DataSourceTypes.c"
+#line 1191 "DataSourceTypes.c"
}
-static void event_source_class_init (EventSourceClass * klass) {
+static void
+event_source_class_init (EventSourceClass * klass)
+{
#line 70 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
event_source_parent_class = g_type_class_peek_parent (klass);
#line 70 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
@@ -1035,15 +1210,19 @@ static void event_source_class_init (EventSourceClass * klass) {
((EventSourceClass *) klass)->get_comment = (gchar* (*) (EventSource *)) event_source_real_get_comment;
#line 70 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
((EventSourceClass *) klass)->set_comment = (gboolean (*) (EventSource *, const gchar*)) event_source_real_set_comment;
-#line 1039 "DataSourceTypes.c"
+#line 1214 "DataSourceTypes.c"
}
-static void event_source_instance_init (EventSource * self) {
+static void
+event_source_instance_init (EventSource * self)
+{
}
-GType event_source_get_type (void) {
+GType
+event_source_get_type (void)
+{
static volatile gsize event_source_type_id__volatile = 0;
if (g_once_init_enter (&event_source_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (EventSourceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) event_source_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (EventSource), 0, (GInstanceInitFunc) event_source_instance_init, NULL };
@@ -1055,73 +1234,93 @@ GType event_source_get_type (void) {
}
-gboolean container_source_has_links (ContainerSource* self) {
+gboolean
+container_source_has_links (ContainerSource* self)
+{
#line 95 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_CONTAINER_SOURCE (self), FALSE);
#line 95 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return CONTAINER_SOURCE_GET_INTERFACE (self)->has_links (self);
-#line 1064 "DataSourceTypes.c"
+#line 1245 "DataSourceTypes.c"
}
-SourceBacklink* container_source_get_backlink (ContainerSource* self) {
+SourceBacklink*
+container_source_get_backlink (ContainerSource* self)
+{
#line 97 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_val_if_fail (IS_CONTAINER_SOURCE (self), NULL);
#line 97 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
return CONTAINER_SOURCE_GET_INTERFACE (self)->get_backlink (self);
-#line 1073 "DataSourceTypes.c"
+#line 1256 "DataSourceTypes.c"
}
-void container_source_break_link (ContainerSource* self, DataSource* source) {
+void
+container_source_break_link (ContainerSource* self,
+ DataSource* source)
+{
#line 99 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_CONTAINER_SOURCE (self));
#line 99 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
CONTAINER_SOURCE_GET_INTERFACE (self)->break_link (self, source);
-#line 1082 "DataSourceTypes.c"
+#line 1268 "DataSourceTypes.c"
}
-void container_source_break_link_many (ContainerSource* self, GeeCollection* sources) {
+void
+container_source_break_link_many (ContainerSource* self,
+ GeeCollection* sources)
+{
#line 101 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_CONTAINER_SOURCE (self));
#line 101 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
CONTAINER_SOURCE_GET_INTERFACE (self)->break_link_many (self, sources);
-#line 1091 "DataSourceTypes.c"
+#line 1280 "DataSourceTypes.c"
}
-void container_source_establish_link (ContainerSource* self, DataSource* source) {
+void
+container_source_establish_link (ContainerSource* self,
+ DataSource* source)
+{
#line 103 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_CONTAINER_SOURCE (self));
#line 103 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
CONTAINER_SOURCE_GET_INTERFACE (self)->establish_link (self, source);
-#line 1100 "DataSourceTypes.c"
+#line 1292 "DataSourceTypes.c"
}
-void container_source_establish_link_many (ContainerSource* self, GeeCollection* sources) {
+void
+container_source_establish_link_many (ContainerSource* self,
+ GeeCollection* sources)
+{
#line 105 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
g_return_if_fail (IS_CONTAINER_SOURCE (self));
#line 105 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
CONTAINER_SOURCE_GET_INTERFACE (self)->establish_link_many (self, sources);
-#line 1109 "DataSourceTypes.c"
+#line 1304 "DataSourceTypes.c"
}
-static void container_source_base_init (ContainerSourceIface * iface) {
+static void
+container_source_base_init (ContainerSourceIface * iface)
+{
#line 94 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
static gboolean initialized = FALSE;
#line 94 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
if (!initialized) {
#line 94 "/home/jens/Source/shotwell/src/core/DataSourceTypes.vala"
initialized = TRUE;
-#line 1120 "DataSourceTypes.c"
+#line 1317 "DataSourceTypes.c"
}
}
-GType container_source_get_type (void) {
+GType
+container_source_get_type (void)
+{
static volatile gsize container_source_type_id__volatile = 0;
if (g_once_init_enter (&container_source_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (ContainerSourceIface), (GBaseInitFunc) container_source_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };