summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:34:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-05-01 14:34:32 +0200
commit49120f48474fc8fdc2448c75d961bc238213cfac (patch)
tree05bcdb95d65a807cf0f1ffffd066c09074b5cf56 /src/plugins
parent2492891f112caac6076ce49721d9d5d78a152c3a (diff)
New upstream version 0.28.2upstream/0.28.2
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/ManifestWidget.c1711
-rw-r--r--src/plugins/ManifestWidget.vala32
-rw-r--r--src/plugins/Plugins.c40
-rw-r--r--src/plugins/meson.build15
4 files changed, 748 insertions, 1050 deletions
diff --git a/src/plugins/ManifestWidget.c b/src/plugins/ManifestWidget.c
index b309c95..dc9624f 100644
--- a/src/plugins/ManifestWidget.c
+++ b/src/plugins/ManifestWidget.c
@@ -17,7 +17,6 @@
#include <gdk/gdk.h>
#include <gee.h>
#include <gio/gio.h>
-#include <gobject/gvaluecollector.h>
#define PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR (plugins_manifest_widget_mediator_get_type ())
@@ -42,7 +41,6 @@ typedef struct _PluginsManifestListView PluginsManifestListView;
typedef struct _PluginsManifestListViewClass PluginsManifestListViewClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
-typedef struct _PluginsParamSpecManifestWidgetMediator PluginsParamSpecManifestWidgetMediator;
typedef struct _PluginsManifestListViewPrivate PluginsManifestListViewPrivate;
#define PLUGINS_MANIFEST_LIST_VIEW_TYPE_COLUMN (plugins_manifest_list_view_column_get_type ())
@@ -63,25 +61,20 @@ typedef struct _PluginsExtensionPointClass PluginsExtensionPointClass;
#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
struct _PluginsManifestWidgetMediator {
- GTypeInstance parent_instance;
- volatile int ref_count;
+ GtkBox parent_instance;
PluginsManifestWidgetMediatorPrivate * priv;
};
struct _PluginsManifestWidgetMediatorClass {
- GTypeClass parent_class;
- void (*finalize) (PluginsManifestWidgetMediator *self);
+ GtkBoxClass parent_class;
};
struct _PluginsManifestWidgetMediatorPrivate {
- GtkBuilder* builder;
+ GtkButton* about_button;
+ GtkScrolledWindow* list_bin;
PluginsManifestListView* list;
};
-struct _PluginsParamSpecManifestWidgetMediator {
- GParamSpec parent_instance;
-};
-
struct _PluginsManifestListView {
GtkTreeView parent_instance;
PluginsManifestListViewPrivate * priv;
@@ -108,40 +101,30 @@ typedef enum {
static gpointer plugins_manifest_widget_mediator_parent_class = NULL;
static gpointer plugins_manifest_list_view_parent_class = NULL;
-gpointer plugins_manifest_widget_mediator_ref (gpointer instance);
-void plugins_manifest_widget_mediator_unref (gpointer instance);
-GParamSpec* plugins_param_spec_manifest_widget_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_manifest_widget_mediator (GValue* value, gpointer v_object);
-void plugins_value_take_manifest_widget_mediator (GValue* value, gpointer v_object);
-gpointer plugins_value_get_manifest_widget_mediator (const GValue* value);
GType plugins_manifest_widget_mediator_get_type (void) G_GNUC_CONST;
GType plugins_manifest_list_view_get_type (void) G_GNUC_CONST;
#define PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediatorPrivate))
enum {
PLUGINS_MANIFEST_WIDGET_MEDIATOR_DUMMY_PROPERTY
};
-static GtkButton* plugins_manifest_widget_mediator_get_about_button (PluginsManifestWidgetMediator* self);
-static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMediator* self);
-static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender, gpointer self);
-static void plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self);
-static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
-GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user);
PluginsManifestListView* plugins_manifest_list_view_new (void);
PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type);
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_new (void);
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType object_type);
-static GtkScrolledWindow* plugins_manifest_widget_mediator_get_list_bin (PluginsManifestWidgetMediator* self);
+static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMediator* self);
+static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self);
+static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
static void plugins_manifest_widget_mediator_set_about_button_sensitivity (PluginsManifestWidgetMediator* self);
gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* self, int* result_length1);
gboolean plugins_get_pluggable_info (const gchar* id, SpitPluggableInfo* info);
gboolean is_string_empty (const gchar* s);
-static void _vala_array_add49 (gchar** * array, int* length, int* size, gchar* value);
+static void _vala_array_add52 (gchar** * array, int* length, int* size, gchar* value);
GdkPixbuf* resources_get_icon (const gchar* name, gint scale);
#define RESOURCES_ICON_GENERIC_PLUGIN "generic-plugin.png"
#define RESOURCES_DEFAULT_ICON_SCALE 24
gchar* plugins_get_pluggable_name (const gchar* id);
-GtkWidget* plugins_manifest_widget_mediator_get_widget (PluginsManifestWidgetMediator* self);
-static void plugins_manifest_widget_mediator_finalize (PluginsManifestWidgetMediator * obj);
+static void plugins_manifest_widget_mediator_finalize (GObject * obj);
#define PLUGINS_MANIFEST_LIST_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListViewPrivate))
enum {
PLUGINS_MANIFEST_LIST_VIEW_DUMMY_PROPERTY
@@ -169,7 +152,7 @@ gint plugins_compare_pluggable_names (void* a, void* b);
static gint _plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled);
static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView* self, GtkTreePath* path, GtkTreeIter* iter);
-static void _vala_array_add50 (gchar** * array, int* length, int* size, gchar* value);
+static void _vala_array_add53 (gchar** * array, int* length, int* size, gchar* value);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* base, GdkEventButton* event);
@@ -181,62 +164,56 @@ static gint _vala_array_length (gpointer array);
static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 41 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 25 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_on_about ((PluginsManifestWidgetMediator*) self);
-#line 187 "ManifestWidget.c"
+#line 170 "ManifestWidget.c"
}
static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
-#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 26 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_on_selection_changed ((PluginsManifestWidgetMediator*) self);
-#line 194 "ManifestWidget.c"
+#line 177 "ManifestWidget.c"
}
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType object_type) {
- PluginsManifestWidgetMediator* self = NULL;
+ PluginsManifestWidgetMediator * self = NULL;
GtkScrolledWindow* _tmp0_;
- GtkScrolledWindow* _tmp1_;
- PluginsManifestListView* _tmp2_;
- GtkButton* _tmp3_;
- GtkButton* _tmp4_;
- PluginsManifestListView* _tmp5_;
- GtkTreeSelection* _tmp6_;
-#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- self = (PluginsManifestWidgetMediator*) g_type_create_instance (object_type);
-#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = plugins_manifest_widget_mediator_get_list_bin (self);
-#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = _tmp0_;
-#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp2_ = self->priv->list;
-#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp3_ = plugins_manifest_widget_mediator_get_about_button (self);
-#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp4_ = _tmp3_;
-#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_connect (_tmp4_, "clicked", (GCallback) _plugins_manifest_widget_mediator_on_about_gtk_button_clicked, self);
-#line 35 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp5_ = self->priv->list;
-#line 35 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp6_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_tree_view_get_type (), GtkTreeView));
-#line 35 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_connect (_tmp6_, "changed", (GCallback) _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed, self);
-#line 37 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ PluginsManifestListView* _tmp1_;
+ GtkButton* _tmp2_;
+ PluginsManifestListView* _tmp3_;
+ GtkTreeSelection* _tmp4_;
+#line 21 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ self = (PluginsManifestWidgetMediator*) g_object_new (object_type, NULL);
+#line 23 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp0_ = self->priv->list_bin;
+#line 23 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp1_ = self->priv->list;
+#line 23 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
+#line 25 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp2_ = self->priv->about_button;
+#line 25 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_signal_connect_object (_tmp2_, "clicked", (GCallback) _plugins_manifest_widget_mediator_on_about_gtk_button_clicked, self, 0);
+#line 26 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp3_ = self->priv->list;
+#line 26 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp4_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_tree_view_get_type (), GtkTreeView));
+#line 26 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_signal_connect_object (_tmp4_, "changed", (GCallback) _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed, self, 0);
+#line 28 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_set_about_button_sensitivity (self);
-#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 20 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self;
-#line 233 "ManifestWidget.c"
+#line 210 "ManifestWidget.c"
}
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_new (void) {
-#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 20 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return plugins_manifest_widget_mediator_construct (PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR);
-#line 240 "ManifestWidget.c"
+#line 217 "ManifestWidget.c"
}
@@ -259,31 +236,31 @@ static gchar* string_strip (const gchar* self) {
result = _result_;
#line 1237 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 263 "ManifestWidget.c"
+#line 240 "ManifestWidget.c"
}
-static void _vala_array_add49 (gchar** * array, int* length, int* size, gchar* value) {
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+static void _vala_array_add52 (gchar** * array, int* length, int* size, gchar* value) {
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if ((*length) == (*size)) {
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 274 "ManifestWidget.c"
+#line 251 "ManifestWidget.c"
}
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[(*length)++] = value;
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[*length] = NULL;
-#line 280 "ManifestWidget.c"
+#line 257 "ManifestWidget.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self ? g_object_ref (self) : NULL;
-#line 287 "ManifestWidget.c"
+#line 264 "ManifestWidget.c"
}
@@ -350,77 +327,77 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
const gchar* _tmp73_;
GtkAboutDialog* _tmp74_;
GtkAboutDialog* _tmp75_;
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self));
-#line 46 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->list;
-#line 46 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp2_ = plugins_manifest_list_view_get_selected_ids (_tmp0_, &_tmp1_);
-#line 46 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = _tmp2_;
-#line 46 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids_length1 = _tmp1_;
-#line 46 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_ids_size_ = ids_length1;
-#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 33 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = ids;
-#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 33 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3__length1 = ids_length1;
-#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 33 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp3__length1 == 0) {
-#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return;
-#line 376 "ManifestWidget.c"
+#line 353 "ManifestWidget.c"
}
-#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4_ = ids;
-#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4__length1 = ids_length1;
-#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp5_ = _tmp4_[0];
-#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp6_ = g_strdup (_tmp5_);
-#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
id = _tmp6_;
-#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 38 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
memset (&info, 0, sizeof (SpitPluggableInfo));
-#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 39 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp7_ = id;
-#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 39 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp8_ = plugins_get_pluggable_info (_tmp7_, &info);
-#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 39 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp8_) {
-#line 396 "ManifestWidget.c"
+#line 373 "ManifestWidget.c"
const gchar* _tmp9_;
-#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 40 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9_ = id;
-#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_warning ("ManifestWidget.vala:54: Unable to retrieve information for plugin %s", _tmp9_);
-#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 40 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_warning ("ManifestWidget.vala:40: Unable to retrieve information for plugin %s", _tmp9_);
+#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
spit_pluggable_info_destroy (&info);
-#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return;
-#line 410 "ManifestWidget.c"
+#line 387 "ManifestWidget.c"
}
-#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = NULL;
-#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors_length1 = 0;
-#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_authors_size_ = authors_length1;
-#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp10_ = info;
-#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp11_ = _tmp10_.authors;
-#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp11_ != NULL) {
-#line 424 "ManifestWidget.c"
+#line 401 "ManifestWidget.c"
gchar** split = NULL;
SpitPluggableInfo _tmp12_;
const gchar* _tmp13_;
@@ -428,31 +405,31 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
gchar** _tmp15_;
gint split_length1;
gint _split_size_;
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = info;
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp13_ = _tmp12_.authors;
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp15_ = _tmp14_ = g_strsplit (_tmp13_, ",", 0);
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
split = _tmp15_;
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
split_length1 = _vala_array_length (_tmp14_);
-#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_split_size_ = split_length1;
-#line 444 "ManifestWidget.c"
+#line 421 "ManifestWidget.c"
{
gint ctr = 0;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ctr = 0;
-#line 449 "ManifestWidget.c"
+#line 426 "ManifestWidget.c"
{
gboolean _tmp16_ = FALSE;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = TRUE;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 456 "ManifestWidget.c"
+#line 433 "ManifestWidget.c"
gint _tmp18_;
gchar** _tmp19_;
gint _tmp19__length1;
@@ -464,280 +441,280 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
gchar* _tmp23_;
const gchar* _tmp24_;
gboolean _tmp25_;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp16_) {
-#line 470 "ManifestWidget.c"
+#line 447 "ManifestWidget.c"
gint _tmp17_;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp17_ = ctr;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ctr = _tmp17_ + 1;
-#line 476 "ManifestWidget.c"
+#line 453 "ManifestWidget.c"
}
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = FALSE;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp18_ = ctr;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp19_ = split;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp19__length1 = split_length1;
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!(_tmp18_ < _tmp19__length1)) {
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 490 "ManifestWidget.c"
+#line 467 "ManifestWidget.c"
}
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20_ = split;
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20__length1 = split_length1;
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp21_ = ctr;
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp22_ = _tmp20_[_tmp21_];
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp23_ = string_strip (_tmp22_);
-#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
stripped = _tmp23_;
-#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp24_ = stripped;
-#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp25_ = is_string_empty (_tmp24_);
-#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp25_) {
-#line 510 "ManifestWidget.c"
+#line 487 "ManifestWidget.c"
gchar** _tmp26_;
gint _tmp26__length1;
gchar** _tmp28_;
gint _tmp28__length1;
const gchar* _tmp29_;
gchar* _tmp30_;
-#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp26_ = authors;
-#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp26__length1 = authors_length1;
-#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp26_ == NULL) {
-#line 523 "ManifestWidget.c"
+#line 500 "ManifestWidget.c"
gchar** _tmp27_;
-#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp27_ = g_new0 (gchar*, 0 + 1);
-#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
-#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = _tmp27_;
-#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors_length1 = 0;
-#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_authors_size_ = authors_length1;
-#line 535 "ManifestWidget.c"
+#line 512 "ManifestWidget.c"
}
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp28_ = authors;
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp28__length1 = authors_length1;
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp29_ = stripped;
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp30_ = g_strdup (_tmp29_);
-#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _vala_array_add49 (&authors, &authors_length1, &_authors_size_, _tmp30_);
-#line 547 "ManifestWidget.c"
+#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _vala_array_add52 (&authors, &authors_length1, &_authors_size_, _tmp30_);
+#line 524 "ManifestWidget.c"
}
-#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (stripped);
-#line 551 "ManifestWidget.c"
+#line 528 "ManifestWidget.c"
}
}
}
-#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
-#line 557 "ManifestWidget.c"
+#line 534 "ManifestWidget.c"
}
-#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp31_ = (GtkAboutDialog*) gtk_about_dialog_new ();
-#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_ref_sink (_tmp31_);
-#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
about_dialog = _tmp31_;
-#line 76 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp32_ = about_dialog;
-#line 76 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp33_ = authors;
-#line 76 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp33__length1 = authors_length1;
-#line 76 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_authors (_tmp32_, _tmp33_);
-#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp34_ = about_dialog;
-#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp35_ = info;
-#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp36_ = _tmp35_.brief_description;
-#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_comments (_tmp34_, _tmp36_);
-#line 78 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp37_ = about_dialog;
-#line 78 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp38_ = info;
-#line 78 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp39_ = _tmp38_.copyright;
-#line 78 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_copyright (_tmp37_, _tmp39_);
-#line 79 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp40_ = about_dialog;
-#line 79 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp41_ = info;
-#line 79 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp42_ = _tmp41_.license;
-#line 79 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_license (_tmp40_, _tmp42_);
-#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp43_ = about_dialog;
-#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp44_ = info;
-#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp45_ = _tmp44_.is_license_wordwrapped;
-#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_wrap_license (_tmp43_, _tmp45_);
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp48_ = info;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp49_ = _tmp48_.icons;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp49__length1 = _tmp48_.icons_length1;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp49_ != NULL) {
-#line 613 "ManifestWidget.c"
+#line 590 "ManifestWidget.c"
SpitPluggableInfo _tmp50_;
GdkPixbuf** _tmp51_;
gint _tmp51__length1;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp50_ = info;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp51_ = _tmp50_.icons;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp51__length1 = _tmp50_.icons_length1;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp47_ = _tmp51__length1 > 0;
-#line 625 "ManifestWidget.c"
+#line 602 "ManifestWidget.c"
} else {
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp47_ = FALSE;
-#line 629 "ManifestWidget.c"
+#line 606 "ManifestWidget.c"
}
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp47_) {
-#line 633 "ManifestWidget.c"
+#line 610 "ManifestWidget.c"
SpitPluggableInfo _tmp52_;
GdkPixbuf** _tmp53_;
gint _tmp53__length1;
GdkPixbuf* _tmp54_;
GdkPixbuf* _tmp55_;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp52_ = info;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp53_ = _tmp52_.icons;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp53__length1 = _tmp52_.icons_length1;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp54_ = _tmp53_[0];
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp55_ = _g_object_ref0 (_tmp54_);
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp46_);
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp46_ = _tmp55_;
-#line 653 "ManifestWidget.c"
+#line 630 "ManifestWidget.c"
} else {
GdkPixbuf* _tmp56_;
-#line 82 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp56_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
-#line 82 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp46_);
-#line 82 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp46_ = _tmp56_;
-#line 662 "ManifestWidget.c"
+#line 639 "ManifestWidget.c"
}
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp57_ = about_dialog;
-#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_logo (_tmp57_, _tmp46_);
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp58_ = about_dialog;
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp59_ = id;
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp60_ = plugins_get_pluggable_name (_tmp59_);
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp61_ = _tmp60_;
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_program_name (_tmp58_, _tmp61_);
-#line 83 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (_tmp61_);
-#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp62_ = about_dialog;
-#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp63_ = info;
-#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp64_ = _tmp63_.translators;
-#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_translator_credits (_tmp62_, _tmp64_);
-#line 85 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp65_ = about_dialog;
-#line 85 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp66_ = info;
-#line 85 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp67_ = _tmp66_.version;
-#line 85 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_version (_tmp65_, _tmp67_);
-#line 86 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp68_ = about_dialog;
-#line 86 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp69_ = info;
-#line 86 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp70_ = _tmp69_.website_url;
-#line 86 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_website (_tmp68_, _tmp70_);
-#line 87 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp71_ = about_dialog;
-#line 87 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp72_ = info;
-#line 87 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp73_ = _tmp72_.website_name;
-#line 87 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_about_dialog_set_website_label (_tmp71_, _tmp73_);
-#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp74_ = about_dialog;
-#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_dialog_get_type (), GtkDialog));
-#line 91 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp75_ = about_dialog;
-#line 91 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget));
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp46_);
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (about_dialog);
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
spit_pluggable_info_destroy (&info);
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 45 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 732 "ManifestWidget.c"
+#line 709 "ManifestWidget.c"
}
static void plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self) {
-#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self));
-#line 95 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_set_about_button_sensitivity (self);
-#line 741 "ManifestWidget.c"
+#line 718 "ManifestWidget.c"
}
@@ -749,372 +726,92 @@ static void plugins_manifest_widget_mediator_set_about_button_sensitivity (Plugi
gint ids_length1;
gint _ids_size_;
GtkButton* _tmp3_;
- GtkButton* _tmp4_;
-#line 98 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self));
-#line 103 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->list;
-#line 103 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp2_ = plugins_manifest_list_view_get_selected_ids (_tmp0_, &_tmp1_);
-#line 103 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = _tmp2_;
-#line 103 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids_length1 = _tmp1_;
-#line 103 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 89 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_ids_size_ = ids_length1;
-#line 104 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp3_ = plugins_manifest_widget_mediator_get_about_button (self);
-#line 104 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp4_ = _tmp3_;
-#line 104 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), ids_length1 == 1);
-#line 98 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 90 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp3_ = self->priv->about_button;
+#line 90 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), ids_length1 == 1);
+#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 774 "ManifestWidget.c"
-}
-
-
-GtkWidget* plugins_manifest_widget_mediator_get_widget (PluginsManifestWidgetMediator* self) {
- GtkWidget* result;
- GtkBuilder* _tmp0_;
- GObject* _tmp1_;
-#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_val_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self), NULL);
-#line 12 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = self->priv->builder;
-#line 12 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "plugin-manifest");
-#line 12 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_widget_get_type ()) ? ((GtkWidget*) _tmp1_) : NULL;
-#line 12 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return result;
-#line 792 "ManifestWidget.c"
-}
-
-
-static GtkButton* plugins_manifest_widget_mediator_get_about_button (PluginsManifestWidgetMediator* self) {
- GtkButton* result;
- GtkBuilder* _tmp0_;
- GObject* _tmp1_;
-#line 17 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_val_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self), NULL);
-#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = self->priv->builder;
-#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "about-plugin-button");
-#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_button_get_type ()) ? ((GtkButton*) _tmp1_) : NULL;
-#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return result;
-#line 810 "ManifestWidget.c"
-}
-
-
-static GtkScrolledWindow* plugins_manifest_widget_mediator_get_list_bin (PluginsManifestWidgetMediator* self) {
- GtkScrolledWindow* result;
- GtkBuilder* _tmp0_;
- GObject* _tmp1_;
-#line 23 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_val_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self), NULL);
-#line 24 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = self->priv->builder;
-#line 24 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "plugin-list-scrolled-window");
-#line 24 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_scrolled_window_get_type ()) ? ((GtkScrolledWindow*) _tmp1_) : NULL;
-#line 24 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return result;
-#line 828 "ManifestWidget.c"
-}
-
-
-static void plugins_value_manifest_widget_mediator_init (GValue* value) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = NULL;
-#line 835 "ManifestWidget.c"
-}
-
-
-static void plugins_value_manifest_widget_mediator_free_value (GValue* value) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (value->data[0].v_pointer) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugins_manifest_widget_mediator_unref (value->data[0].v_pointer);
-#line 844 "ManifestWidget.c"
- }
-}
-
-
-static void plugins_value_manifest_widget_mediator_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (src_value->data[0].v_pointer) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- dest_value->data[0].v_pointer = plugins_manifest_widget_mediator_ref (src_value->data[0].v_pointer);
-#line 854 "ManifestWidget.c"
- } else {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- dest_value->data[0].v_pointer = NULL;
-#line 858 "ManifestWidget.c"
- }
-}
-
-
-static gpointer plugins_value_manifest_widget_mediator_peek_pointer (const GValue* value) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return value->data[0].v_pointer;
-#line 866 "ManifestWidget.c"
-}
-
-
-static gchar* plugins_value_manifest_widget_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (collect_values[0].v_pointer) {
-#line 873 "ManifestWidget.c"
- PluginsManifestWidgetMediator * object;
- object = collect_values[0].v_pointer;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (object->parent_instance.g_class == NULL) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 880 "ManifestWidget.c"
- } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 884 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = plugins_manifest_widget_mediator_ref (object);
-#line 888 "ManifestWidget.c"
- } else {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = NULL;
-#line 892 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return NULL;
-#line 896 "ManifestWidget.c"
-}
-
-
-static gchar* plugins_value_manifest_widget_mediator_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PluginsManifestWidgetMediator ** object_p;
- object_p = collect_values[0].v_pointer;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!object_p) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 907 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!value->data[0].v_pointer) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- *object_p = NULL;
-#line 913 "ManifestWidget.c"
- } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- *object_p = value->data[0].v_pointer;
-#line 917 "ManifestWidget.c"
- } else {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- *object_p = plugins_manifest_widget_mediator_ref (value->data[0].v_pointer);
-#line 921 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return NULL;
-#line 925 "ManifestWidget.c"
-}
-
-
-GParamSpec* plugins_param_spec_manifest_widget_mediator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
- PluginsParamSpecManifestWidgetMediator* spec;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_val_if_fail (g_type_is_a (object_type, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR), NULL);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- G_PARAM_SPEC (spec)->value_type = object_type;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return G_PARAM_SPEC (spec);
-#line 939 "ManifestWidget.c"
-}
-
-
-gpointer plugins_value_get_manifest_widget_mediator (const GValue* value) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR), NULL);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return value->data[0].v_pointer;
-#line 948 "ManifestWidget.c"
-}
-
-
-void plugins_value_set_manifest_widget_mediator (GValue* value, gpointer v_object) {
- PluginsManifestWidgetMediator * old;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- old = value->data[0].v_pointer;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (v_object) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = v_object;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugins_manifest_widget_mediator_ref (value->data[0].v_pointer);
-#line 968 "ManifestWidget.c"
- } else {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = NULL;
-#line 972 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (old) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugins_manifest_widget_mediator_unref (old);
-#line 978 "ManifestWidget.c"
- }
-}
-
-
-void plugins_value_take_manifest_widget_mediator (GValue* value, gpointer v_object) {
- PluginsManifestWidgetMediator * old;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- old = value->data[0].v_pointer;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (v_object) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = v_object;
-#line 997 "ManifestWidget.c"
- } else {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- value->data[0].v_pointer = NULL;
-#line 1001 "ManifestWidget.c"
- }
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (old) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugins_manifest_widget_mediator_unref (old);
-#line 1007 "ManifestWidget.c"
- }
+#line 748 "ManifestWidget.c"
}
static void plugins_manifest_widget_mediator_class_init (PluginsManifestWidgetMediatorClass * klass) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gint PluginsManifestWidgetMediator_private_offset;
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_parent_class = g_type_class_peek_parent (klass);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- ((PluginsManifestWidgetMediatorClass *) klass)->finalize = plugins_manifest_widget_mediator_finalize;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_type_class_add_private (klass, sizeof (PluginsManifestWidgetMediatorPrivate));
-#line 1019 "ManifestWidget.c"
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ G_OBJECT_CLASS (klass)->finalize = plugins_manifest_widget_mediator_finalize;
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ PluginsManifestWidgetMediator_private_offset = g_type_class_get_instance_private_offset (klass);
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Shotwell/ui/manifest_widget.ui");
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "about_button", FALSE, PluginsManifestWidgetMediator_private_offset + G_STRUCT_OFFSET (PluginsManifestWidgetMediatorPrivate, about_button));
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "list_bin", FALSE, PluginsManifestWidgetMediator_private_offset + G_STRUCT_OFFSET (PluginsManifestWidgetMediatorPrivate, list_bin));
+#line 768 "ManifestWidget.c"
}
static void plugins_manifest_widget_mediator_instance_init (PluginsManifestWidgetMediator * self) {
- GtkBuilder* _tmp0_;
- PluginsManifestListView* _tmp1_;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ PluginsManifestListView* _tmp0_;
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv = PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_PRIVATE (self);
-#line 28 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
-#line 28 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- self->priv->builder = _tmp0_;
-#line 29 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = plugins_manifest_list_view_new ();
-#line 29 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_object_ref_sink (_tmp1_);
-#line 29 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- self->priv->list = _tmp1_;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- self->ref_count = 1;
-#line 1040 "ManifestWidget.c"
+#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _tmp0_ = plugins_manifest_list_view_new ();
+#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_object_ref_sink (_tmp0_);
+#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ self->priv->list = _tmp0_;
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ gtk_widget_init_template (GTK_WIDGET (self));
+#line 784 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_finalize (PluginsManifestWidgetMediator * obj) {
+static void plugins_manifest_widget_mediator_finalize (GObject * obj) {
PluginsManifestWidgetMediator * self;
- GtkButton* _tmp0_;
- GtkButton* _tmp1_;
- guint _tmp2_;
- PluginsManifestListView* _tmp3_;
- GtkTreeSelection* _tmp4_;
- guint _tmp5_;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediator);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_handlers_destroy (self);
-#line 41 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = plugins_manifest_widget_mediator_get_about_button (self);
-#line 41 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = _tmp0_;
-#line 41 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp2_, NULL, FALSE);
-#line 41 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _plugins_manifest_widget_mediator_on_about_gtk_button_clicked, self);
-#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp3_ = self->priv->list;
-#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp4_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_tree_view_get_type (), GtkTreeView));
-#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_parse_name ("changed", gtk_tree_selection_get_type (), &_tmp5_, NULL, FALSE);
-#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed, self);
-#line 28 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (self->priv->builder);
-#line 29 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 13 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _g_object_unref0 (self->priv->about_button);
+#line 16 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _g_object_unref0 (self->priv->list_bin);
+#line 18 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (self->priv->list);
-#line 1076 "ManifestWidget.c"
+#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ G_OBJECT_CLASS (plugins_manifest_widget_mediator_parent_class)->finalize (obj);
+#line 800 "ManifestWidget.c"
}
GType plugins_manifest_widget_mediator_get_type (void) {
static volatile gsize plugins_manifest_widget_mediator_type_id__volatile = 0;
if (g_once_init_enter (&plugins_manifest_widget_mediator_type_id__volatile)) {
- static const GTypeValueTable g_define_type_value_table = { plugins_value_manifest_widget_mediator_init, plugins_value_manifest_widget_mediator_free_value, plugins_value_manifest_widget_mediator_copy_value, plugins_value_manifest_widget_mediator_peek_pointer, "p", plugins_value_manifest_widget_mediator_collect_value, "p", plugins_value_manifest_widget_mediator_lcopy_value };
- static const GTypeInfo g_define_type_info = { sizeof (PluginsManifestWidgetMediatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_manifest_widget_mediator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsManifestWidgetMediator), 0, (GInstanceInitFunc) plugins_manifest_widget_mediator_instance_init, &g_define_type_value_table };
- static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
+ static const GTypeInfo g_define_type_info = { sizeof (PluginsManifestWidgetMediatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_manifest_widget_mediator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsManifestWidgetMediator), 0, (GInstanceInitFunc) plugins_manifest_widget_mediator_instance_init, NULL };
GType plugins_manifest_widget_mediator_type_id;
- plugins_manifest_widget_mediator_type_id = g_type_register_fundamental (g_type_fundamental_next (), "PluginsManifestWidgetMediator", &g_define_type_info, &g_define_type_fundamental_info, 0);
+ plugins_manifest_widget_mediator_type_id = g_type_register_static (gtk_box_get_type (), "PluginsManifestWidgetMediator", &g_define_type_info, 0);
g_once_init_leave (&plugins_manifest_widget_mediator_type_id__volatile, plugins_manifest_widget_mediator_type_id);
}
return plugins_manifest_widget_mediator_type_id__volatile;
}
-gpointer plugins_manifest_widget_mediator_ref (gpointer instance) {
- PluginsManifestWidgetMediator * self;
- self = instance;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_atomic_int_inc (&self->ref_count);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return instance;
-#line 1101 "ManifestWidget.c"
-}
-
-
-void plugins_manifest_widget_mediator_unref (gpointer instance) {
- PluginsManifestWidgetMediator * self;
- self = instance;
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_CLASS (self)->finalize (self);
-#line 9 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_type_free_instance ((GTypeInstance *) self);
-#line 1114 "ManifestWidget.c"
- }
-}
-
-
static GType plugins_manifest_list_view_column_get_type (void) {
static volatile gsize plugins_manifest_list_view_column_type_id__volatile = 0;
if (g_once_init_enter (&plugins_manifest_list_view_column_type_id__volatile)) {
@@ -1130,18 +827,18 @@ static GType plugins_manifest_list_view_column_get_type (void) {
static gint _plugins_compare_extension_point_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
gint result;
result = plugins_compare_extension_point_names (a, b);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1136 "ManifestWidget.c"
+#line 833 "ManifestWidget.c"
}
static gint _plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
gint result;
result = plugins_compare_pluggable_names (a, b);
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1145 "ManifestWidget.c"
+#line 842 "ManifestWidget.c"
}
@@ -1181,148 +878,148 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
GtkIconTheme* icon_theme = NULL;
GtkIconTheme* _tmp27_;
GError * _inner_error_ = NULL;
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = (PluginsManifestListView*) g_object_new (object_type, NULL);
-#line 131 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 117 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->store;
-#line 131 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 117 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_model (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
-#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 119 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp1_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
-#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 119 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_ref_sink (_tmp1_);
-#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 119 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
checkbox_renderer = _tmp1_;
-#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 120 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp2_ = checkbox_renderer;
-#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 120 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_renderer_toggle_set_radio (_tmp2_, FALSE);
-#line 135 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 121 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = checkbox_renderer;
-#line 135 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 121 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_renderer_toggle_set_activatable (_tmp3_, TRUE);
-#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 123 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
-#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 123 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_ref_sink (_tmp4_);
-#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 123 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon_renderer = _tmp4_;
-#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 124 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp5_ = icon_renderer;
-#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 124 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_set (_tmp5_, "stock-size", (guint) GTK_ICON_SIZE_MENU, NULL);
-#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 125 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp6_ = icon_renderer;
-#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 125 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_cell_renderer_get_type (), GtkCellRenderer), "xpad", (guint) PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING, NULL);
-#line 140 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 126 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp7_ = icon_renderer;
-#line 140 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 126 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_cell_renderer_get_type (), GtkCellRenderer), "ypad", (guint) PLUGINS_MANIFEST_LIST_VIEW_ICON_Y_PADDING, NULL);
-#line 142 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 128 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp8_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
-#line 142 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 128 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_ref_sink (_tmp8_);
-#line 142 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 128 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
text_renderer = _tmp8_;
-#line 144 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9_ = gtk_tree_view_column_new ();
-#line 144 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_object_ref_sink (_tmp9_);
-#line 144 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
column = _tmp9_;
-#line 145 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 131 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp10_ = column;
-#line 145 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 131 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_column_set_sizing (_tmp10_, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
-#line 146 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 132 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp11_ = column;
-#line 146 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 132 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = checkbox_renderer;
-#line 146 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 132 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
-#line 147 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp13_ = column;
-#line 147 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp14_ = icon_renderer;
-#line 147 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
-#line 148 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp15_ = column;
-#line 148 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = text_renderer;
-#line 148 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
-#line 150 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp17_ = column;
-#line 150 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp18_ = checkbox_renderer;
-#line 150 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_cell_renderer_get_type (), GtkCellRenderer), "active", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED);
-#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp19_ = column;
-#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20_ = checkbox_renderer;
-#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_cell_renderer_get_type (), GtkCellRenderer), "visible", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE);
-#line 152 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp21_ = column;
-#line 152 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp22_ = icon_renderer;
-#line 152 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON);
-#line 153 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp23_ = column;
-#line 153 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp24_ = text_renderer;
-#line 153 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME);
-#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 141 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp25_ = column;
-#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 141 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_append_column (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp25_);
-#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 143 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_headers_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), FALSE);
-#line 158 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 144 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_enable_search (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), FALSE);
-#line 159 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 145 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_show_expanders (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), TRUE);
-#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 146 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_reorderable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), FALSE);
-#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 147 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_enable_tree_lines (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), FALSE);
-#line 162 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 148 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_set_grid_lines (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), GTK_TREE_VIEW_GRID_LINES_NONE);
-#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 149 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp26_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
-#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 149 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_selection_set_mode (_tmp26_, GTK_SELECTION_BROWSE);
-#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp27_ = resources_get_icon_theme_engine ();
-#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon_theme = _tmp27_;
-#line 1305 "ManifestWidget.c"
+#line 1002 "ManifestWidget.c"
{
GeeIterator* _extension_point_it = NULL;
GeeCollection* _tmp28_;
GeeCollection* _tmp29_;
GeeIterator* _tmp30_;
GeeIterator* _tmp31_;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp28_ = plugins_get_extension_points (_plugins_compare_extension_point_names_gcompare_data_func, NULL, NULL);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp29_ = _tmp28_;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp30_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp31_ = _tmp30_;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp29_);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_extension_point_it = _tmp31_;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 1326 "ManifestWidget.c"
+#line 1023 "ManifestWidget.c"
GeeIterator* _tmp32_;
gboolean _tmp33_;
PluginsExtensionPoint* extension_point = NULL;
@@ -1346,39 +1043,39 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
GType _tmp66_;
GType _tmp67_;
GeeCollection* _tmp68_;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp32_ = _extension_point_it;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp33_ = gee_iterator_next (_tmp32_);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp33_) {
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 1358 "ManifestWidget.c"
+#line 1055 "ManifestWidget.c"
}
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp34_ = _extension_point_it;
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp35_ = gee_iterator_get (_tmp34_);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
extension_point = (PluginsExtensionPoint*) _tmp35_;
-#line 171 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp36_ = self->priv->store;
-#line 171 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_store_append (_tmp36_, &_tmp37_, NULL);
-#line 171 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
category_iter = _tmp37_;
-#line 173 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 159 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon = NULL;
-#line 174 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp38_ = extension_point;
-#line 174 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp39_ = plugins_extension_point_get_icon_name (_tmp38_);
-#line 174 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp40_ = _tmp39_;
-#line 174 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp40_ != NULL) {
-#line 1382 "ManifestWidget.c"
+#line 1079 "ManifestWidget.c"
GtkIconInfo* icon_info = NULL;
GtkIconTheme* _tmp41_;
PluginsExtensionPoint* _tmp42_;
@@ -1389,61 +1086,61 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
GtkIconInfo* _tmp47_;
GtkIconInfo* _tmp48_;
GtkIconInfo* _tmp49_;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp41_ = icon_theme;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp42_ = extension_point;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp43_ = plugins_extension_point_get_icon_name (_tmp42_);
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp44_ = _tmp43_;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp45_ = (GThemedIcon*) g_themed_icon_new (_tmp44_);
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp46_ = _tmp45_;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp47_ = gtk_icon_theme_lookup_by_gicon (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_icon_get_type (), GIcon), PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE, 0);
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp48_ = _tmp47_;
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp46_);
-#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon_info = _tmp48_;
-#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp49_ = icon_info;
-#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp49_ != NULL) {
-#line 1417 "ManifestWidget.c"
+#line 1114 "ManifestWidget.c"
{
GdkPixbuf* _tmp50_ = NULL;
GtkIconInfo* _tmp51_;
GdkPixbuf* _tmp52_;
GdkPixbuf* _tmp53_;
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp51_ = icon_info;
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp52_ = gtk_icon_info_load_icon (_tmp51_, &_inner_error_);
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp50_ = _tmp52_;
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1431 "ManifestWidget.c"
- goto __catch37_g_error;
+#line 1128 "ManifestWidget.c"
+ goto __catch41_g_error;
}
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp53_ = _tmp50_;
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp50_ = NULL;
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
-#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon = _tmp53_;
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp50_);
-#line 1444 "ManifestWidget.c"
+#line 1141 "ManifestWidget.c"
}
- goto __finally37;
- __catch37_g_error:
+ goto __finally41;
+ __catch41_g_error:
{
GError* err = NULL;
PluginsExtensionPoint* _tmp54_;
@@ -1451,98 +1148,98 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
const gchar* _tmp56_;
GError* _tmp57_;
const gchar* _tmp58_;
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
err = _inner_error_;
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_inner_error_ = NULL;
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp54_ = extension_point;
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp55_ = plugins_extension_point_get_icon_name (_tmp54_);
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp56_ = _tmp55_;
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp57_ = err;
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp58_ = _tmp57_->message;
-#line 181 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_warning ("ManifestWidget.vala:181: Unable to load icon %s: %s", _tmp56_, _tmp58_);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_warning ("ManifestWidget.vala:167: Unable to load icon %s: %s", _tmp56_, _tmp58_);
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_error_free0 (err);
-#line 1473 "ManifestWidget.c"
+#line 1170 "ManifestWidget.c"
}
- __finally37:
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ __finally41:
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_icon_info_free0 (icon_info);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_plugins_extension_point_unref0 (extension_point);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_extension_point_it);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon_theme);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (column);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (text_renderer);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon_renderer);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (checkbox_renderer);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.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 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_clear_error (&_inner_error_);
-#line 178 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return NULL;
-#line 1502 "ManifestWidget.c"
+#line 1199 "ManifestWidget.c"
}
}
-#line 174 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_icon_info_free0 (icon_info);
-#line 1507 "ManifestWidget.c"
+#line 1204 "ManifestWidget.c"
}
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp59_ = self->priv->store;
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp60_ = category_iter;
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp61_ = extension_point;
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp62_ = plugins_extension_point_get_name (_tmp61_);
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp63_ = _tmp62_;
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp64_ = icon;
-#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_store_set (_tmp59_, &_tmp60_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp63_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, FALSE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp64_, -1);
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp65_ = extension_point;
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp66_ = plugins_extension_point_get_pluggable_type (_tmp65_);
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp67_ = _tmp66_;
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp68_ = plugins_get_pluggables_for_type (_tmp67_, _plugins_compare_pluggable_names_gcompare_data_func, NULL, NULL, TRUE);
-#line 189 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
pluggables = _tmp68_;
-#line 1533 "ManifestWidget.c"
+#line 1230 "ManifestWidget.c"
{
GeeIterator* _pluggable_it = NULL;
GeeCollection* _tmp69_;
GeeIterator* _tmp70_;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp69_ = pluggables;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp70_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_pluggable_it = _tmp70_;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 1546 "ManifestWidget.c"
+#line 1243 "ManifestWidget.c"
GeeIterator* _tmp71_;
gboolean _tmp72_;
SpitPluggable* pluggable = NULL;
@@ -1573,221 +1270,221 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
SpitPluggable* _tmp100_;
const gchar* _tmp101_;
GdkPixbuf* _tmp102_;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp71_ = _pluggable_it;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp72_ = gee_iterator_next (_tmp71_);
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp72_) {
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 1585 "ManifestWidget.c"
+#line 1282 "ManifestWidget.c"
}
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp73_ = _pluggable_it;
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp74_ = gee_iterator_get (_tmp73_);
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
pluggable = (SpitPluggable*) _tmp74_;
-#line 193 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp75_ = pluggable;
-#line 193 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp76_ = spit_pluggable_get_id (_tmp75_);
-#line 193 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp78_ = plugins_get_pluggable_enabled (_tmp76_, &_tmp77_);
-#line 193 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
enabled = _tmp77_;
-#line 193 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp78_) {
-#line 194 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggable);
-#line 194 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
continue;
-#line 1607 "ManifestWidget.c"
+#line 1304 "ManifestWidget.c"
}
-#line 196 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 182 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
memset (&info, 0, sizeof (SpitPluggableInfo));
-#line 197 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 183 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp79_ = pluggable;
-#line 197 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 183 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
spit_pluggable_get_info (_tmp79_, &info);
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp82_ = info;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp83_ = _tmp82_.icons;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp83__length1 = _tmp82_.icons_length1;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp83_ != NULL) {
-#line 1623 "ManifestWidget.c"
+#line 1320 "ManifestWidget.c"
SpitPluggableInfo _tmp84_;
GdkPixbuf** _tmp85_;
gint _tmp85__length1;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp84_ = info;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp85_ = _tmp84_.icons;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp85__length1 = _tmp84_.icons_length1;
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp81_ = _tmp85__length1 > 0;
-#line 1635 "ManifestWidget.c"
+#line 1332 "ManifestWidget.c"
} else {
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp81_ = FALSE;
-#line 1639 "ManifestWidget.c"
+#line 1336 "ManifestWidget.c"
}
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp81_) {
-#line 1643 "ManifestWidget.c"
+#line 1340 "ManifestWidget.c"
SpitPluggableInfo _tmp86_;
GdkPixbuf** _tmp87_;
gint _tmp87__length1;
GdkPixbuf* _tmp88_;
GdkPixbuf* _tmp89_;
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp86_ = info;
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp87_ = _tmp86_.icons;
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp87__length1 = _tmp86_.icons_length1;
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp88_ = _tmp87_[0];
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp89_ = _g_object_ref0 (_tmp88_);
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp80_);
-#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp80_ = _tmp89_;
-#line 1663 "ManifestWidget.c"
+#line 1360 "ManifestWidget.c"
} else {
GdkPixbuf* _tmp90_;
-#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp90_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE);
-#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp80_);
-#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp80_ = _tmp90_;
-#line 1672 "ManifestWidget.c"
+#line 1369 "ManifestWidget.c"
}
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp91_ = _g_object_ref0 (_tmp80_);
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
-#line 199 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon = _tmp91_;
-#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp92_ = self->priv->store;
-#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp93_ = category_iter;
-#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_store_append (_tmp92_, &_tmp94_, &_tmp93_);
-#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugin_iter = _tmp94_;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp95_ = self->priv->store;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp96_ = plugin_iter;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp97_ = enabled;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp98_ = pluggable;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp99_ = spit_pluggable_get_pluggable_name (_tmp98_);
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp100_ = pluggable;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp101_ = spit_pluggable_get_id (_tmp100_);
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp102_ = icon;
-#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_store_set (_tmp95_, &_tmp96_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp97_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp99_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, _tmp101_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, TRUE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp102_, -1);
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_tmp80_);
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
spit_pluggable_info_destroy (&info);
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggable);
-#line 1712 "ManifestWidget.c"
+#line 1409 "ManifestWidget.c"
}
-#line 191 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_pluggable_it);
-#line 1716 "ManifestWidget.c"
+#line 1413 "ManifestWidget.c"
}
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggables);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_plugins_extension_point_unref0 (extension_point);
-#line 1724 "ManifestWidget.c"
+#line 1421 "ManifestWidget.c"
}
-#line 169 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_extension_point_it);
-#line 1728 "ManifestWidget.c"
+#line 1425 "ManifestWidget.c"
}
-#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 197 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_expand_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon_theme);
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (column);
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (text_renderer);
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon_renderer);
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (checkbox_renderer);
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self;
-#line 1744 "ManifestWidget.c"
+#line 1441 "ManifestWidget.c"
}
PluginsManifestListView* plugins_manifest_list_view_new (void) {
-#line 130 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return plugins_manifest_list_view_construct (PLUGINS_TYPE_MANIFEST_LIST_VIEW);
-#line 1751 "ManifestWidget.c"
+#line 1448 "ManifestWidget.c"
}
static gpointer _gtk_tree_path_copy0 (gpointer self) {
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self ? gtk_tree_path_copy (self) : NULL;
-#line 1758 "ManifestWidget.c"
+#line 1455 "ManifestWidget.c"
}
-static void _vala_array_add50 (gchar** * array, int* length, int* size, gchar* value) {
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+static void _vala_array_add53 (gchar** * array, int* length, int* size, gchar* value) {
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if ((*length) == (*size)) {
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 1769 "ManifestWidget.c"
+#line 1466 "ManifestWidget.c"
}
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[(*length)++] = value;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[*length] = NULL;
-#line 1775 "ManifestWidget.c"
+#line 1472 "ManifestWidget.c"
}
static void _gtk_tree_path_free0_ (gpointer var) {
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
-#line 1782 "ManifestWidget.c"
+#line 1479 "ManifestWidget.c"
}
static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_list_free (self);
-#line 1791 "ManifestWidget.c"
+#line 1488 "ManifestWidget.c"
}
@@ -1803,40 +1500,40 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
GList* _tmp3_;
gchar** _tmp12_;
gint _tmp12__length1;
-#line 214 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 200 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (PLUGINS_IS_MANIFEST_LIST_VIEW (self), NULL);
-#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = g_new0 (gchar*, 0 + 1);
-#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = _tmp0_;
-#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids_length1 = 0;
-#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 201 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_ids_size_ = ids_length1;
-#line 217 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 203 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp1_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
-#line 217 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 203 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp2_ = gtk_tree_selection_get_selected_rows (_tmp1_, NULL);
-#line 217 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 203 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
selected = _tmp2_;
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = selected;
-#line 1825 "ManifestWidget.c"
+#line 1522 "ManifestWidget.c"
{
GList* path_collection = NULL;
GList* path_it = NULL;
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
path_collection = _tmp3_;
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
-#line 1833 "ManifestWidget.c"
+#line 1530 "ManifestWidget.c"
GtkTreePath* _tmp4_;
GtkTreePath* path = NULL;
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
path = _tmp4_;
-#line 1840 "ManifestWidget.c"
+#line 1537 "ManifestWidget.c"
{
GtkTreeIter iter = {0};
gchar* id = NULL;
@@ -1844,60 +1541,60 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
GtkTreeIter _tmp6_ = {0};
gchar* _tmp7_;
const gchar* _tmp8_;
-#line 220 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp5_ = path;
-#line 220 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp7_ = plugins_manifest_list_view_get_id_at_path (self, _tmp5_, &_tmp6_);
-#line 220 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
iter = _tmp6_;
-#line 220 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 206 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
id = _tmp7_;
-#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 207 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp8_ = id;
-#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 207 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp8_ != NULL) {
-#line 1860 "ManifestWidget.c"
+#line 1557 "ManifestWidget.c"
gchar** _tmp9_;
gint _tmp9__length1;
const gchar* _tmp10_;
gchar* _tmp11_;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9_ = ids;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9__length1 = ids_length1;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp10_ = id;
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp11_ = g_strdup (_tmp10_);
-#line 222 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _vala_array_add50 (&ids, &ids_length1, &_ids_size_, _tmp11_);
-#line 1875 "ManifestWidget.c"
+#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _vala_array_add53 (&ids, &ids_length1, &_ids_size_, _tmp11_);
+#line 1572 "ManifestWidget.c"
}
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 218 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 1881 "ManifestWidget.c"
+#line 1578 "ManifestWidget.c"
}
}
}
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = ids;
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12__length1 = ids_length1;
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (result_length1) {
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*result_length1 = _tmp12__length1;
-#line 1893 "ManifestWidget.c"
+#line 1590 "ManifestWidget.c"
}
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp12_;
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
__g_list_free__gtk_tree_path_free0_0 (selected);
-#line 225 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1901 "ManifestWidget.c"
+#line 1598 "ManifestWidget.c"
}
@@ -1913,53 +1610,53 @@ static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView
GtkTreeIter _tmp5_;
const gchar* _tmp6_;
gchar* _tmp7_;
-#line 228 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 214 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (PLUGINS_IS_MANIFEST_LIST_VIEW (self), NULL);
-#line 228 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 214 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (path != NULL, NULL);
-#line 229 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->store;
-#line 229 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp1_ = path;
-#line 229 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = gtk_tree_model_get_iter (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp2_, _tmp1_);
-#line 229 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_vala_iter = _tmp2_;
-#line 229 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp3_) {
-#line 230 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = NULL;
-#line 230 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (iter) {
-#line 230 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*iter = _vala_iter;
-#line 1937 "ManifestWidget.c"
+#line 1634 "ManifestWidget.c"
}
-#line 230 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1941 "ManifestWidget.c"
+#line 1638 "ManifestWidget.c"
}
-#line 233 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4_ = self->priv->store;
-#line 233 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp5_ = _vala_iter;
-#line 233 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_model_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp5_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, &id, -1);
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp6_ = id;
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp7_;
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (iter) {
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*iter = _vala_iter;
-#line 1959 "ManifestWidget.c"
+#line 1656 "ManifestWidget.c"
}
-#line 235 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1963 "ManifestWidget.c"
+#line 1660 "ManifestWidget.c"
}
@@ -1998,211 +1695,211 @@ static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* b
GtkTreeStore* _tmp31_;
GtkTreeIter _tmp32_;
gboolean _tmp33_;
-#line 246 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 232 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListView);
-#line 246 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 232 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = event;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp1_ = _tmp0_->x;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp2_ = event;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = _tmp2_->y;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp8_ = gtk_tree_view_get_path_at_pos (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), (gint) _tmp1_, (gint) _tmp3_, &_tmp4_, &_tmp5_, &_tmp6_, &_tmp7_);
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
path = _tmp4_;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9_ = _g_object_ref0 (_tmp5_);
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
col = _tmp9_;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
cellx = _tmp6_;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
celly = _tmp7_;
-#line 251 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp8_) {
-#line 2032 "ManifestWidget.c"
+#line 1729 "ManifestWidget.c"
GdkEventButton* _tmp10_;
gboolean _tmp11_;
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp10_ = event;
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp11_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp10_);
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp11_;
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 2047 "ManifestWidget.c"
+#line 1744 "ManifestWidget.c"
}
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp13_ = cellx;
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp13_ < (PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE + PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING)) {
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = TRUE;
-#line 2055 "ManifestWidget.c"
+#line 1752 "ManifestWidget.c"
} else {
gint _tmp14_;
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp14_ = cellx;
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = _tmp14_ > (2 * (PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING + PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE));
-#line 2062 "ManifestWidget.c"
+#line 1759 "ManifestWidget.c"
}
-#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp12_) {
-#line 2066 "ManifestWidget.c"
+#line 1763 "ManifestWidget.c"
GdkEventButton* _tmp15_;
gboolean _tmp16_;
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp15_ = event;
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp15_);
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp16_;
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 259 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 2081 "ManifestWidget.c"
+#line 1778 "ManifestWidget.c"
}
-#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp17_ = path;
-#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp19_ = plugins_manifest_list_view_get_id_at_path (self, _tmp17_, &_tmp18_);
-#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
iter = _tmp18_;
-#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
id = _tmp19_;
-#line 263 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 249 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20_ = id;
-#line 263 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 249 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp20_ == NULL) {
-#line 2095 "ManifestWidget.c"
+#line 1792 "ManifestWidget.c"
GdkEventButton* _tmp21_;
gboolean _tmp22_;
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp21_ = event;
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp22_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp21_);
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp22_;
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 264 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 2112 "ManifestWidget.c"
+#line 1809 "ManifestWidget.c"
}
-#line 267 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp23_ = id;
-#line 267 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp25_ = plugins_get_pluggable_enabled (_tmp23_, &_tmp24_);
-#line 267 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
enabled = _tmp24_;
-#line 267 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp25_) {
-#line 2122 "ManifestWidget.c"
+#line 1819 "ManifestWidget.c"
GdkEventButton* _tmp26_;
gboolean _tmp27_;
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp26_ = event;
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp27_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp26_);
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp27_;
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 268 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 2139 "ManifestWidget.c"
+#line 1836 "ManifestWidget.c"
}
-#line 271 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 257 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp28_ = enabled;
-#line 271 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 257 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
enabled = !_tmp28_;
-#line 272 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp29_ = id;
-#line 272 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp30_ = enabled;
-#line 272 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_set_pluggable_enabled (_tmp29_, _tmp30_);
-#line 274 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp31_ = self->priv->store;
-#line 274 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp32_ = iter;
-#line 274 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp33_ = enabled;
-#line 274 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_store_set (_tmp31_, &_tmp32_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp33_, -1);
-#line 276 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = TRUE;
-#line 276 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
-#line 276 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
-#line 276 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_tree_path_free0 (path);
-#line 276 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 2169 "ManifestWidget.c"
+#line 1866 "ManifestWidget.c"
}
static void plugins_manifest_list_view_class_init (PluginsManifestListViewClass * klass) {
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_list_view_parent_class = g_type_class_peek_parent (klass);
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_type_class_add_private (klass, sizeof (PluginsManifestListViewPrivate));
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
((GtkWidgetClass *) klass)->button_press_event = (gboolean (*) (GtkWidget *, GdkEventButton*)) plugins_manifest_list_view_real_button_press_event;
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
G_OBJECT_CLASS (klass)->finalize = plugins_manifest_list_view_finalize;
-#line 2182 "ManifestWidget.c"
+#line 1879 "ManifestWidget.c"
}
static void plugins_manifest_list_view_instance_init (PluginsManifestListView * self) {
GtkTreeStore* _tmp0_;
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv = PLUGINS_MANIFEST_LIST_VIEW_GET_PRIVATE (self);
-#line 122 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = gtk_tree_store_new ((gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, gdk_pixbuf_get_type (), G_TYPE_STRING, G_TYPE_STRING);
-#line 122 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv->store = _tmp0_;
-#line 2194 "ManifestWidget.c"
+#line 1891 "ManifestWidget.c"
}
static void plugins_manifest_list_view_finalize (GObject * obj) {
PluginsManifestListView * self;
-#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListView);
-#line 122 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (self->priv->store);
#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ _g_object_unref0 (self->priv->store);
+#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
G_OBJECT_CLASS (plugins_manifest_list_view_parent_class)->finalize (obj);
-#line 2206 "ManifestWidget.c"
+#line 1903 "ManifestWidget.c"
}
diff --git a/src/plugins/ManifestWidget.vala b/src/plugins/ManifestWidget.vala
index b6897ba..8fb0ba2 100644
--- a/src/plugins/ManifestWidget.vala
+++ b/src/plugins/ManifestWidget.vala
@@ -6,29 +6,20 @@
namespace Plugins {
-public class ManifestWidgetMediator {
- public Gtk.Widget widget {
- get {
- return builder.get_object("plugin-manifest") as Gtk.Widget;
- }
- }
+
+[GtkTemplate (ui = "/org/gnome/Shotwell/ui/manifest_widget.ui")]
+public class ManifestWidgetMediator : Gtk.Box {
+ [GtkChild]
+ private Gtk.Button about_button;
- private Gtk.Button about_button {
- get {
- return builder.get_object("about-plugin-button") as Gtk.Button;
- }
- }
+ [GtkChild]
+ private Gtk.ScrolledWindow list_bin;
- private Gtk.ScrolledWindow list_bin {
- get {
- return builder.get_object("plugin-list-scrolled-window") as Gtk.ScrolledWindow;
- }
- }
-
- private Gtk.Builder builder = AppWindow.create_builder();
private ManifestListView list = new ManifestListView();
public ManifestWidgetMediator() {
+ Object();
+
list_bin.add(list);
about_button.clicked.connect(on_about);
@@ -37,11 +28,6 @@ public class ManifestWidgetMediator {
set_about_button_sensitivity();
}
- ~ManifestWidgetMediator() {
- about_button.clicked.disconnect(on_about);
- list.get_selection().changed.disconnect(on_selection_changed);
- }
-
private void on_about() {
string[] ids = list.get_selected_ids();
if (ids.length == 0)
diff --git a/src/plugins/Plugins.c b/src/plugins/Plugins.c
index 3817292..f6a6639 100644
--- a/src/plugins/Plugins.c
+++ b/src/plugins/Plugins.c
@@ -249,7 +249,7 @@ GType plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self);
const gchar* plugins_extension_point_get_name (PluginsExtensionPoint* self);
const gchar* plugins_extension_point_get_icon_name (PluginsExtensionPoint* self);
gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self, int* result_length1);
-static gchar** _vala_array_dup18 (gchar** self, int length);
+static gchar** _vala_array_dup16 (gchar** self, int length);
static void plugins_extension_point_finalize (PluginsExtensionPoint * obj);
gpointer plugins_module_rep_ref (gpointer instance);
void plugins_module_rep_unref (gpointer instance);
@@ -299,9 +299,9 @@ gboolean plugins_pluggable_rep_get_activated (PluginsPluggableRep* self);
static void plugins_pluggable_rep_finalize (PluginsPluggableRep * obj);
void plugins_init (GError** error);
GFile* app_dirs_get_user_plugins_dir (void);
-static void _vala_array_add47 (GFile** * array, int* length, int* size, GFile* value);
+static void _vala_array_add50 (GFile** * array, int* length, int* size, GFile* value);
GFile* app_dirs_get_system_plugins_dir (void);
-static void _vala_array_add48 (GFile** * array, int* length, int* size, GFile* value);
+static void _vala_array_add51 (GFile** * array, int* length, int* size, GFile* value);
void plugins_search_for_plugins (GFile* dir, GError** error);
void plugins_terminate (void);
gpointer plugins_notifier_ref (gpointer instance);
@@ -322,7 +322,7 @@ static void plugins_notifier_finalize (PluginsNotifier * obj);
void plugins_register_extension_point (GType type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1);
GeeCollection* plugins_get_pluggables (gboolean include_disabled);
PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle);
-static SpitPluggable** _vala_array_dup19 (SpitPluggable** self, int length);
+static SpitPluggable** _vala_array_dup17 (SpitPluggable** self, int length);
gchar* plugins_get_pluggable_module_id (SpitPluggable* needle);
GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify);
GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
@@ -507,7 +507,7 @@ gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self, int*
}
-static gchar** _vala_array_dup18 (gchar** self, int length) {
+static gchar** _vala_array_dup16 (gchar** self, int length) {
gchar** result;
int i;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -540,7 +540,7 @@ static void plugins_extension_point_set_core_ids (PluginsExtensionPoint* self, g
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0__length1 = value_length1;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup18 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
+ _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup16 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp1__length1 = _tmp0__length1;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1754,7 +1754,7 @@ void plugins_pluggable_rep_unref (gpointer instance) {
}
-static void _vala_array_add47 (GFile** * array, int* length, int* size, GFile* value) {
+static void _vala_array_add50 (GFile** * array, int* length, int* size, GFile* value) {
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if ((*length) == (*size)) {
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1771,7 +1771,7 @@ static void _vala_array_add47 (GFile** * array, int* length, int* size, GFile* v
}
-static void _vala_array_add48 (GFile** * array, int* length, int* size, GFile* value) {
+static void _vala_array_add51 (GFile** * array, int* length, int* size, GFile* value) {
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if ((*length) == (*size)) {
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1821,7 +1821,7 @@ void plugins_init (GError** error) {
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp2_ = app_dirs_get_user_plugins_dir ();
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_array_add47 (&plugins_search_dirs, &plugins_search_dirs_length1, &_plugins_search_dirs_size_, _tmp2_);
+ _vala_array_add50 (&plugins_search_dirs, &plugins_search_dirs_length1, &_plugins_search_dirs_size_, _tmp2_);
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp3_ = plugins_search_dirs;
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1829,7 +1829,7 @@ void plugins_init (GError** error) {
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp4_ = app_dirs_get_system_plugins_dir ();
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_array_add48 (&plugins_search_dirs, &plugins_search_dirs_length1, &_plugins_search_dirs_size_, _tmp4_);
+ _vala_array_add51 (&plugins_search_dirs, &plugins_search_dirs_length1, &_plugins_search_dirs_size_, _tmp4_);
#line 118 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp5_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, PLUGINS_TYPE_MODULE_REP, (GBoxedCopyFunc) plugins_module_rep_ref, (GDestroyNotify) plugins_module_rep_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 118 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1899,11 +1899,11 @@ void plugins_init (GError** error) {
#line 133 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1901 "Plugins.c"
- goto __catch35_g_error;
+ goto __catch39_g_error;
}
}
- goto __finally35;
- __catch35_g_error:
+ goto __finally39;
+ __catch39_g_error:
{
GError* err = NULL;
GFile* _tmp13_;
@@ -1933,7 +1933,7 @@ void plugins_init (GError** error) {
_g_error_free0 (err);
#line 1934 "Plugins.c"
}
- __finally35:
+ __finally39:
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -2683,7 +2683,7 @@ gboolean plugins_is_core_pluggable (SpitPluggable* pluggable) {
}
-static SpitPluggable** _vala_array_dup19 (SpitPluggable** self, int length) {
+static SpitPluggable** _vala_array_dup17 (SpitPluggable** self, int length) {
SpitPluggable** result;
int i;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -2775,7 +2775,7 @@ PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle) {
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp13_ = spit_module_get_pluggables (_tmp11_, &_tmp12_);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = (_tmp13_ != NULL) ? _vala_array_dup19 (_tmp13_, _tmp12_) : ((gpointer) _tmp13_);
+ _tmp14_ = (_tmp13_ != NULL) ? _vala_array_dup17 (_tmp13_, _tmp12_) : ((gpointer) _tmp13_);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp14__length1 = _tmp12_;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3814,11 +3814,11 @@ void plugins_search_for_plugins (GFile* dir, GError** error) {
#line 335 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3816 "Plugins.c"
- goto __catch36_g_error;
+ goto __catch40_g_error;
}
}
- goto __finally36;
- __catch36_g_error:
+ goto __finally40;
+ __catch40_g_error:
{
GError* err = NULL;
GFile* _tmp18_;
@@ -3848,7 +3848,7 @@ void plugins_search_for_plugins (GFile* dir, GError** error) {
_g_error_free0 (err);
#line 3849 "Plugins.c"
}
- __finally36:
+ __finally40:
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
new file mode 100644
index 0000000..e5bce92
--- /dev/null
+++ b/src/plugins/meson.build
@@ -0,0 +1,15 @@
+# Plugin helper library
+sw_plugin_dev = library('shotwell-plugin-dev-1.0',
+ ['DataImportsInterfaces.vala',
+ 'PublishingInterfaces.vala',
+ 'SpitInterfaces.vala',
+ 'TransitionsInterfaces.vala'],
+ version: meson.project_version(),
+ vala_header : 'shotwell-plugin-dev-1.0.h',
+ vala_vapi : 'shotwell-plugin-dev-1.0.vapi',
+ dependencies : [gmodule, gtk, gio, gee],
+ include_directories : config_incdir,
+ install : true)
+
+sw_plugin = declare_dependency(include_directories : include_directories('.'),
+ link_with : sw_plugin_dev)