summaryrefslogtreecommitdiff
path: root/src/SearchFilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SearchFilter.c')
-rw-r--r--src/SearchFilter.c7874
1 files changed, 3920 insertions, 3954 deletions
diff --git a/src/SearchFilter.c b/src/SearchFilter.c
index a505b2c..c40b19f 100644
--- a/src/SearchFilter.c
+++ b/src/SearchFilter.c
@@ -1,4 +1,4 @@
-/* SearchFilter.c generated by valac 0.34.7, the Vala compiler
+/* SearchFilter.c generated by valac 0.36.6, the Vala compiler
* generated from SearchFilter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -204,8 +204,6 @@ typedef struct _PhotoClass PhotoClass;
#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ())
-#define TYPE_RAW_DEVELOPER (raw_developer_get_type ())
-
#define TYPE_INDEXABLE (indexable_get_type ())
#define INDEXABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_INDEXABLE, Indexable))
#define IS_INDEXABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_INDEXABLE))
@@ -316,6 +314,13 @@ typedef struct _TextAction TextAction;
typedef struct _TextActionClass TextActionClass;
typedef struct _TextActionPrivate TextActionPrivate;
typedef struct _ParamSpecTextAction ParamSpecTextAction;
+enum {
+ TEXT_ACTION_TEXT_CHANGED_SIGNAL,
+ TEXT_ACTION_SENSITIVITY_CHANGED_SIGNAL,
+ TEXT_ACTION_VISIBILITY_CHANGED_SIGNAL,
+ TEXT_ACTION_LAST_SIGNAL
+};
+static guint text_action_signals[TEXT_ACTION_LAST_SIGNAL] = {0};
#define TYPE_SEARCH_FILTER_ACTIONS (search_filter_actions_get_type ())
#define SEARCH_FILTER_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SEARCH_FILTER_ACTIONS, SearchFilterActions))
@@ -464,6 +469,18 @@ typedef struct _CameraViewTrackerPrivate CameraViewTrackerPrivate;
typedef struct _CameraAccumulator CameraAccumulator;
typedef struct _CameraAccumulatorClass CameraAccumulatorClass;
typedef struct _ParamSpecSearchFilterActions ParamSpecSearchFilterActions;
+enum {
+ SEARCH_FILTER_ACTIONS_FLAGGED_TOGGLED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_PHOTOS_TOGGLED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_VIDEOS_TOGGLED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_RAW_TOGGLED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_RATING_CHANGED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_TEXT_CHANGED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_MEDIA_CONTEXT_CHANGED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_CRITERIA_CHANGED_SIGNAL,
+ SEARCH_FILTER_ACTIONS_LAST_SIGNAL
+};
+static guint search_filter_actions_signals[SEARCH_FILTER_ACTIONS_LAST_SIGNAL] = {0};
#define TYPE_SEARCH_FILTER_TOOLBAR (search_filter_toolbar_get_type ())
#define SEARCH_FILTER_TOOLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SEARCH_FILTER_TOOLBAR, SearchFilterToolbar))
@@ -606,6 +623,11 @@ typedef struct _SearchFilterToolbarLabelToolItemPrivate SearchFilterToolbarLabel
typedef struct _SearchFilterToolbarToggleActionToolButtonPrivate SearchFilterToolbarToggleActionToolButtonPrivate;
typedef struct _SearchFilterToolbarSearchBoxPrivate SearchFilterToolbarSearchBoxPrivate;
typedef struct _SearchFilterToolbarRatingFilterButtonPrivate SearchFilterToolbarRatingFilterButtonPrivate;
+enum {
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_CLICKED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_LAST_SIGNAL
+};
+static guint search_filter_toolbar_saved_search_filter_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_LAST_SIGNAL] = {0};
typedef struct _SearchFilterToolbarSavedSearchPopoverPrivate SearchFilterToolbarSavedSearchPopoverPrivate;
#define SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON (search_filter_toolbar_saved_search_popover_data_button_get_type ())
@@ -630,7 +652,21 @@ typedef struct _SavedSearchTableClass SavedSearchTableClass;
#define _saved_search_table_unref0(var) ((var == NULL) ? NULL : (var = (saved_search_table_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _SearchFilterToolbarSavedSearchPopoverDataButtonPrivate SearchFilterToolbarSavedSearchPopoverDataButtonPrivate;
+enum {
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_CLICKED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_LAST_SIGNAL
+};
+static guint search_filter_toolbar_saved_search_popover_data_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_LAST_SIGNAL] = {0};
typedef struct _SearchFilterToolbarParamSpecSavedSearchPopover SearchFilterToolbarParamSpecSavedSearchPopover;
+enum {
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_SEARCH_ACTIVATED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_EDIT_CLICKED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DELETE_CLICKED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_ADD_CLICKED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_CLOSED_SIGNAL,
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_LAST_SIGNAL
+};
+static guint search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_LAST_SIGNAL] = {0};
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
@@ -738,12 +774,6 @@ typedef enum {
PHOTO_FILE_FORMAT_UNKNOWN
} PhotoFileFormat;
-typedef enum {
- RAW_DEVELOPER_SHOTWELL = 0,
- RAW_DEVELOPER_CAMERA,
- RAW_DEVELOPER_EMBEDDED
-} RawDeveloper;
-
struct _IndexableIface {
GTypeInterface parent_iface;
const gchar* (*get_indexable_keywords) (Indexable* self);
@@ -1064,7 +1094,7 @@ void search_view_filter_set_show_media_video (SearchViewFilter* self, gboolean v
void search_view_filter_set_show_media_photos (SearchViewFilter* self, gboolean value);
void search_view_filter_set_show_media_raw (SearchViewFilter* self, gboolean value);
void search_view_filter_set_saved_search (SearchViewFilter* self, SavedSearch* value);
-static void search_view_filter_finalize (ViewFilter* obj);
+static void search_view_filter_finalize (ViewFilter * obj);
GType default_search_view_filter_get_type (void) G_GNUC_CONST;
enum {
DEFAULT_SEARCH_VIEW_FILTER_DUMMY_PROPERTY
@@ -1085,8 +1115,6 @@ GType photo_source_get_type (void) G_GNUC_CONST;
GType photo_get_type (void) G_GNUC_CONST;
GType photo_file_format_get_type (void) G_GNUC_CONST;
PhotoFileFormat photo_get_master_file_format (Photo* self);
-GType raw_developer_get_type (void) G_GNUC_CONST;
-gboolean photo_is_raw_developer_available (Photo* self, RawDeveloper d);
GType indexable_get_type (void) G_GNUC_CONST;
const gchar* indexable_get_indexable_keywords (Indexable* self);
GType event_source_get_type (void) G_GNUC_CONST;
@@ -1135,7 +1163,7 @@ void text_action_set_sensitive (TextAction* self, gboolean sensitive);
gboolean text_action_is_visible (TextAction* self);
void text_action_set_visible (TextAction* self, gboolean visible);
const gchar* text_action_get_value (TextAction* self);
-static void text_action_finalize (TextAction* obj);
+static void text_action_finalize (TextAction * obj);
gpointer search_filter_actions_ref (gpointer instance);
void search_filter_actions_unref (gpointer instance);
GParamSpec* param_spec_search_filter_actions (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -1226,7 +1254,7 @@ gboolean search_filter_actions_get_has_videos (SearchFilterActions* self);
gboolean search_filter_actions_get_has_raw (SearchFilterActions* self);
gboolean search_filter_actions_get_has_flagged (SearchFilterActions* self);
static void g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
-static void search_filter_actions_finalize (SearchFilterActions* obj);
+static void search_filter_actions_finalize (SearchFilterActions * obj);
GType search_filter_toolbar_get_type (void) G_GNUC_CONST;
GType search_filter_toolbar_search_box_get_type (void) G_GNUC_CONST;
GType search_filter_toolbar_rating_filter_button_get_type (void) G_GNUC_CONST;
@@ -1355,12 +1383,12 @@ void search_filter_toolbar_search_box_get_focus (SearchFilterToolbarSearchBox* s
enum {
SEARCH_FILTER_TOOLBAR_LABEL_TOOL_ITEM_DUMMY_PROPERTY
};
-static void search_filter_toolbar_label_tool_item_finalize (GObject* obj);
+static void search_filter_toolbar_label_tool_item_finalize (GObject * obj);
#define SEARCH_FILTER_TOOLBAR_TOGGLE_ACTION_TOOL_BUTTON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SEARCH_FILTER_TOOLBAR_TYPE_TOGGLE_ACTION_TOOL_BUTTON, SearchFilterToolbarToggleActionToolButtonPrivate))
enum {
SEARCH_FILTER_TOOLBAR_TOGGLE_ACTION_TOOL_BUTTON_DUMMY_PROPERTY
};
-static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject* obj);
+static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject * obj);
#define SEARCH_FILTER_TOOLBAR_SEARCH_BOX_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SEARCH_FILTER_TOOLBAR_TYPE_SEARCH_BOX, SearchFilterToolbarSearchBoxPrivate))
enum {
SEARCH_FILTER_TOOLBAR_SEARCH_BOX_DUMMY_PROPERTY
@@ -1377,7 +1405,7 @@ static void _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_
static gboolean search_filter_toolbar_search_box_on_escape_key (SearchFilterToolbarSearchBox* self, GdkEventKey* e);
static gboolean _search_filter_toolbar_search_box_on_escape_key_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self);
static void search_filter_toolbar_search_box_set_nullable_text (SearchFilterToolbarSearchBox* self, const gchar* text);
-static void search_filter_toolbar_search_box_finalize (GObject* obj);
+static void search_filter_toolbar_search_box_finalize (GObject * obj);
enum {
SEARCH_FILTER_TOOLBAR_RATING_FILTER_BUTTON_DUMMY_PROPERTY
};
@@ -1391,14 +1419,14 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
#define RESOURCES_ICON_FILTER_UNRATED_OR_BETTER_FIXED_SIZE 16
static gint search_filter_toolbar_rating_filter_button_get_filter_button_size (SearchFilterToolbarRatingFilterButton* self, RatingFilter filter);
gchar* resources_get_rating_filter_tooltip (RatingFilter filter);
-static void search_filter_toolbar_rating_filter_button_finalize (GObject* obj);
+static void search_filter_toolbar_rating_filter_button_finalize (GObject * obj);
enum {
SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_DUMMY_PROPERTY
};
static void search_filter_toolbar_saved_search_filter_button_on_clicked (SearchFilterToolbarSavedSearchFilterButton* self);
static void _search_filter_toolbar_saved_search_filter_button_on_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
void search_filter_toolbar_saved_search_filter_button_restyle (SearchFilterToolbarSavedSearchFilterButton* self);
-static void search_filter_toolbar_saved_search_filter_button_finalize (GObject* obj);
+static void search_filter_toolbar_saved_search_filter_button_finalize (GObject * obj);
static GType search_filter_toolbar_saved_search_popover_data_button_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, SearchFilterToolbarSavedSearchPopoverPrivate))
enum {
@@ -1426,8 +1454,8 @@ GeeCollection* saved_search_table_get_all (SavedSearchTable* self);
gchar* data_object_get_name (DataObject* self);
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_new (SavedSearch* search, const gchar* name);
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_construct (GType object_type, SavedSearch* search, const gchar* name);
-static void _vala_array_add133 (SearchFilterToolbarSavedSearchPopoverDataButton*** array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value);
-static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton*** array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value);
+static void _vala_array_add133 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value);
+static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value);
void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSavedSearchPopover* self);
static void search_filter_toolbar_saved_search_popover_data_button_restyle (SearchFilterToolbarSavedSearchPopoverDataButton* self);
static gboolean search_filter_toolbar_saved_search_popover_is_search_row (SearchFilterToolbarSavedSearchPopover* self, GtkListBoxRow* row);
@@ -1436,16 +1464,16 @@ static SavedSearch* search_filter_toolbar_saved_search_popover_data_button_get_s
#define SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, SearchFilterToolbarSavedSearchPopoverDataButtonPrivate))
enum {
SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_DUMMY_PROPERTY,
- SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH
+ SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH_PROPERTY
};
static void search_filter_toolbar_saved_search_popover_data_button_on_click (SearchFilterToolbarSavedSearchPopoverDataButton* self);
static void _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void search_filter_toolbar_saved_search_popover_data_button_set_search (SearchFilterToolbarSavedSearchPopoverDataButton* self, SavedSearch* value);
-static void search_filter_toolbar_saved_search_popover_data_button_finalize (GObject* obj);
+static void search_filter_toolbar_saved_search_popover_data_button_finalize (GObject * obj);
static void _vala_search_filter_toolbar_saved_search_popover_data_button_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
-static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToolbarSavedSearchPopover* obj);
-static void search_filter_toolbar_finalize (GObject* obj);
+static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToolbarSavedSearchPopover * obj);
+static void search_filter_toolbar_finalize (GObject * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);
@@ -1482,7 +1510,7 @@ static guint search_view_filter_real_get_criteria (SearchViewFilter* self) {
g_critical ("Type `%s' does not implement abstract method `search_view_filter_get_criteria'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 65 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return _tmp0_;
-#line 1486 "SearchFilter.c"
+#line 1514 "SearchFilter.c"
}
@@ -1491,13 +1519,13 @@ guint search_view_filter_get_criteria (SearchViewFilter* self) {
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), 0U);
#line 65 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return SEARCH_VIEW_FILTER_GET_CLASS (self)->get_criteria (self);
-#line 1495 "SearchFilter.c"
+#line 1523 "SearchFilter.c"
}
void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter rf) {
- RatingFilter _tmp0_ = 0;
- RatingFilter _tmp1_ = 0;
+ RatingFilter _tmp0_;
+ RatingFilter _tmp1_;
#line 67 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 68 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1510,7 +1538,7 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
switch (_tmp1_) {
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 1514 "SearchFilter.c"
+#line 1542 "SearchFilter.c"
{
#line 71 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1518,11 +1546,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 73 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1522 "SearchFilter.c"
+#line 1550 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1526 "SearchFilter.c"
+#line 1554 "SearchFilter.c"
{
#line 76 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1530,11 +1558,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 78 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1534 "SearchFilter.c"
+#line 1562 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1538 "SearchFilter.c"
+#line 1566 "SearchFilter.c"
{
#line 81 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1542,11 +1570,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 83 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1546 "SearchFilter.c"
+#line 1574 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_ONLY:
-#line 1550 "SearchFilter.c"
+#line 1578 "SearchFilter.c"
{
#line 86 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1554,11 +1582,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 88 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1558 "SearchFilter.c"
+#line 1586 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1562 "SearchFilter.c"
+#line 1590 "SearchFilter.c"
{
#line 91 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1566,11 +1594,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 93 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1570 "SearchFilter.c"
+#line 1598 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_ONLY:
-#line 1574 "SearchFilter.c"
+#line 1602 "SearchFilter.c"
{
#line 96 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1578,11 +1606,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 98 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1582 "SearchFilter.c"
+#line 1610 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1586 "SearchFilter.c"
+#line 1614 "SearchFilter.c"
{
#line 101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1590,11 +1618,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 103 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1594 "SearchFilter.c"
+#line 1622 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_ONLY:
-#line 1598 "SearchFilter.c"
+#line 1626 "SearchFilter.c"
{
#line 106 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1602,11 +1630,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1606 "SearchFilter.c"
+#line 1634 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1610 "SearchFilter.c"
+#line 1638 "SearchFilter.c"
{
#line 111 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1614,11 +1642,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1618 "SearchFilter.c"
+#line 1646 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_ONLY:
-#line 1622 "SearchFilter.c"
+#line 1650 "SearchFilter.c"
{
#line 116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1626,11 +1654,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 118 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1630 "SearchFilter.c"
+#line 1658 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1634 "SearchFilter.c"
+#line 1662 "SearchFilter.c"
{
#line 121 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1638,11 +1666,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 123 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1642 "SearchFilter.c"
+#line 1670 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 1646 "SearchFilter.c"
+#line 1674 "SearchFilter.c"
{
#line 126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1650,12 +1678,12 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 128 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1654 "SearchFilter.c"
+#line 1682 "SearchFilter.c"
}
default:
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1659 "SearchFilter.c"
+#line 1687 "SearchFilter.c"
{
#line 132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_UNRATED;
@@ -1663,7 +1691,7 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 134 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1667 "SearchFilter.c"
+#line 1695 "SearchFilter.c"
}
}
}
@@ -1671,8 +1699,8 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
gboolean search_view_filter_has_search_filter (SearchViewFilter* self) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
#line 138 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1683,13 +1711,13 @@ gboolean search_view_filter_has_search_filter (SearchViewFilter* self) {
result = !_tmp1_;
#line 139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1687 "SearchFilter.c"
+#line 1715 "SearchFilter.c"
}
const gchar* search_view_filter_get_search_filter (SearchViewFilter* self) {
const gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 142 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), NULL);
#line 143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1698,16 +1726,16 @@ const gchar* search_view_filter_get_search_filter (SearchViewFilter* self) {
result = _tmp0_;
#line 143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1702 "SearchFilter.c"
+#line 1730 "SearchFilter.c"
}
gchar** search_view_filter_get_search_filter_words (SearchViewFilter* self, int* result_length1) {
gchar** result = NULL;
- gchar** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- gchar** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ gchar** _tmp0_;
+ gint _tmp0__length1;
+ gchar** _tmp1_;
+ gint _tmp1__length1;
#line 146 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), NULL);
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1722,13 +1750,13 @@ gchar** search_view_filter_get_search_filter_words (SearchViewFilter* self, int*
if (result_length1) {
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*result_length1 = _tmp1__length1;
-#line 1726 "SearchFilter.c"
+#line 1754 "SearchFilter.c"
}
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp1_;
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1732 "SearchFilter.c"
+#line 1760 "SearchFilter.c"
}
@@ -1739,31 +1767,31 @@ static gchar** _vala_array_dup32 (gchar** self, int length) {
result = g_new0 (gchar*, length + 1);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (i = 0; i < length; i++) {
-#line 1743 "SearchFilter.c"
- gchar* _tmp0_ = NULL;
+#line 1771 "SearchFilter.c"
+ gchar* _tmp0_;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = g_strdup (self[i]);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result[i] = _tmp0_;
-#line 1749 "SearchFilter.c"
+#line 1777 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1753 "SearchFilter.c"
+#line 1781 "SearchFilter.c"
}
void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar* text) {
gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gchar* _tmp5_ = NULL;
+ const gchar* _tmp1_;
+ gboolean _tmp2_;
+ gchar* _tmp5_;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
gint __tmp6__size_ = 0;
- const gchar* _tmp7_ = NULL;
- gchar** _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
+ const gchar* _tmp7_;
+ gchar** _tmp11_;
+ gint _tmp11__length1;
#line 150 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1772,9 +1800,9 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp2_ = is_string_empty (_tmp1_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp2_) {
-#line 1776 "SearchFilter.c"
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+#line 1804 "SearchFilter.c"
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = text;
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1783,13 +1811,13 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_g_free0 (_tmp0_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp4_;
-#line 1787 "SearchFilter.c"
+#line 1815 "SearchFilter.c"
} else {
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp0_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = NULL;
-#line 1793 "SearchFilter.c"
+#line 1821 "SearchFilter.c"
}
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_strdup (_tmp0_);
@@ -1801,10 +1829,10 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp7_ = self->priv->search_filter;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp7_ != NULL) {
-#line 1805 "SearchFilter.c"
- const gchar* _tmp8_ = NULL;
- gchar** _tmp9_ = NULL;
- gchar** _tmp10_ = NULL;
+#line 1833 "SearchFilter.c"
+ const gchar* _tmp8_;
+ gchar** _tmp9_;
+ gchar** _tmp10_;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->search_filter;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1817,7 +1845,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6__length1 = _vala_array_length (_tmp9_);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
__tmp6__size_ = _tmp6__length1;
-#line 1821 "SearchFilter.c"
+#line 1849 "SearchFilter.c"
} else {
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
@@ -1827,7 +1855,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6__length1 = 0;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
__tmp6__size_ = _tmp6__length1;
-#line 1831 "SearchFilter.c"
+#line 1859 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = (_tmp6_ != NULL) ? _vala_array_dup32 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
@@ -1845,7 +1873,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 150 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp0_);
-#line 1849 "SearchFilter.c"
+#line 1877 "SearchFilter.c"
}
@@ -1864,13 +1892,13 @@ void search_view_filter_clear_search_filter (SearchViewFilter* self) {
self->priv->search_filter_words_length1 = 0;
#line 157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_search_filter_words_size_ = self->priv->search_filter_words_length1;
-#line 1868 "SearchFilter.c"
+#line 1896 "SearchFilter.c"
}
gboolean search_view_filter_has_saved_search (SearchViewFilter* self) {
gboolean result = FALSE;
- SavedSearch* _tmp0_ = NULL;
+ SavedSearch* _tmp0_;
#line 160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1879,13 +1907,13 @@ gboolean search_view_filter_has_saved_search (SearchViewFilter* self) {
result = _tmp0_ != NULL;
#line 161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1883 "SearchFilter.c"
+#line 1911 "SearchFilter.c"
}
gboolean search_view_filter_get_rating_allow_higher (SearchViewFilter* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1894,13 +1922,13 @@ gboolean search_view_filter_get_rating_allow_higher (SearchViewFilter* self) {
result = _tmp0_;
#line 165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1898 "SearchFilter.c"
+#line 1926 "SearchFilter.c"
}
Rating search_view_filter_get_rating (SearchViewFilter* self) {
Rating result = 0;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 168 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), 0);
#line 169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1909,7 +1937,7 @@ Rating search_view_filter_get_rating (SearchViewFilter* self) {
result = _tmp0_;
#line 169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1913 "SearchFilter.c"
+#line 1941 "SearchFilter.c"
}
@@ -1918,7 +1946,7 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
+ gboolean _tmp3_;
#line 172 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1927,77 +1955,77 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
if (_tmp3_) {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 1931 "SearchFilter.c"
+#line 1959 "SearchFilter.c"
} else {
- gboolean _tmp4_ = FALSE;
+ gboolean _tmp4_;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->_show_media_photos;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp4_;
-#line 1938 "SearchFilter.c"
+#line 1966 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_) {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = TRUE;
-#line 1944 "SearchFilter.c"
+#line 1972 "SearchFilter.c"
} else {
- gboolean _tmp5_ = FALSE;
+ gboolean _tmp5_;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->_show_media_raw;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp5_;
-#line 1951 "SearchFilter.c"
+#line 1979 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 1955 "SearchFilter.c"
+#line 1983 "SearchFilter.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
- gboolean _tmp8_ = FALSE;
+ gboolean _tmp8_;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->_show_media_video;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp8_) {
-#line 1963 "SearchFilter.c"
- gboolean _tmp9_ = FALSE;
+#line 1991 "SearchFilter.c"
+ gboolean _tmp9_;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->_show_media_photos;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp9_;
-#line 1969 "SearchFilter.c"
+#line 1997 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = FALSE;
-#line 1973 "SearchFilter.c"
+#line 2001 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp7_) {
-#line 1977 "SearchFilter.c"
- gboolean _tmp10_ = FALSE;
+#line 2005 "SearchFilter.c"
+ gboolean _tmp10_;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->_show_media_raw;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _tmp10_;
-#line 1983 "SearchFilter.c"
+#line 2011 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = FALSE;
-#line 1987 "SearchFilter.c"
+#line 2015 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = !_tmp6_;
-#line 1991 "SearchFilter.c"
+#line 2019 "SearchFilter.c"
} else {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 1995 "SearchFilter.c"
+#line 2023 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2001 "SearchFilter.c"
+#line 2029 "SearchFilter.c"
}
@@ -2007,13 +2035,13 @@ SearchViewFilter* search_view_filter_construct (GType object_type) {
self = (SearchViewFilter*) view_filter_construct (object_type);
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2011 "SearchFilter.c"
+#line 2039 "SearchFilter.c"
}
gboolean search_view_filter_get_flagged (SearchViewFilter* self) {
gboolean result;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2022,25 +2050,25 @@ gboolean search_view_filter_get_flagged (SearchViewFilter* self) {
result = _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2026 "SearchFilter.c"
+#line 2054 "SearchFilter.c"
}
void search_view_filter_set_flagged (SearchViewFilter* self, gboolean value) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = value;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_flagged = _tmp0_;
-#line 2038 "SearchFilter.c"
+#line 2066 "SearchFilter.c"
}
gboolean search_view_filter_get_show_media_video (SearchViewFilter* self) {
gboolean result;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2049,25 +2077,25 @@ gboolean search_view_filter_get_show_media_video (SearchViewFilter* self) {
result = _tmp0_;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2053 "SearchFilter.c"
+#line 2081 "SearchFilter.c"
}
void search_view_filter_set_show_media_video (SearchViewFilter* self, gboolean value) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = value;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_video = _tmp0_;
-#line 2065 "SearchFilter.c"
+#line 2093 "SearchFilter.c"
}
gboolean search_view_filter_get_show_media_photos (SearchViewFilter* self) {
gboolean result;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2076,25 +2104,25 @@ gboolean search_view_filter_get_show_media_photos (SearchViewFilter* self) {
result = _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2080 "SearchFilter.c"
+#line 2108 "SearchFilter.c"
}
void search_view_filter_set_show_media_photos (SearchViewFilter* self, gboolean value) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = value;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_photos = _tmp0_;
-#line 2092 "SearchFilter.c"
+#line 2120 "SearchFilter.c"
}
gboolean search_view_filter_get_show_media_raw (SearchViewFilter* self) {
gboolean result;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), FALSE);
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2103,25 +2131,25 @@ gboolean search_view_filter_get_show_media_raw (SearchViewFilter* self) {
result = _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2107 "SearchFilter.c"
+#line 2135 "SearchFilter.c"
}
void search_view_filter_set_show_media_raw (SearchViewFilter* self, gboolean value) {
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = value;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_raw = _tmp0_;
-#line 2119 "SearchFilter.c"
+#line 2147 "SearchFilter.c"
}
SavedSearch* search_view_filter_get_saved_search (SearchViewFilter* self) {
SavedSearch* result;
- SavedSearch* _tmp0_ = NULL;
+ SavedSearch* _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), NULL);
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2130,20 +2158,20 @@ SavedSearch* search_view_filter_get_saved_search (SearchViewFilter* self) {
result = _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2134 "SearchFilter.c"
+#line 2162 "SearchFilter.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? g_object_ref (self) : NULL;
-#line 2141 "SearchFilter.c"
+#line 2169 "SearchFilter.c"
}
void search_view_filter_set_saved_search (SearchViewFilter* self, SavedSearch* value) {
- SavedSearch* _tmp0_ = NULL;
- SavedSearch* _tmp1_ = NULL;
+ SavedSearch* _tmp0_;
+ SavedSearch* _tmp1_;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (self));
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2154,7 +2182,7 @@ void search_view_filter_set_saved_search (SearchViewFilter* self, SavedSearch* v
_g_object_unref0 (self->priv->_saved_search);
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_saved_search = _tmp1_;
-#line 2158 "SearchFilter.c"
+#line 2186 "SearchFilter.c"
}
@@ -2166,8 +2194,8 @@ static void search_view_filter_class_init (SearchViewFilterClass * klass) {
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchViewFilterPrivate));
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- ((SearchViewFilterClass *) klass)->get_criteria = (guint (*)(SearchViewFilter*)) search_view_filter_real_get_criteria;
-#line 2171 "SearchFilter.c"
+ ((SearchViewFilterClass *) klass)->get_criteria = (guint (*) (SearchViewFilter *)) search_view_filter_real_get_criteria;
+#line 2199 "SearchFilter.c"
}
@@ -2198,11 +2226,11 @@ static void search_view_filter_instance_init (SearchViewFilter * self) {
self->priv->_search_filter_words_size_ = self->priv->search_filter_words_length1;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_saved_search = NULL;
-#line 2202 "SearchFilter.c"
+#line 2230 "SearchFilter.c"
}
-static void search_view_filter_finalize (ViewFilter* obj) {
+static void search_view_filter_finalize (ViewFilter * obj) {
SearchViewFilter * self;
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter);
@@ -2214,7 +2242,7 @@ static void search_view_filter_finalize (ViewFilter* obj) {
_g_object_unref0 (self->priv->_saved_search);
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
VIEW_FILTER_CLASS (search_view_filter_parent_class)->finalize (obj);
-#line 2218 "SearchFilter.c"
+#line 2246 "SearchFilter.c"
}
@@ -2232,21 +2260,21 @@ GType search_view_filter_get_type (void) {
static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2250 "SearchFilter.c"
+#line 2278 "SearchFilter.c"
}
@@ -2254,18 +2282,18 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
DefaultSearchViewFilter * self;
gboolean result = FALSE;
MediaSource* source = NULL;
- DataView* _tmp0_ = NULL;
- MediaSource* _tmp1_ = NULL;
+ DataView* _tmp0_;
+ MediaSource* _tmp1_;
guint criteria = 0U;
- guint _tmp2_ = 0U;
- guint _tmp3_ = 0U;
- guint _tmp14_ = 0U;
+ guint _tmp2_;
+ guint _tmp3_;
+ guint _tmp14_;
gboolean _tmp22_ = FALSE;
- guint _tmp23_ = 0U;
- gboolean _tmp44_ = FALSE;
- guint _tmp45_ = 0U;
- gboolean _tmp91_ = FALSE;
- guint _tmp92_ = 0U;
+ guint _tmp23_;
+ gboolean _tmp40_ = FALSE;
+ guint _tmp41_;
+ gboolean _tmp87_ = FALSE;
+ guint _tmp88_;
#line 181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DEFAULT_SEARCH_VIEW_FILTER, DefaultSearchViewFilter);
#line 181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2284,17 +2312,17 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp3_ = criteria;
#line 186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_RATING & _tmp3_) != 0) {
-#line 2288 "SearchFilter.c"
+#line 2316 "SearchFilter.c"
gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
+ gboolean _tmp5_;
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = search_view_filter_get_rating_allow_higher (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_) {
-#line 2295 "SearchFilter.c"
- MediaSource* _tmp6_ = NULL;
- Rating _tmp7_ = 0;
- Rating _tmp8_ = 0;
+#line 2323 "SearchFilter.c"
+ MediaSource* _tmp6_;
+ Rating _tmp7_;
+ Rating _tmp8_;
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = source;
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2303,11 +2331,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp8_ = search_view_filter_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp7_ < _tmp8_;
-#line 2307 "SearchFilter.c"
+#line 2335 "SearchFilter.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = FALSE;
-#line 2311 "SearchFilter.c"
+#line 2339 "SearchFilter.c"
}
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_) {
@@ -2317,18 +2345,18 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 188 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2321 "SearchFilter.c"
+#line 2349 "SearchFilter.c"
} else {
gboolean _tmp9_ = FALSE;
- gboolean _tmp10_ = FALSE;
+ gboolean _tmp10_;
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = search_view_filter_get_rating_allow_higher (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp10_) {
-#line 2329 "SearchFilter.c"
- MediaSource* _tmp11_ = NULL;
- Rating _tmp12_ = 0;
- Rating _tmp13_ = 0;
+#line 2357 "SearchFilter.c"
+ MediaSource* _tmp11_;
+ Rating _tmp12_;
+ Rating _tmp13_;
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = source;
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2337,11 +2365,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp13_ = search_view_filter_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp12_ != _tmp13_;
-#line 2341 "SearchFilter.c"
+#line 2369 "SearchFilter.c"
} else {
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = FALSE;
-#line 2345 "SearchFilter.c"
+#line 2373 "SearchFilter.c"
}
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp9_) {
@@ -2351,7 +2379,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 190 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2355 "SearchFilter.c"
+#line 2383 "SearchFilter.c"
}
}
}
@@ -2359,45 +2387,45 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp14_ = criteria;
#line 194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_FLAG & _tmp14_) != 0) {
-#line 2363 "SearchFilter.c"
+#line 2391 "SearchFilter.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
- gboolean _tmp17_ = FALSE;
- gboolean _tmp18_ = FALSE;
+ gboolean _tmp17_;
+ gboolean _tmp18_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = search_view_filter_get_flagged (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = _tmp17_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp18_) {
-#line 2374 "SearchFilter.c"
- MediaSource* _tmp19_ = NULL;
+#line 2402 "SearchFilter.c"
+ MediaSource* _tmp19_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = source;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_FLAGGABLE);
-#line 2380 "SearchFilter.c"
+#line 2408 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = FALSE;
-#line 2384 "SearchFilter.c"
+#line 2412 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp16_) {
-#line 2388 "SearchFilter.c"
- MediaSource* _tmp20_ = NULL;
- gboolean _tmp21_ = FALSE;
+#line 2416 "SearchFilter.c"
+ MediaSource* _tmp20_;
+ gboolean _tmp21_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp20_ = source;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp21_ = flaggable_is_flagged (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_FLAGGABLE, Flaggable));
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = !_tmp21_;
-#line 2397 "SearchFilter.c"
+#line 2425 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = FALSE;
-#line 2401 "SearchFilter.c"
+#line 2429 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp15_) {
@@ -2407,36 +2435,36 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2411 "SearchFilter.c"
+#line 2439 "SearchFilter.c"
}
}
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp23_ = criteria;
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_MEDIA & _tmp23_) != 0) {
-#line 2418 "SearchFilter.c"
- gboolean _tmp24_ = FALSE;
+#line 2446 "SearchFilter.c"
+ gboolean _tmp24_;
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp24_ = search_view_filter_filter_by_media_type (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = _tmp24_;
-#line 2424 "SearchFilter.c"
+#line 2452 "SearchFilter.c"
} else {
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = FALSE;
-#line 2428 "SearchFilter.c"
+#line 2456 "SearchFilter.c"
}
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp22_) {
-#line 2432 "SearchFilter.c"
- MediaSource* _tmp25_ = NULL;
+#line 2460 "SearchFilter.c"
+ MediaSource* _tmp25_;
#line 201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp25_ = source;
#line 201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, TYPE_VIDEO_SOURCE)) {
-#line 2438 "SearchFilter.c"
- gboolean _tmp26_ = FALSE;
- gboolean _tmp27_ = FALSE;
+#line 2466 "SearchFilter.c"
+ gboolean _tmp26_;
+ gboolean _tmp27_;
#line 202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp26_ = search_view_filter_get_show_media_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2449,20 +2477,20 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2453 "SearchFilter.c"
+#line 2481 "SearchFilter.c"
}
} else {
- MediaSource* _tmp28_ = NULL;
+ MediaSource* _tmp28_;
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp28_ = source;
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, TYPE_PHOTO)) {
-#line 2461 "SearchFilter.c"
+#line 2489 "SearchFilter.c"
Photo* photo = NULL;
- MediaSource* _tmp29_ = NULL;
- Photo* _tmp30_ = NULL;
- Photo* _tmp31_ = NULL;
- PhotoFileFormat _tmp32_ = 0;
+ MediaSource* _tmp29_;
+ Photo* _tmp30_;
+ Photo* _tmp31_;
+ PhotoFileFormat _tmp32_;
#line 205 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp29_ = source;
#line 205 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2475,455 +2503,426 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp32_ = photo_get_master_file_format (_tmp31_);
#line 206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp32_ == PHOTO_FILE_FORMAT_RAW) {
-#line 2479 "SearchFilter.c"
- Photo* _tmp33_ = NULL;
- gboolean _tmp34_ = FALSE;
+#line 2507 "SearchFilter.c"
+ gboolean _tmp33_ = FALSE;
+ gboolean _tmp34_;
+ gboolean _tmp35_;
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp33_ = photo;
+ _tmp34_ = search_view_filter_get_show_media_photos (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp34_ = photo_is_raw_developer_available (_tmp33_, RAW_DEVELOPER_CAMERA);
+ _tmp35_ = _tmp34_;
+#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (!_tmp35_) {
+#line 2517 "SearchFilter.c"
+ gboolean _tmp36_;
+ gboolean _tmp37_;
+#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp36_ = search_view_filter_get_show_media_raw (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp34_) {
-#line 2488 "SearchFilter.c"
- gboolean _tmp35_ = FALSE;
- gboolean _tmp36_ = FALSE;
- gboolean _tmp37_ = FALSE;
-#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp36_ = search_view_filter_get_show_media_photos (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp37_ = _tmp36_;
+#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp33_ = !_tmp37_;
+#line 2526 "SearchFilter.c"
+ } else {
+#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp33_ = FALSE;
+#line 2530 "SearchFilter.c"
+ }
+#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp33_) {
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (!_tmp37_) {
-#line 2498 "SearchFilter.c"
- gboolean _tmp38_ = FALSE;
- gboolean _tmp39_ = FALSE;
-#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp38_ = search_view_filter_get_show_media_raw (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp39_ = _tmp38_;
+ result = FALSE;
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp35_ = !_tmp39_;
-#line 2507 "SearchFilter.c"
- } else {
+ _g_object_unref0 (photo);
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp35_ = FALSE;
-#line 2511 "SearchFilter.c"
- }
+ _g_object_unref0 (source);
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp35_) {
-#line 209 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- result = FALSE;
+ return result;
+#line 2542 "SearchFilter.c"
+ }
+ } else {
+ gboolean _tmp38_;
+ gboolean _tmp39_;
#line 209 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (photo);
+ _tmp38_ = search_view_filter_get_show_media_photos (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 209 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (source);
+ _tmp39_ = _tmp38_;
#line 209 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- return result;
-#line 2523 "SearchFilter.c"
- }
- } else {
- gboolean _tmp40_ = FALSE;
- gboolean _tmp41_ = FALSE;
+ if (!_tmp39_) {
#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp40_ = search_view_filter_get_show_media_raw (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp41_ = _tmp40_;
-#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (!_tmp41_) {
-#line 211 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- result = FALSE;
-#line 211 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (photo);
-#line 211 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (source);
-#line 211 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- return result;
-#line 2542 "SearchFilter.c"
- }
- }
- } else {
- gboolean _tmp42_ = FALSE;
- gboolean _tmp43_ = FALSE;
-#line 213 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp42_ = search_view_filter_get_show_media_photos (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 213 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp43_ = _tmp42_;
-#line 213 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (!_tmp43_) {
-#line 214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (photo);
-#line 214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (source);
-#line 214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2562 "SearchFilter.c"
+#line 2561 "SearchFilter.c"
}
}
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (photo);
-#line 2567 "SearchFilter.c"
+#line 2566 "SearchFilter.c"
}
}
}
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp45_ = criteria;
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if ((SEARCH_FILTER_CRITERIA_TEXT & _tmp45_) != 0) {
-#line 2575 "SearchFilter.c"
- gboolean _tmp46_ = FALSE;
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp46_ = search_view_filter_has_search_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp44_ = _tmp46_;
-#line 2581 "SearchFilter.c"
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp41_ = criteria;
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if ((SEARCH_FILTER_CRITERIA_TEXT & _tmp41_) != 0) {
+#line 2574 "SearchFilter.c"
+ gboolean _tmp42_;
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp42_ = search_view_filter_has_search_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp40_ = _tmp42_;
+#line 2580 "SearchFilter.c"
} else {
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp44_ = FALSE;
-#line 2585 "SearchFilter.c"
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp40_ = FALSE;
+#line 2584 "SearchFilter.c"
}
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp44_) {
-#line 2589 "SearchFilter.c"
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp40_) {
+#line 2588 "SearchFilter.c"
const gchar* media_keywords = NULL;
- MediaSource* _tmp47_ = NULL;
- const gchar* _tmp48_ = NULL;
+ MediaSource* _tmp43_;
+ const gchar* _tmp44_;
const gchar* event_keywords = NULL;
Event* event = NULL;
- MediaSource* _tmp49_ = NULL;
- Event* _tmp50_ = NULL;
- Event* _tmp51_ = NULL;
+ MediaSource* _tmp45_;
+ Event* _tmp46_;
+ Event* _tmp47_;
GeeList* tags = NULL;
- TagSourceCollection* _tmp54_ = NULL;
- MediaSource* _tmp55_ = NULL;
- GeeList* _tmp56_ = NULL;
- gint _tmp57_ = 0;
- GeeList* _tmp58_ = NULL;
+ TagSourceCollection* _tmp50_;
+ MediaSource* _tmp51_;
+ GeeList* _tmp52_;
+ gint _tmp53_ = 0;
+ GeeList* _tmp54_;
gint tags_size = 0;
- gint _tmp62_ = 0;
- gchar** _tmp63_ = NULL;
-#line 220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp47_ = source;
+ gint _tmp58_;
+ gchar** _tmp59_;
+#line 216 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp43_ = source;
+#line 216 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp44_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_INDEXABLE, Indexable));
+#line 216 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ media_keywords = _tmp44_;
+#line 218 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ event_keywords = NULL;
+#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp45_ = source;
+#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp46_ = media_source_get_event (_tmp45_);
+#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ event = _tmp46_;
#line 220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp48_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, TYPE_INDEXABLE, Indexable));
+ _tmp47_ = event;
#line 220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- media_keywords = _tmp48_;
-#line 222 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- event_keywords = NULL;
+ if (_tmp47_ != NULL) {
+#line 2624 "SearchFilter.c"
+ Event* _tmp48_;
+ const gchar* _tmp49_;
+#line 221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp48_ = event;
+#line 221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp49_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_INDEXABLE, Indexable));
+#line 221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ event_keywords = _tmp49_;
+#line 2633 "SearchFilter.c"
+ }
+#line 223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp50_ = tag_global;
#line 223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp49_ = source;
+ _tmp51_ = source;
#line 223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp50_ = media_source_get_event (_tmp49_);
+ _tmp52_ = tag_source_collection_fetch_for_source (_tmp50_, _tmp51_);
#line 223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- event = _tmp50_;
+ tags = _tmp52_;
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp51_ = event;
+ _tmp54_ = tags;
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp51_ != NULL) {
-#line 2625 "SearchFilter.c"
- Event* _tmp52_ = NULL;
- const gchar* _tmp53_ = NULL;
-#line 225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp52_ = event;
-#line 225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp53_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_INDEXABLE, Indexable));
-#line 225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- event_keywords = _tmp53_;
-#line 2634 "SearchFilter.c"
- }
-#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp54_ = tag_global;
-#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp55_ = source;
-#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp56_ = tag_source_collection_fetch_for_source (_tmp54_, _tmp55_);
-#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- tags = _tmp56_;
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp58_ = tags;
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp58_ != NULL) {
-#line 2648 "SearchFilter.c"
- GeeList* _tmp59_ = NULL;
- gint _tmp60_ = 0;
- gint _tmp61_ = 0;
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp59_ = tags;
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp60_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp61_ = _tmp60_;
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp57_ = _tmp61_;
-#line 2660 "SearchFilter.c"
+ if (_tmp54_ != NULL) {
+#line 2647 "SearchFilter.c"
+ GeeList* _tmp55_;
+ gint _tmp56_;
+ gint _tmp57_;
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp55_ = tags;
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp56_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp57_ = _tmp56_;
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp53_ = _tmp57_;
+#line 2659 "SearchFilter.c"
} else {
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp57_ = 0;
-#line 2664 "SearchFilter.c"
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp53_ = 0;
+#line 2663 "SearchFilter.c"
}
-#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- tags_size = _tmp57_;
-#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp63_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp62_);
-#line 2670 "SearchFilter.c"
+#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ tags_size = _tmp53_;
+#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp59_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp58_);
+#line 2669 "SearchFilter.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
gint _word_collection_size_ = 0;
gint word_it = 0;
-#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- word_collection = _tmp63_;
-#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- word_collection_length1 = _tmp62_;
-#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- for (word_it = 0; word_it < _tmp62_; word_it = word_it + 1) {
-#line 2682 "SearchFilter.c"
+#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ word_collection = _tmp59_;
+#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ word_collection_length1 = _tmp58_;
+#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ for (word_it = 0; word_it < _tmp58_; word_it = word_it + 1) {
+#line 2681 "SearchFilter.c"
const gchar* word = NULL;
-#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
word = word_collection[word_it];
-#line 2686 "SearchFilter.c"
+#line 2685 "SearchFilter.c"
{
- gboolean _tmp64_ = FALSE;
- const gchar* _tmp65_ = NULL;
- gboolean _tmp69_ = FALSE;
- const gchar* _tmp70_ = NULL;
- gint _tmp74_ = 0;
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp65_ = media_keywords;
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp65_ != NULL) {
-#line 2697 "SearchFilter.c"
- const gchar* _tmp66_ = NULL;
- const gchar* _tmp67_ = NULL;
- gboolean _tmp68_ = FALSE;
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp66_ = media_keywords;
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp67_ = word;
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp68_ = string_contains (_tmp66_, _tmp67_);
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp64_ = _tmp68_;
-#line 2709 "SearchFilter.c"
+ gboolean _tmp60_ = FALSE;
+ const gchar* _tmp61_;
+ gboolean _tmp65_ = FALSE;
+ const gchar* _tmp66_;
+ gint _tmp70_;
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp61_ = media_keywords;
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp61_ != NULL) {
+#line 2696 "SearchFilter.c"
+ const gchar* _tmp62_;
+ const gchar* _tmp63_;
+ gboolean _tmp64_;
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp62_ = media_keywords;
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp63_ = word;
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp64_ = string_contains (_tmp62_, _tmp63_);
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp60_ = _tmp64_;
+#line 2708 "SearchFilter.c"
} else {
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp64_ = FALSE;
-#line 2713 "SearchFilter.c"
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp60_ = FALSE;
+#line 2712 "SearchFilter.c"
}
-#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp64_) {
-#line 232 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp60_) {
+#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2719 "SearchFilter.c"
+#line 2718 "SearchFilter.c"
}
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp70_ = event_keywords;
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp70_ != NULL) {
-#line 2725 "SearchFilter.c"
- const gchar* _tmp71_ = NULL;
- const gchar* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp71_ = event_keywords;
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp72_ = word;
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp73_ = string_contains (_tmp71_, _tmp72_);
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp69_ = _tmp73_;
-#line 2737 "SearchFilter.c"
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp66_ = event_keywords;
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp66_ != NULL) {
+#line 2724 "SearchFilter.c"
+ const gchar* _tmp67_;
+ const gchar* _tmp68_;
+ gboolean _tmp69_;
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp67_ = event_keywords;
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp68_ = word;
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp69_ = string_contains (_tmp67_, _tmp68_);
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp65_ = _tmp69_;
+#line 2736 "SearchFilter.c"
} else {
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp69_ = FALSE;
-#line 2741 "SearchFilter.c"
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp65_ = FALSE;
+#line 2740 "SearchFilter.c"
}
-#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp69_) {
-#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp65_) {
+#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2747 "SearchFilter.c"
+#line 2746 "SearchFilter.c"
}
-#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp74_ = tags_size;
-#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp74_ > 0) {
-#line 2753 "SearchFilter.c"
+#line 233 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp70_ = tags_size;
+#line 233 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp70_ > 0) {
+#line 2752 "SearchFilter.c"
gboolean found = FALSE;
- gboolean _tmp90_ = FALSE;
-#line 238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp86_;
+#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
found = FALSE;
-#line 2758 "SearchFilter.c"
+#line 2757 "SearchFilter.c"
{
gint ctr = 0;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ctr = 0;
-#line 2763 "SearchFilter.c"
+#line 2762 "SearchFilter.c"
{
- gboolean _tmp75_ = FALSE;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp75_ = TRUE;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp71_ = FALSE;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp71_ = TRUE;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
while (TRUE) {
-#line 2770 "SearchFilter.c"
- gint _tmp77_ = 0;
- gint _tmp78_ = 0;
+#line 2769 "SearchFilter.c"
+ gint _tmp73_;
+ gint _tmp74_;
const gchar* tag_keywords = NULL;
- GeeList* _tmp79_ = NULL;
- gint _tmp80_ = 0;
- gpointer _tmp81_ = NULL;
- Tag* _tmp82_ = NULL;
- const gchar* _tmp83_ = NULL;
- const gchar* _tmp84_ = NULL;
- gboolean _tmp85_ = FALSE;
- const gchar* _tmp86_ = NULL;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (!_tmp75_) {
-#line 2784 "SearchFilter.c"
- gint _tmp76_ = 0;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp76_ = ctr;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- ctr = _tmp76_ + 1;
-#line 2790 "SearchFilter.c"
+ GeeList* _tmp75_;
+ gint _tmp76_;
+ gpointer _tmp77_;
+ Tag* _tmp78_;
+ const gchar* _tmp79_;
+ const gchar* _tmp80_;
+ gboolean _tmp81_ = FALSE;
+ const gchar* _tmp82_;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (!_tmp71_) {
+#line 2783 "SearchFilter.c"
+ gint _tmp72_;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp72_ = ctr;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ ctr = _tmp72_ + 1;
+#line 2789 "SearchFilter.c"
}
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp75_ = FALSE;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp77_ = ctr;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp78_ = tags_size;
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (!(_tmp77_ < _tmp78_)) {
-#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp71_ = FALSE;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp73_ = ctr;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp74_ = tags_size;
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (!(_tmp73_ < _tmp74_)) {
+#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2802 "SearchFilter.c"
+#line 2801 "SearchFilter.c"
}
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp79_ = tags;
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp80_ = ctr;
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp81_ = gee_list_get (_tmp79_, _tmp80_);
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp82_ = (Tag*) _tmp81_;
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp83_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, TYPE_INDEXABLE, Indexable));
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp84_ = _tmp83_;
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (_tmp82_);
-#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- tag_keywords = _tmp84_;
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp86_ = tag_keywords;
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp86_ != NULL) {
-#line 2824 "SearchFilter.c"
- const gchar* _tmp87_ = NULL;
- const gchar* _tmp88_ = NULL;
- gboolean _tmp89_ = FALSE;
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp87_ = tag_keywords;
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp88_ = word;
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp89_ = string_contains (_tmp87_, _tmp88_);
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp85_ = _tmp89_;
-#line 2836 "SearchFilter.c"
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp75_ = tags;
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp76_ = ctr;
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp77_ = gee_list_get (_tmp75_, _tmp76_);
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp78_ = (Tag*) _tmp77_;
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp79_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, TYPE_INDEXABLE, Indexable));
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp80_ = _tmp79_;
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (_tmp78_);
+#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ tag_keywords = _tmp80_;
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp82_ = tag_keywords;
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp82_ != NULL) {
+#line 2823 "SearchFilter.c"
+ const gchar* _tmp83_;
+ const gchar* _tmp84_;
+ gboolean _tmp85_;
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp83_ = tag_keywords;
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp84_ = word;
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp85_ = string_contains (_tmp83_, _tmp84_);
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp81_ = _tmp85_;
+#line 2835 "SearchFilter.c"
} else {
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp85_ = FALSE;
-#line 2840 "SearchFilter.c"
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp81_ = FALSE;
+#line 2839 "SearchFilter.c"
}
-#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp85_) {
-#line 242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp81_) {
+#line 238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
found = TRUE;
-#line 244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2848 "SearchFilter.c"
+#line 2847 "SearchFilter.c"
}
}
}
}
-#line 248 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp90_ = found;
-#line 248 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp90_) {
-#line 249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp86_ = found;
+#line 244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp86_) {
+#line 245 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2859 "SearchFilter.c"
+#line 2858 "SearchFilter.c"
}
}
-#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (tags);
-#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (event);
-#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (source);
-#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2872 "SearchFilter.c"
+#line 2871 "SearchFilter.c"
}
}
}
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (tags);
-#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (event);
-#line 2880 "SearchFilter.c"
+#line 2879 "SearchFilter.c"
}
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp92_ = criteria;
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if ((SEARCH_FILTER_CRITERIA_SAVEDSEARCH & _tmp92_) != 0) {
-#line 2886 "SearchFilter.c"
- gboolean _tmp93_ = FALSE;
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp93_ = search_view_filter_has_saved_search (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp91_ = _tmp93_;
-#line 2892 "SearchFilter.c"
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp88_ = criteria;
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if ((SEARCH_FILTER_CRITERIA_SAVEDSEARCH & _tmp88_) != 0) {
+#line 2885 "SearchFilter.c"
+ gboolean _tmp89_;
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp89_ = search_view_filter_has_saved_search (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp87_ = _tmp89_;
+#line 2891 "SearchFilter.c"
} else {
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp91_ = FALSE;
-#line 2896 "SearchFilter.c"
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp87_ = FALSE;
+#line 2895 "SearchFilter.c"
}
-#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp91_) {
-#line 2900 "SearchFilter.c"
- SavedSearch* _tmp94_ = NULL;
- SavedSearch* _tmp95_ = NULL;
- MediaSource* _tmp96_ = NULL;
- gboolean _tmp97_ = FALSE;
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp94_ = search_view_filter_get_saved_search (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp95_ = _tmp94_;
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp96_ = source;
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp97_ = saved_search_predicate (_tmp95_, _tmp96_);
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- result = _tmp97_;
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp87_) {
+#line 2899 "SearchFilter.c"
+ SavedSearch* _tmp90_;
+ SavedSearch* _tmp91_;
+ MediaSource* _tmp92_;
+ gboolean _tmp93_;
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp90_ = search_view_filter_get_saved_search (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp91_ = _tmp90_;
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp92_ = source;
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp93_ = saved_search_predicate (_tmp91_, _tmp92_);
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ result = _tmp93_;
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (source);
-#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2919 "SearchFilter.c"
+#line 2918 "SearchFilter.c"
}
-#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
-#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (source);
-#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2927 "SearchFilter.c"
+#line 2926 "SearchFilter.c"
}
@@ -2933,7 +2932,7 @@ DefaultSearchViewFilter* default_search_view_filter_construct (GType object_type
self = (DefaultSearchViewFilter*) search_view_filter_construct (object_type);
#line 180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2937 "SearchFilter.c"
+#line 2936 "SearchFilter.c"
}
@@ -2941,8 +2940,8 @@ static void default_search_view_filter_class_init (DefaultSearchViewFilterClass
#line 180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
default_search_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- ((ViewFilterClass *) klass)->predicate = (gboolean (*)(ViewFilter*, DataView*)) default_search_view_filter_real_predicate;
-#line 2946 "SearchFilter.c"
+ ((ViewFilterClass *) klass)->predicate = (gboolean (*) (ViewFilter *, DataView*)) default_search_view_filter_real_predicate;
+#line 2945 "SearchFilter.c"
}
@@ -2965,56 +2964,56 @@ GType default_search_view_filter_get_type (void) {
static gboolean disabled_view_filter_real_predicate (ViewFilter* base, DataView* view) {
DisabledViewFilter * self;
gboolean result = FALSE;
-#line 268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DISABLED_VIEW_FILTER, DisabledViewFilter);
-#line 268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_DATA_VIEW (view), FALSE);
-#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 265 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
-#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 265 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2977 "SearchFilter.c"
+#line 2976 "SearchFilter.c"
}
static guint disabled_view_filter_real_get_criteria (SearchViewFilter* base) {
DisabledViewFilter * self;
guint result = 0U;
-#line 272 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DISABLED_VIEW_FILTER, DisabledViewFilter);
-#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = (guint) SEARCH_FILTER_CRITERIA_RATING;
-#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2990 "SearchFilter.c"
+#line 2989 "SearchFilter.c"
}
DisabledViewFilter* disabled_view_filter_construct (GType object_type) {
DisabledViewFilter* self = NULL;
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (DisabledViewFilter*) search_view_filter_construct (object_type);
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3000 "SearchFilter.c"
+#line 2999 "SearchFilter.c"
}
DisabledViewFilter* disabled_view_filter_new (void) {
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return disabled_view_filter_construct (TYPE_DISABLED_VIEW_FILTER);
-#line 3007 "SearchFilter.c"
+#line 3006 "SearchFilter.c"
}
static void disabled_view_filter_class_init (DisabledViewFilterClass * klass) {
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
disabled_view_filter_parent_class = g_type_class_peek_parent (klass);
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- ((ViewFilterClass *) klass)->predicate = (gboolean (*)(ViewFilter*, DataView*)) disabled_view_filter_real_predicate;
-#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- ((SearchViewFilterClass *) klass)->get_criteria = (guint (*)(SearchViewFilter*)) disabled_view_filter_real_get_criteria;
-#line 3018 "SearchFilter.c"
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ ((ViewFilterClass *) klass)->predicate = (gboolean (*) (ViewFilter *, DataView*)) disabled_view_filter_real_predicate;
+#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ ((SearchViewFilterClass *) klass)->get_criteria = (guint (*) (SearchViewFilter *)) disabled_view_filter_real_get_criteria;
+#line 3017 "SearchFilter.c"
}
@@ -3036,392 +3035,392 @@ GType disabled_view_filter_get_type (void) {
TextAction* text_action_construct (GType object_type, const gchar* init) {
TextAction* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
-#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+#line 290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (TextAction*) g_type_create_instance (object_type);
-#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 291 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = init;
-#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 291 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 291 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (self->priv->text);
-#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 291 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->text = _tmp1_;
-#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3054 "SearchFilter.c"
+#line 3053 "SearchFilter.c"
}
TextAction* text_action_new (const gchar* init) {
-#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return text_action_construct (TYPE_TEXT_ACTION, init);
-#line 3061 "SearchFilter.c"
+#line 3060 "SearchFilter.c"
}
void text_action_set_text (TextAction* self, const gchar* text) {
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_TEXT_ACTION (self));
-#line 299 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->text;
-#line 299 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = text;
-#line 299 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
-#line 3076 "SearchFilter.c"
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
-#line 300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3075 "SearchFilter.c"
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
+#line 296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = text;
-#line 300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (self->priv->text);
-#line 300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->text = _tmp3_;
-#line 301 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 297 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = text;
-#line 301 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "text-changed", _tmp4_);
-#line 3092 "SearchFilter.c"
+#line 297 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, text_action_signals[TEXT_ACTION_TEXT_CHANGED_SIGNAL], 0, _tmp4_);
+#line 3091 "SearchFilter.c"
}
}
void text_action_clear (TextAction* self) {
-#line 305 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 301 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_TEXT_ACTION (self));
-#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 302 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_text (self, NULL);
-#line 3102 "SearchFilter.c"
+#line 3101 "SearchFilter.c"
}
gboolean text_action_is_sensitive (TextAction* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 309 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 305 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_TEXT_ACTION (self), FALSE);
-#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->sensitive;
-#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3117 "SearchFilter.c"
+#line 3116 "SearchFilter.c"
}
void text_action_set_sensitive (TextAction* self, gboolean sensitive) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
-#line 313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+#line 309 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_TEXT_ACTION (self));
-#line 314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->sensitive;
-#line 314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = sensitive;
-#line 314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3132 "SearchFilter.c"
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
-#line 315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3131 "SearchFilter.c"
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+#line 311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = sensitive;
-#line 315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->sensitive = _tmp2_;
-#line 316 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = sensitive;
-#line 316 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "sensitivity-changed", _tmp3_);
-#line 3143 "SearchFilter.c"
+#line 312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, text_action_signals[TEXT_ACTION_SENSITIVITY_CHANGED_SIGNAL], 0, _tmp3_);
+#line 3142 "SearchFilter.c"
}
}
gboolean text_action_is_visible (TextAction* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 320 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 316 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_TEXT_ACTION (self), FALSE);
-#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->visible;
-#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3159 "SearchFilter.c"
+#line 3158 "SearchFilter.c"
}
void text_action_set_visible (TextAction* self, gboolean visible) {
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
-#line 324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+ gboolean _tmp1_;
+#line 320 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_TEXT_ACTION (self));
-#line 325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->visible;
-#line 325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = visible;
-#line 325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3174 "SearchFilter.c"
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
-#line 326 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3173 "SearchFilter.c"
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+#line 322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = visible;
-#line 326 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->visible = _tmp2_;
-#line 327 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = visible;
-#line 327 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "visibility-changed", _tmp3_);
-#line 3185 "SearchFilter.c"
+#line 323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, text_action_signals[TEXT_ACTION_VISIBILITY_CHANGED_SIGNAL], 0, _tmp3_);
+#line 3184 "SearchFilter.c"
}
}
const gchar* text_action_get_value (TextAction* self) {
const gchar* result;
- const gchar* _tmp0_ = NULL;
-#line 279 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+#line 275 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_TEXT_ACTION (self), NULL);
-#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->text;
-#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3201 "SearchFilter.c"
+#line 3200 "SearchFilter.c"
}
static void value_text_action_init (GValue* value) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3208 "SearchFilter.c"
+#line 3207 "SearchFilter.c"
}
static void value_text_action_free_value (GValue* value) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (value->data[0].v_pointer) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (value->data[0].v_pointer);
-#line 3217 "SearchFilter.c"
+#line 3216 "SearchFilter.c"
}
}
static void value_text_action_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (src_value->data[0].v_pointer) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = text_action_ref (src_value->data[0].v_pointer);
-#line 3227 "SearchFilter.c"
+#line 3226 "SearchFilter.c"
} else {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3231 "SearchFilter.c"
+#line 3230 "SearchFilter.c"
}
}
static gpointer value_text_action_peek_pointer (const GValue* value) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3239 "SearchFilter.c"
+#line 3238 "SearchFilter.c"
}
static gchar* value_text_action_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 3246 "SearchFilter.c"
- TextAction* object;
+#line 3245 "SearchFilter.c"
+ TextAction * object;
object = collect_values[0].v_pointer;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3253 "SearchFilter.c"
+#line 3252 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.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 3257 "SearchFilter.c"
+#line 3256 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = text_action_ref (object);
-#line 3261 "SearchFilter.c"
+#line 3260 "SearchFilter.c"
} else {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3265 "SearchFilter.c"
+#line 3264 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3269 "SearchFilter.c"
+#line 3268 "SearchFilter.c"
}
static gchar* value_text_action_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- TextAction** object_p;
+ TextAction ** object_p;
object_p = collect_values[0].v_pointer;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!object_p) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3280 "SearchFilter.c"
+#line 3279 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 3286 "SearchFilter.c"
+#line 3285 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 3290 "SearchFilter.c"
+#line 3289 "SearchFilter.c"
} else {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = text_action_ref (value->data[0].v_pointer);
-#line 3294 "SearchFilter.c"
+#line 3293 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3298 "SearchFilter.c"
+#line 3297 "SearchFilter.c"
}
GParamSpec* param_spec_text_action (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecTextAction* spec;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_TEXT_ACTION), NULL);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 3312 "SearchFilter.c"
+#line 3311 "SearchFilter.c"
}
gpointer value_get_text_action (const GValue* value) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ACTION), NULL);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3321 "SearchFilter.c"
+#line 3320 "SearchFilter.c"
}
void value_set_text_action (GValue* value, gpointer v_object) {
- TextAction* old;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction * old;
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ACTION));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ACTION));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_ref (value->data[0].v_pointer);
-#line 3341 "SearchFilter.c"
+#line 3340 "SearchFilter.c"
} else {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3345 "SearchFilter.c"
+#line 3344 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3351 "SearchFilter.c"
+#line 3350 "SearchFilter.c"
}
}
void value_take_text_action (GValue* value, gpointer v_object) {
- TextAction* old;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction * old;
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ACTION));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_TEXT_ACTION));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 3370 "SearchFilter.c"
+#line 3369 "SearchFilter.c"
} else {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3374 "SearchFilter.c"
+#line 3373 "SearchFilter.c"
}
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3380 "SearchFilter.c"
+#line 3379 "SearchFilter.c"
}
}
static void text_action_class_init (TextActionClass * klass) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_parent_class = g_type_class_peek_parent (klass);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((TextActionClass *) klass)->finalize = text_action_finalize;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (TextActionPrivate));
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("text_changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("sensitivity_changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("visibility_changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 3398 "SearchFilter.c"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ text_action_signals[TEXT_ACTION_TEXT_CHANGED_SIGNAL] = g_signal_new ("text-changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ text_action_signals[TEXT_ACTION_SENSITIVITY_CHANGED_SIGNAL] = g_signal_new ("sensitivity-changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ text_action_signals[TEXT_ACTION_VISIBILITY_CHANGED_SIGNAL] = g_signal_new ("visibility-changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 3397 "SearchFilter.c"
}
static void text_action_instance_init (TextAction * self) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = TEXT_ACTION_GET_PRIVATE (self);
-#line 284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->text = NULL;
-#line 285 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->sensitive = TRUE;
-#line 286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 282 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->visible = TRUE;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 3413 "SearchFilter.c"
+#line 3412 "SearchFilter.c"
}
-static void text_action_finalize (TextAction* obj) {
+static void text_action_finalize (TextAction * obj) {
TextAction * self;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ACTION, TextAction);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_destroy (self);
-#line 284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (self->priv->text);
-#line 3425 "SearchFilter.c"
+#line 3424 "SearchFilter.c"
}
@@ -3440,1156 +3439,1156 @@ GType text_action_get_type (void) {
gpointer text_action_ref (gpointer instance) {
- TextAction* self;
+ TextAction * self;
self = instance;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_atomic_int_inc (&self->ref_count);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 3450 "SearchFilter.c"
+#line 3449 "SearchFilter.c"
}
void text_action_unref (gpointer instance) {
- TextAction* self;
+ TextAction * self;
self = instance;
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
TEXT_ACTION_GET_CLASS (self)->finalize (self);
-#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3463 "SearchFilter.c"
+#line 3462 "SearchFilter.c"
}
}
static void _search_filter_actions_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_radio ((SearchFilterActions*) self, action, parameter);
-#line 3471 "SearchFilter.c"
+#line 3470 "SearchFilter.c"
}
static void _search_filter_actions_on_rating_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_rating_changed ((SearchFilterActions*) self, action, value);
-#line 3478 "SearchFilter.c"
+#line 3477 "SearchFilter.c"
}
static void _search_filter_actions_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_toggle ((SearchFilterActions*) self, action, parameter);
-#line 3485 "SearchFilter.c"
+#line 3484 "SearchFilter.c"
}
static void _search_filter_actions_on_flagged_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_flagged_toggled ((SearchFilterActions*) self, action, value);
-#line 3492 "SearchFilter.c"
+#line 3491 "SearchFilter.c"
}
static void _search_filter_actions_on_photos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_photos_toggled ((SearchFilterActions*) self, action, value);
-#line 3499 "SearchFilter.c"
+#line 3498 "SearchFilter.c"
}
static void _search_filter_actions_on_videos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_videos_toggled ((SearchFilterActions*) self, action, value);
-#line 3506 "SearchFilter.c"
+#line 3505 "SearchFilter.c"
}
static void _search_filter_actions_on_raw_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_raw_toggled ((SearchFilterActions*) self, action, value);
-#line 3513 "SearchFilter.c"
+#line 3512 "SearchFilter.c"
}
static void _search_filter_actions_on_text_changed_text_action_text_changed (TextAction* _sender, const gchar* text, gpointer self) {
-#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_text_changed ((SearchFilterActions*) self, _sender, text);
-#line 3520 "SearchFilter.c"
+#line 3519 "SearchFilter.c"
}
SearchFilterActions* search_filter_actions_construct (GType object_type) {
SearchFilterActions* self = NULL;
- TextAction* _tmp0_ = NULL;
- TextAction* _tmp1_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+ TextAction* _tmp1_;
+#line 402 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterActions*) g_type_create_instance (object_type);
-#line 408 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 404 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_register (self);
-#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_text (self);
-#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_;
-#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect (_tmp1_, "text-changed", (GCallback) _search_filter_actions_on_text_changed_text_action_text_changed, self);
#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect (_tmp1_, "text-changed", (GCallback) _search_filter_actions_on_text_changed_text_action_text_changed, self);
+#line 402 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3540 "SearchFilter.c"
+#line 3539 "SearchFilter.c"
}
SearchFilterActions* search_filter_actions_new (void) {
-#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 402 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_actions_construct (TYPE_SEARCH_FILTER_ACTIONS);
-#line 3547 "SearchFilter.c"
+#line 3546 "SearchFilter.c"
}
SearchFilterCriteria search_filter_actions_get_criteria (SearchFilterActions* self) {
SearchFilterCriteria result = 0;
- SearchFilterCriteria _tmp0_ = 0;
-#line 413 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterCriteria _tmp0_;
+#line 409 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), 0);
-#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->criteria;
-#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3562 "SearchFilter.c"
+#line 3561 "SearchFilter.c"
}
GActionEntry* search_filter_actions_get_actions (SearchFilterActions* self, int* result_length1) {
GActionEntry* result = NULL;
- GActionEntry* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
-#line 417 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GActionEntry* _tmp0_;
+ gint _tmp0__length1;
+#line 413 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = SEARCH_FILTER_ACTIONS_entries;
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0__length1 = G_N_ELEMENTS (SEARCH_FILTER_ACTIONS_entries);
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (result_length1) {
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*result_length1 = _tmp0__length1;
-#line 3580 "SearchFilter.c"
+#line 3579 "SearchFilter.c"
}
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3586 "SearchFilter.c"
+#line 3585 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, const gchar* name) {
GSimpleAction* result = NULL;
LibraryWindow* lw = NULL;
- AppWindow* _tmp0_ = NULL;
- LibraryWindow* _tmp1_ = NULL;
- LibraryWindow* _tmp2_ = NULL;
-#line 421 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ AppWindow* _tmp0_;
+ LibraryWindow* _tmp1_;
+ LibraryWindow* _tmp2_;
+#line 417 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 421 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 417 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = app_window_get_instance ();
-#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_LIBRARY_WINDOW) ? ((LibraryWindow*) _tmp0_) : NULL;
-#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_ == NULL) {
-#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp0_);
-#line 3608 "SearchFilter.c"
+#line 3607 "SearchFilter.c"
}
-#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
lw = _tmp1_;
-#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 419 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = lw;
-#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 419 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3616 "SearchFilter.c"
- LibraryWindow* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- GAction* _tmp5_ = NULL;
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3615 "SearchFilter.c"
+ LibraryWindow* _tmp3_;
+ const gchar* _tmp4_;
+ GAction* _tmp5_;
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = lw;
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = name;
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_action_map_get_type (), GActionMap), _tmp4_);
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp5_) : NULL;
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (lw);
-#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3632 "SearchFilter.c"
+#line 3631 "SearchFilter.c"
}
-#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = NULL;
-#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (lw);
-#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3640 "SearchFilter.c"
+#line 3639 "SearchFilter.c"
}
void search_filter_actions_set_action_sensitive (SearchFilterActions* self, const gchar* name, gboolean sensitive) {
GSimpleAction* action = NULL;
- const gchar* _tmp0_ = NULL;
- GSimpleAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
-#line 431 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+ GSimpleAction* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GSimpleAction* _tmp3_;
+#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 431 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (name != NULL);
-#line 432 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 428 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = name;
-#line 432 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 428 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = search_filter_actions_get_action (self, _tmp0_);
-#line 432 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 428 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 432 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 428 "/home/jens/Source/shotwell/src/SearchFilter.vala"
action = _tmp2_;
-#line 433 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 429 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = action;
-#line 433 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 429 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 3666 "SearchFilter.c"
- GSimpleAction* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
-#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3665 "SearchFilter.c"
+ GSimpleAction* _tmp4_;
+ gboolean _tmp5_;
+#line 430 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = action;
-#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 430 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = sensitive;
-#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 430 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 3675 "SearchFilter.c"
+#line 3674 "SearchFilter.c"
}
-#line 431 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
-#line 3679 "SearchFilter.c"
+#line 3678 "SearchFilter.c"
}
static GVariant* _variant_new32 (gboolean value) {
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3686 "SearchFilter.c"
+#line 3685 "SearchFilter.c"
}
static GVariant* _variant_new33 (gboolean value) {
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3693 "SearchFilter.c"
+#line 3692 "SearchFilter.c"
}
static GVariant* _variant_new34 (gboolean value) {
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3700 "SearchFilter.c"
+#line 3699 "SearchFilter.c"
}
static GVariant* _variant_new35 (gboolean value) {
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3707 "SearchFilter.c"
+#line 3706 "SearchFilter.c"
}
static GVariant* _variant_new36 (gchar* value) {
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 3714 "SearchFilter.c"
+#line 3713 "SearchFilter.c"
}
void search_filter_actions_reset (SearchFilterActions* self) {
- GSimpleAction* _tmp0_ = NULL;
- GSimpleAction* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
- GSimpleAction* _tmp6_ = NULL;
- GSimpleAction* _tmp7_ = NULL;
- GVariant* _tmp8_ = NULL;
- GSimpleAction* _tmp9_ = NULL;
- GSimpleAction* _tmp10_ = NULL;
- GVariant* _tmp11_ = NULL;
+ GSimpleAction* _tmp0_;
+ GSimpleAction* _tmp1_;
+ GVariant* _tmp2_;
+ GSimpleAction* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GVariant* _tmp5_;
+ GSimpleAction* _tmp6_;
+ GSimpleAction* _tmp7_;
+ GVariant* _tmp8_;
+ GSimpleAction* _tmp9_;
+ GSimpleAction* _tmp10_;
+ GVariant* _tmp11_;
GVariant* v = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- GVariant* _tmp14_ = NULL;
- GVariant* _tmp15_ = NULL;
- GSimpleAction* _tmp16_ = NULL;
- GSimpleAction* _tmp17_ = NULL;
- TextAction* _tmp18_ = NULL;
- TextAction* _tmp19_ = NULL;
-#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ GVariant* _tmp14_;
+ GVariant* _tmp15_;
+ GSimpleAction* _tmp16_;
+ GSimpleAction* _tmp17_;
+ TextAction* _tmp18_;
+ TextAction* _tmp19_;
+#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_flagged (self);
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_;
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _variant_new32 (FALSE);
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp1_, "change-state", _tmp2_);
-#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp2_);
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = search_filter_actions_get_photos (self);
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _variant_new33 (FALSE);
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp4_, "change-state", _tmp5_);
-#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp5_);
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = search_filter_actions_get_raw (self);
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_;
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _variant_new34 (FALSE);
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp7_, "change-state", _tmp8_);
-#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp8_);
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = search_filter_actions_get_videos (self);
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = _tmp9_;
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = _variant_new35 (FALSE);
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp10_, "change-state", _tmp11_);
-#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp11_);
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = g_strdup_printf ("%d", (gint) RATING_FILTER_UNRATED_OR_HIGHER);
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = _tmp12_;
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _variant_new36 (_tmp13_);
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = _tmp14_;
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp13_);
-#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
v = _tmp15_;
-#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = search_filter_actions_get_rating (self);
-#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = _tmp16_;
-#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp17_, "change-state", v);
-#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = search_filter_actions_get_text (self);
-#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = _tmp18_;
-#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_text (_tmp19_, NULL);
-#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (v);
-#line 3808 "SearchFilter.c"
+#line 3807 "SearchFilter.c"
}
void search_filter_actions_set_sensitive_for_search_criteria (SearchFilterActions* self, SearchFilterCriteria criteria) {
- SearchFilterCriteria _tmp0_ = 0;
-#line 449 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterCriteria _tmp0_;
+#line 445 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 450 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = criteria;
-#line 450 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->criteria = _tmp0_;
-#line 451 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 447 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_update_sensitivities (self);
-#line 454 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "criteria-changed");
-#line 3824 "SearchFilter.c"
+#line 450 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_CRITERIA_CHANGED_SIGNAL], 0);
+#line 3823 "SearchFilter.c"
}
static void _search_filter_actions_on_media_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
-#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_media_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3831 "SearchFilter.c"
+#line 3830 "SearchFilter.c"
}
static void _search_filter_actions_on_camera_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
-#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_camera_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3838 "SearchFilter.c"
+#line 3837 "SearchFilter.c"
}
void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Page* old_page, Page* new_page) {
CheckerboardPage* old_tracked_page = NULL;
- Page* _tmp0_ = NULL;
- CheckerboardPage* _tmp1_ = NULL;
- CheckerboardPage* _tmp2_ = NULL;
+ Page* _tmp0_;
+ CheckerboardPage* _tmp1_;
+ CheckerboardPage* _tmp2_;
CheckerboardPage* new_tracked_page = NULL;
- Page* _tmp11_ = NULL;
- CheckerboardPage* _tmp12_ = NULL;
- CheckerboardPage* _tmp13_ = NULL;
-#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ Page* _tmp11_;
+ CheckerboardPage* _tmp12_;
+ CheckerboardPage* _tmp13_;
+#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
-#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 454 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = old_page;
-#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 454 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL);
-#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 454 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old_tracked_page = _tmp1_;
-#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 455 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = old_tracked_page;
-#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 455 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3867 "SearchFilter.c"
+#line 3866 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
- CheckerboardPage* _tmp3_ = NULL;
- CoreViewTracker* _tmp4_ = NULL;
- CoreViewTracker* _tmp5_ = NULL;
-#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CheckerboardPage* _tmp3_;
+ CoreViewTracker* _tmp4_;
+ CoreViewTracker* _tmp5_;
+#line 456 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = old_tracked_page;
-#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 456 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = checkerboard_page_get_view_tracker (_tmp3_);
-#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 456 "/home/jens/Source/shotwell/src/SearchFilter.vala"
tracker = _tmp4_;
-#line 461 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = tracker;
-#line 461 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3882 "SearchFilter.c"
- CoreViewTracker* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
-#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3881 "SearchFilter.c"
+ CoreViewTracker* _tmp6_;
+ guint _tmp7_;
+#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = tracker;
-#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp7_, NULL, FALSE);
-#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, CORE_TYPE_TRACKER, CoreTracker), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_actions_on_media_tracker_updated_core_tracker_updated, self);
-#line 3891 "SearchFilter.c"
+#line 3890 "SearchFilter.c"
} else {
- CoreViewTracker* _tmp8_ = NULL;
-#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CoreViewTracker* _tmp8_;
+#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = tracker;
-#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3898 "SearchFilter.c"
- CoreViewTracker* _tmp9_ = NULL;
- guint _tmp10_ = 0U;
-#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3897 "SearchFilter.c"
+ CoreViewTracker* _tmp9_;
+ guint _tmp10_;
+#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = tracker;
-#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp10_, NULL, FALSE);
-#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, CORE_TYPE_TRACKER, CoreTracker), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _search_filter_actions_on_camera_tracker_updated_core_tracker_updated, self);
-#line 3907 "SearchFilter.c"
+#line 3906 "SearchFilter.c"
}
}
-#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 455 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3912 "SearchFilter.c"
+#line 3911 "SearchFilter.c"
}
-#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = new_page;
-#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp11_) : NULL);
-#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
new_tracked_page = _tmp12_;
-#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = new_tracked_page;
-#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp13_ != NULL) {
-#line 3924 "SearchFilter.c"
+#line 3923 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
- CheckerboardPage* _tmp14_ = NULL;
- CoreViewTracker* _tmp15_ = NULL;
- CoreViewTracker* _tmp16_ = NULL;
-#line 469 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CheckerboardPage* _tmp14_;
+ CoreViewTracker* _tmp15_;
+ CoreViewTracker* _tmp16_;
+#line 465 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->can_filter_by_stars = TRUE;
-#line 471 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = new_tracked_page;
-#line 471 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = checkerboard_page_get_view_tracker (_tmp14_);
-#line 471 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
tracker = _tmp15_;
-#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = tracker;
-#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3941 "SearchFilter.c"
- CoreViewTracker* _tmp17_ = NULL;
- CoreViewTracker* _tmp18_ = NULL;
-#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3940 "SearchFilter.c"
+ CoreViewTracker* _tmp17_;
+ CoreViewTracker* _tmp18_;
+#line 469 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = tracker;
-#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 469 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, CORE_TYPE_TRACKER, CoreTracker), "updated", (GCallback) _search_filter_actions_on_media_tracker_updated_core_tracker_updated, self);
-#line 474 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 470 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = tracker;
-#line 474 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 470 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_media_tracker_updated (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, CORE_TYPE_TRACKER, CoreTracker));
-#line 476 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 476 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (new_tracked_page);
-#line 476 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (old_tracked_page);
-#line 476 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3960 "SearchFilter.c"
+#line 3959 "SearchFilter.c"
} else {
- CoreViewTracker* _tmp19_ = NULL;
-#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CoreViewTracker* _tmp19_;
+#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = tracker;
-#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3967 "SearchFilter.c"
- CoreViewTracker* _tmp20_ = NULL;
- CoreViewTracker* _tmp21_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 3966 "SearchFilter.c"
+ CoreViewTracker* _tmp20_;
+ CoreViewTracker* _tmp21_;
+#line 474 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp20_ = tracker;
-#line 478 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 474 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, CORE_TYPE_TRACKER, CoreTracker), "updated", (GCallback) _search_filter_actions_on_camera_tracker_updated_core_tracker_updated, self);
-#line 479 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 475 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp21_ = tracker;
-#line 479 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 475 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_camera_tracker_updated (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, CORE_TYPE_TRACKER, CoreTracker));
-#line 481 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 481 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (new_tracked_page);
-#line 481 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (old_tracked_page);
-#line 481 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3986 "SearchFilter.c"
+#line 3985 "SearchFilter.c"
}
}
-#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3991 "SearchFilter.c"
+#line 3990 "SearchFilter.c"
}
-#line 486 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 482 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = FALSE;
-#line 487 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 483 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_photos = FALSE;
-#line 488 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 484 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_videos = FALSE;
-#line 489 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 485 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_raw = FALSE;
-#line 490 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 486 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->can_filter_by_stars = FALSE;
-#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 488 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_update_sensitivities (self);
-#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (new_tracked_page);
-#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (old_tracked_page);
-#line 4009 "SearchFilter.c"
+#line 4008 "SearchFilter.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
-#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 4016 "SearchFilter.c"
+#line 4015 "SearchFilter.c"
}
static void search_filter_actions_on_media_tracker_updated (SearchFilterActions* self, CoreTracker* t) {
MediaViewTracker* tracker = NULL;
- CoreTracker* _tmp0_ = NULL;
- MediaViewTracker* _tmp1_ = NULL;
- MediaAccumulator* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- MediaAccumulator* _tmp4_ = NULL;
- gint _tmp5_ = 0;
- MediaAccumulator* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- MediaAccumulator* _tmp8_ = NULL;
- gint _tmp9_ = 0;
-#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CoreTracker* _tmp0_;
+ MediaViewTracker* _tmp1_;
+ MediaAccumulator* _tmp2_;
+ gint _tmp3_;
+ MediaAccumulator* _tmp4_;
+ gint _tmp5_;
+ MediaAccumulator* _tmp6_;
+ gint _tmp7_;
+ MediaAccumulator* _tmp8_;
+ gint _tmp9_;
+#line 491 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 491 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (CORE_IS_TRACKER (t));
-#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = t;
-#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _core_tracker_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_VIEW_TRACKER, MediaViewTracker));
-#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
tracker = _tmp1_;
-#line 498 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 494 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = tracker->all;
-#line 498 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 494 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_->flagged;
-#line 498 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 494 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = _tmp3_ > 0;
-#line 499 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = tracker->all;
-#line 499 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _tmp4_->photos;
-#line 499 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_photos = _tmp5_ > 0;
-#line 500 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = tracker->all;
-#line 500 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_->videos;
-#line 500 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_videos = _tmp7_ > 0;
-#line 501 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 497 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = tracker->all;
-#line 501 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 497 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp8_->raw;
-#line 501 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 497 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_raw = _tmp9_ > 0;
-#line 503 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 499 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_update_sensitivities (self);
-#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 491 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4070 "SearchFilter.c"
+#line 4069 "SearchFilter.c"
}
static void search_filter_actions_on_camera_tracker_updated (SearchFilterActions* self, CoreTracker* t) {
CameraViewTracker* tracker = NULL;
- CoreTracker* _tmp0_ = NULL;
- CameraViewTracker* _tmp1_ = NULL;
- CameraAccumulator* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- CameraAccumulator* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- CameraAccumulator* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
-#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ CoreTracker* _tmp0_;
+ CameraViewTracker* _tmp1_;
+ CameraAccumulator* _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ CameraAccumulator* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ CameraAccumulator* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
+#line 502 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 502 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (CORE_IS_TRACKER (t));
-#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 503 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = t;
-#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 503 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _core_tracker_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_CAMERA_VIEW_TRACKER, CameraViewTracker));
-#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 503 "/home/jens/Source/shotwell/src/SearchFilter.vala"
tracker = _tmp1_;
-#line 509 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 505 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = FALSE;
-#line 510 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = tracker->all;
-#line 510 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = camera_accumulator_get_photos (_tmp2_);
-#line 510 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
-#line 510 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_photos = _tmp4_ > 0;
-#line 511 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = tracker->all;
-#line 511 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = camera_accumulator_get_videos (_tmp5_);
-#line 511 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_;
-#line 511 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 507 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_videos = _tmp7_ > 0;
-#line 512 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 508 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = tracker->all;
-#line 512 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 508 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = camera_accumulator_get_raw (_tmp8_);
-#line 512 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 508 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = _tmp9_;
-#line 512 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 508 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_raw = _tmp10_ > 0;
-#line 514 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 510 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_update_sensitivities (self);
-#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 502 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4127 "SearchFilter.c"
+#line 4126 "SearchFilter.c"
}
static void search_filter_actions_update_sensitivities (SearchFilterActions* self) {
gboolean allow_ratings = FALSE;
- SearchFilterCriteria _tmp0_ = 0;
- gboolean _tmp1_ = FALSE;
- TextAction* _tmp2_ = NULL;
- TextAction* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
-#line 517 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterCriteria _tmp0_;
+ gboolean _tmp1_;
+ TextAction* _tmp2_;
+ TextAction* _tmp3_;
+ gboolean _tmp4_;
+ gboolean _tmp5_;
+ gboolean _tmp6_;
+ gboolean _tmp7_;
+#line 513 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 518 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 514 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->criteria;
-#line 518 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 514 "/home/jens/Source/shotwell/src/SearchFilter.vala"
allow_ratings = (SEARCH_FILTER_CRITERIA_RATING & _tmp0_) != 0;
-#line 519 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 515 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->can_filter_by_stars;
-#line 519 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 515 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_set_action_sensitive (self, "display.rating", allow_ratings & _tmp1_);
-#line 523 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 519 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search_filter_actions_get_text (self);
-#line 523 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 519 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_;
-#line 523 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 519 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_sensitive (_tmp3_, TRUE);
-#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 521 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->has_photos;
-#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 521 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->has_videos;
-#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 521 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->has_raw;
-#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 521 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->has_flagged;
-#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "media-context-changed", _tmp4_, _tmp5_, _tmp6_, _tmp7_);
-#line 4167 "SearchFilter.c"
+#line 521 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_MEDIA_CONTEXT_CHANGED_SIGNAL], 0, _tmp4_, _tmp5_, _tmp6_, _tmp7_);
+#line 4166 "SearchFilter.c"
}
static void search_filter_actions_on_text_changed (SearchFilterActions* self, TextAction* action, const gchar* text) {
- const gchar* _tmp0_ = NULL;
-#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+#line 524 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 524 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_TEXT_ACTION (action));
-#line 529 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = text;
-#line 529 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "text-changed", _tmp0_);
-#line 4181 "SearchFilter.c"
+#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_TEXT_CHANGED_SIGNAL], 0, _tmp0_);
+#line 4180 "SearchFilter.c"
}
static void search_filter_actions_on_action_radio (SearchFilterActions* self, GSimpleAction* action, GVariant* parameter) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
-#line 540 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+#line 536 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 540 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 536 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 542 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 538 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 542 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 538 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = parameter;
-#line 542 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 538 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp0_, "change-state", _tmp1_);
-#line 4198 "SearchFilter.c"
+#line 4197 "SearchFilter.c"
}
static gboolean _variant_get37 (GVariant* value) {
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_get_boolean (value);
-#line 4205 "SearchFilter.c"
+#line 4204 "SearchFilter.c"
}
static GVariant* _variant_new38 (gboolean value) {
-#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4212 "SearchFilter.c"
+#line 4211 "SearchFilter.c"
}
static void search_filter_actions_on_action_toggle (SearchFilterActions* self, GSimpleAction* action, GVariant* parameter) {
gboolean state = FALSE;
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
- GSimpleAction* _tmp5_ = NULL;
- GVariant* _tmp6_ = NULL;
-#line 545 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+ gboolean _tmp4_;
+ GSimpleAction* _tmp5_;
+ GVariant* _tmp6_;
+#line 541 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 545 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 541 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_action_get_type (), GAction));
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp1_;
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _variant_get37 (_tmp2_);
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp2_);
-#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
state = _tmp4_;
-#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = action;
-#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _variant_new38 (!state);
-#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
-#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 4251 "SearchFilter.c"
+#line 4250 "SearchFilter.c"
}
static void search_filter_actions_register (SearchFilterActions* self) {
- TextAction* _tmp0_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 552 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = text_action_new (NULL);
-#line 552 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->_text);
-#line 552 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_text = _tmp0_;
-#line 4265 "SearchFilter.c"
+#line 4264 "SearchFilter.c"
}
static void search_filter_actions_on_rating_changed (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GVariant* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GVariant* _tmp3_ = NULL;
- GVariant* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GVariant* _tmp0_;
+ const gchar* _tmp1_;
+ GSimpleAction* _tmp2_;
+ GVariant* _tmp3_;
+ GVariant* _tmp4_;
+ const gchar* _tmp5_;
+ gboolean _tmp6_;
RatingFilter filter = 0;
- GVariant* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- GSimpleAction* _tmp10_ = NULL;
- GVariant* _tmp11_ = NULL;
- RatingFilter _tmp12_ = 0;
-#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GVariant* _tmp7_;
+ const gchar* _tmp8_;
+ gint _tmp9_;
+ GSimpleAction* _tmp10_;
+ GVariant* _tmp11_;
+ RatingFilter _tmp12_;
+#line 551 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 551 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 551 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = value;
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = g_variant_get_string (_tmp0_, NULL);
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = action;
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_action_get_type (), GAction));
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_variant_get_string (_tmp4_, NULL);
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = g_strcmp0 (_tmp1_, _tmp5_) == 0;
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp4_);
-#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 553 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_) {
-#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 554 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 4310 "SearchFilter.c"
+#line 4309 "SearchFilter.c"
}
-#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 556 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = value;
-#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 556 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = g_variant_get_string (_tmp7_, NULL);
-#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 556 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = atoi (_tmp8_);
-#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 556 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filter = (RatingFilter) _tmp9_;
-#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = action;
-#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = value;
-#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp10_, _tmp11_);
-#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = filter;
-#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "rating-changed", _tmp12_);
-#line 4330 "SearchFilter.c"
+#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_RATING_CHANGED_SIGNAL], 0, _tmp12_);
+#line 4329 "SearchFilter.c"
}
static void search_filter_actions_on_flagged_toggled (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 563 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 563 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 563 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "flagged-toggled", _tmp3_);
-#line 4357 "SearchFilter.c"
+#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_FLAGGED_TOGGLED_SIGNAL], 0, _tmp3_);
+#line 4356 "SearchFilter.c"
}
static void search_filter_actions_on_photos_toggled (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 569 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 569 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 569 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "photos-toggled", _tmp3_);
-#line 4384 "SearchFilter.c"
+#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_PHOTOS_TOGGLED_SIGNAL], 0, _tmp3_);
+#line 4383 "SearchFilter.c"
}
static void search_filter_actions_on_videos_toggled (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 575 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 575 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 575 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "videos-toggled", _tmp3_);
-#line 4411 "SearchFilter.c"
+#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_VIDEOS_TOGGLED_SIGNAL], 0, _tmp3_);
+#line 4410 "SearchFilter.c"
}
static void search_filter_actions_on_raw_toggled (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
- GVariant* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+ GVariant* _tmp1_;
+ GVariant* _tmp2_;
+ gboolean _tmp3_;
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 581 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 581 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 581 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "raw-toggled", _tmp3_);
-#line 4438 "SearchFilter.c"
+#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_actions_signals[SEARCH_FILTER_ACTIONS_RAW_TOGGLED_SIGNAL], 0, _tmp3_);
+#line 4437 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_photos (SearchFilterActions* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 589 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_photos;
-#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4453 "SearchFilter.c"
+#line 4452 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_videos (SearchFilterActions* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 593 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 589 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_videos;
-#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4468 "SearchFilter.c"
+#line 4467 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_raw (SearchFilterActions* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 597 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 593 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_raw;
-#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4483 "SearchFilter.c"
+#line 4482 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_flagged (SearchFilterActions* self) {
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
-#line 601 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 597 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_flagged;
-#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4498 "SearchFilter.c"
+#line 4497 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_flagged (SearchFilterActions* self) {
GSimpleAction* result;
- GSimpleAction* _tmp0_ = NULL;
-#line 335 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+#line 331 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 332 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_action (self, "display.flagged");
-#line 336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 332 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 332 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4513 "SearchFilter.c"
+#line 4512 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_photos (SearchFilterActions* self) {
GSimpleAction* result;
- GSimpleAction* _tmp0_ = NULL;
-#line 341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+#line 337 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_action (self, "display.photos");
-#line 342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4528 "SearchFilter.c"
+#line 4527 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_videos (SearchFilterActions* self) {
GSimpleAction* result;
- GSimpleAction* _tmp0_ = NULL;
-#line 347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+#line 343 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_action (self, "display.videos");
-#line 348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4543 "SearchFilter.c"
+#line 4542 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_raw (SearchFilterActions* self) {
GSimpleAction* result;
- GSimpleAction* _tmp0_ = NULL;
-#line 353 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+#line 349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_action (self, "display.raw");
-#line 354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4558 "SearchFilter.c"
+#line 4557 "SearchFilter.c"
}
GSimpleAction* search_filter_actions_get_rating (SearchFilterActions* self) {
GSimpleAction* result;
- GSimpleAction* _tmp0_ = NULL;
-#line 359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GSimpleAction* _tmp0_;
+#line 355 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 356 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter_actions_get_action (self, "display.rating");
-#line 360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 356 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 356 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4573 "SearchFilter.c"
+#line 4572 "SearchFilter.c"
}
TextAction* search_filter_actions_get_text (SearchFilterActions* self) {
TextAction* result;
- TextAction* _tmp0_ = NULL;
- TextAction* _tmp1_ = NULL;
-#line 365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+ TextAction* _tmp1_;
+#line 361 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), NULL);
-#line 366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 362 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->_text;
-#line 366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 362 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_vala_assert (_tmp0_ != NULL, "_text != null");
-#line 367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->_text;
-#line 367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp1_;
-#line 367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4593 "SearchFilter.c"
+#line 4592 "SearchFilter.c"
}
@@ -4600,275 +4599,275 @@ static void g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN (GClos
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (n_param_values == 5);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data1 = closure->data;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = param_values->data[0].v_pointer;
-#line 4612 "SearchFilter.c"
+#line 4611 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data1 = param_values->data[0].v_pointer;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = closure->data;
-#line 4618 "SearchFilter.c"
+#line 4617 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
callback = (GMarshalFunc_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
callback (data1, g_value_get_boolean (param_values + 1), g_value_get_boolean (param_values + 2), g_value_get_boolean (param_values + 3), g_value_get_boolean (param_values + 4), data2);
-#line 4624 "SearchFilter.c"
+#line 4623 "SearchFilter.c"
}
static void value_search_filter_actions_init (GValue* value) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4631 "SearchFilter.c"
+#line 4630 "SearchFilter.c"
}
static void value_search_filter_actions_free_value (GValue* value) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (value->data[0].v_pointer) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (value->data[0].v_pointer);
-#line 4640 "SearchFilter.c"
+#line 4639 "SearchFilter.c"
}
}
static void value_search_filter_actions_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (src_value->data[0].v_pointer) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = search_filter_actions_ref (src_value->data[0].v_pointer);
-#line 4650 "SearchFilter.c"
+#line 4649 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4654 "SearchFilter.c"
+#line 4653 "SearchFilter.c"
}
}
static gpointer value_search_filter_actions_peek_pointer (const GValue* value) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4662 "SearchFilter.c"
+#line 4661 "SearchFilter.c"
}
static gchar* value_search_filter_actions_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 4669 "SearchFilter.c"
- SearchFilterActions* object;
+#line 4668 "SearchFilter.c"
+ SearchFilterActions * object;
object = collect_values[0].v_pointer;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 4676 "SearchFilter.c"
+#line 4675 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.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 4680 "SearchFilter.c"
+#line 4679 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_actions_ref (object);
-#line 4684 "SearchFilter.c"
+#line 4683 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4688 "SearchFilter.c"
+#line 4687 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4692 "SearchFilter.c"
+#line 4691 "SearchFilter.c"
}
static gchar* value_search_filter_actions_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- SearchFilterActions** object_p;
+ SearchFilterActions ** object_p;
object_p = collect_values[0].v_pointer;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!object_p) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 4703 "SearchFilter.c"
+#line 4702 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 4709 "SearchFilter.c"
+#line 4708 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 4713 "SearchFilter.c"
+#line 4712 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_actions_ref (value->data[0].v_pointer);
-#line 4717 "SearchFilter.c"
+#line 4716 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4721 "SearchFilter.c"
+#line 4720 "SearchFilter.c"
}
GParamSpec* param_spec_search_filter_actions (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecSearchFilterActions* spec;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_SEARCH_FILTER_ACTIONS), NULL);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 4735 "SearchFilter.c"
+#line 4734 "SearchFilter.c"
}
gpointer value_get_search_filter_actions (const GValue* value) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SEARCH_FILTER_ACTIONS), NULL);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4744 "SearchFilter.c"
+#line 4743 "SearchFilter.c"
}
void value_set_search_filter_actions (GValue* value, gpointer v_object) {
- SearchFilterActions* old;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterActions * old;
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SEARCH_FILTER_ACTIONS));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SEARCH_FILTER_ACTIONS));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_ref (value->data[0].v_pointer);
-#line 4764 "SearchFilter.c"
+#line 4763 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4768 "SearchFilter.c"
+#line 4767 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4774 "SearchFilter.c"
+#line 4773 "SearchFilter.c"
}
}
void value_take_search_filter_actions (GValue* value, gpointer v_object) {
- SearchFilterActions* old;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterActions * old;
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SEARCH_FILTER_ACTIONS));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SEARCH_FILTER_ACTIONS));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 4793 "SearchFilter.c"
+#line 4792 "SearchFilter.c"
} else {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4797 "SearchFilter.c"
+#line 4796 "SearchFilter.c"
}
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4803 "SearchFilter.c"
+#line 4802 "SearchFilter.c"
}
}
static void search_filter_actions_class_init (SearchFilterActionsClass * klass) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_parent_class = g_type_class_peek_parent (klass);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((SearchFilterActionsClass *) klass)->finalize = search_filter_actions_finalize;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterActionsPrivate));
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("flagged_toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("photos_toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("videos_toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("raw_toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("rating_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_RATING_FILTER);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("text_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
-#line 4827 "SearchFilter.c"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_FLAGGED_TOGGLED_SIGNAL] = g_signal_new ("flagged-toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_PHOTOS_TOGGLED_SIGNAL] = g_signal_new ("photos-toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_VIDEOS_TOGGLED_SIGNAL] = g_signal_new ("videos-toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_RAW_TOGGLED_SIGNAL] = g_signal_new ("raw-toggled", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_RATING_CHANGED_SIGNAL] = g_signal_new ("rating-changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_RATING_FILTER);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_TEXT_CHANGED_SIGNAL] = g_signal_new ("text-changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
+#line 4826 "SearchFilter.c"
/**
* fired when the kinds of media present in the current view change (e.g., a video becomes
* available in the view through a new import operation or no raw photos are available in
* the view anymore because the last one was moved to the trash)
*/
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("media_context_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("criteria_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 4837 "SearchFilter.c"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_MEDIA_CONTEXT_CHANGED_SIGNAL] = g_signal_new ("media-context-changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN);
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_actions_signals[SEARCH_FILTER_ACTIONS_CRITERIA_CHANGED_SIGNAL] = g_signal_new ("criteria-changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 4836 "SearchFilter.c"
}
static void search_filter_actions_instance_init (SearchFilterActions * self) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_ACTIONS_GET_PRIVATE (self);
-#line 371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->criteria = SEARCH_FILTER_CRITERIA_ALL;
-#line 372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_text = NULL;
-#line 373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = TRUE;
-#line 374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_photos = TRUE;
-#line 375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_videos = TRUE;
-#line 376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_raw = TRUE;
-#line 377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->can_filter_by_stars = TRUE;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 4860 "SearchFilter.c"
+#line 4859 "SearchFilter.c"
}
-static void search_filter_actions_finalize (SearchFilterActions* obj) {
+static void search_filter_actions_finalize (SearchFilterActions * obj) {
SearchFilterActions * self;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SEARCH_FILTER_ACTIONS, SearchFilterActions);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_destroy (self);
-#line 372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->_text);
-#line 4872 "SearchFilter.c"
+#line 4871 "SearchFilter.c"
}
@@ -4887,1887 +4886,1868 @@ GType search_filter_actions_get_type (void) {
gpointer search_filter_actions_ref (gpointer instance) {
- SearchFilterActions* self;
+ SearchFilterActions * self;
self = instance;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_atomic_int_inc (&self->ref_count);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 4897 "SearchFilter.c"
+#line 4896 "SearchFilter.c"
}
void search_filter_actions_unref (gpointer instance) {
- SearchFilterActions* self;
+ SearchFilterActions * self;
self = instance;
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
SEARCH_FILTER_ACTIONS_GET_CLASS (self)->finalize (self);
-#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4910 "SearchFilter.c"
+#line 4909 "SearchFilter.c"
}
}
static void _search_filter_toolbar_on_media_context_changed_search_filter_actions_media_context_changed (SearchFilterActions* _sender, gboolean has_photos, gboolean has_videos, gboolean has_raw, gboolean has_flagged, gpointer self) {
-#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1154 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_media_context_changed ((SearchFilterToolbar*) self, has_photos, has_videos, has_raw, has_flagged);
-#line 4918 "SearchFilter.c"
+#line 4917 "SearchFilter.c"
}
static void _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
-#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1156 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_flagged_toggled ((SearchFilterToolbar*) self);
-#line 4925 "SearchFilter.c"
+#line 4924 "SearchFilter.c"
}
static void _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
-#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_photos_toggled ((SearchFilterToolbar*) self);
-#line 4932 "SearchFilter.c"
+#line 4931 "SearchFilter.c"
}
static void _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
-#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_videos_toggled ((SearchFilterToolbar*) self);
-#line 4939 "SearchFilter.c"
+#line 4938 "SearchFilter.c"
}
static void _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
-#line 1163 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_raw_toggled ((SearchFilterToolbar*) self);
-#line 4946 "SearchFilter.c"
+#line 4945 "SearchFilter.c"
}
static void _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed (SearchFilterActions* _sender, RatingFilter filter, gpointer self) {
-#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_rating_changed ((SearchFilterToolbar*) self);
-#line 4953 "SearchFilter.c"
+#line 4952 "SearchFilter.c"
}
static void _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed (SearchFilterActions* _sender, const gchar* text, gpointer self) {
-#line 1165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_search_text_changed ((SearchFilterToolbar*) self);
-#line 4960 "SearchFilter.c"
+#line 4959 "SearchFilter.c"
}
static void _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed (SearchFilterActions* _sender, gpointer self) {
-#line 1166 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_criteria_changed ((SearchFilterToolbar*) self);
-#line 4967 "SearchFilter.c"
+#line 4966 "SearchFilter.c"
}
static gboolean _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_popup_context_menu (GtkToolbar* _sender, gint x, gint y, gint button_number, gpointer self) {
gboolean result;
result = search_filter_toolbar_on_context_menu_requested ((SearchFilterToolbar*) self, x, y, button_number);
-#line 1168 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4976 "SearchFilter.c"
+#line 4975 "SearchFilter.c"
}
static gpointer _search_filter_actions_ref0 (gpointer self) {
-#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? search_filter_actions_ref (self) : NULL;
-#line 4983 "SearchFilter.c"
+#line 4982 "SearchFilter.c"
}
static void _search_filter_toolbar_on_context_menu_close_chosen_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
-#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1071 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_context_menu_close_chosen ((SearchFilterToolbar*) self);
-#line 4990 "SearchFilter.c"
+#line 4989 "SearchFilter.c"
}
static void _search_filter_toolbar_on_saved_search_button_clicked_search_filter_toolbar_saved_search_filter_button_clicked (SearchFilterToolbarSavedSearchFilterButton* _sender, gpointer self) {
-#line 1126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1122 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_saved_search_button_clicked ((SearchFilterToolbar*) self);
-#line 4997 "SearchFilter.c"
+#line 4996 "SearchFilter.c"
}
SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchFilterActions* actions) {
SearchFilterToolbar * self = NULL;
- SearchFilterActions* _tmp0_ = NULL;
- SearchFilterActions* _tmp1_ = NULL;
- GtkToolbar* _tmp2_ = NULL;
- SearchFilterActions* _tmp3_ = NULL;
- SearchFilterActions* _tmp4_ = NULL;
- TextAction* _tmp5_ = NULL;
- TextAction* _tmp6_ = NULL;
- SearchFilterToolbarSearchBox* _tmp7_ = NULL;
- GtkToolbar* _tmp8_ = NULL;
- GtkToolbar* _tmp9_ = NULL;
- GtkMenuItem* _tmp18_ = NULL;
- const gchar* _tmp19_ = NULL;
- GtkMenuItem* _tmp20_ = NULL;
- GtkMenuItem* _tmp21_ = NULL;
- GtkMenu* _tmp22_ = NULL;
- GtkMenuItem* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- SearchFilterToolbarLabelToolItem* _tmp25_ = NULL;
- GtkToolbar* _tmp26_ = NULL;
- SearchFilterToolbarLabelToolItem* _tmp27_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp28_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp29_ = NULL;
- const gchar* _tmp30_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp31_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp32_ = NULL;
- const gchar* _tmp33_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp34_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
- GtkToolbar* _tmp37_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp38_ = NULL;
- GtkToolbar* _tmp39_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp40_ = NULL;
- GtkToolbar* _tmp41_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp42_ = NULL;
- GtkSeparatorToolItem* _tmp43_ = NULL;
- GtkToolbar* _tmp44_ = NULL;
- GtkSeparatorToolItem* _tmp45_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp46_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp47_ = NULL;
- const gchar* _tmp48_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp49_ = NULL;
- const gchar* _tmp50_ = NULL;
- GtkToolbar* _tmp51_ = NULL;
- SearchFilterToolbarToggleActionToolButton* _tmp52_ = NULL;
- GtkSeparatorToolItem* _tmp53_ = NULL;
- GtkToolbar* _tmp54_ = NULL;
- GtkSeparatorToolItem* _tmp55_ = NULL;
+ SearchFilterActions* _tmp0_;
+ SearchFilterActions* _tmp1_;
+ GtkToolbar* _tmp2_;
+ SearchFilterActions* _tmp3_;
+ SearchFilterActions* _tmp4_;
+ TextAction* _tmp5_;
+ TextAction* _tmp6_;
+ SearchFilterToolbarSearchBox* _tmp7_;
+ GtkToolbar* _tmp8_;
+ GtkToolbar* _tmp9_;
+ GtkMenuItem* _tmp17_;
+ GtkMenuItem* _tmp18_;
+ GtkMenuItem* _tmp19_;
+ GtkMenu* _tmp20_;
+ GtkMenuItem* _tmp21_;
+ SearchFilterToolbarLabelToolItem* _tmp22_;
+ GtkToolbar* _tmp23_;
+ SearchFilterToolbarLabelToolItem* _tmp24_;
+ SearchFilterToolbarToggleActionToolButton* _tmp25_;
+ SearchFilterToolbarToggleActionToolButton* _tmp26_;
+ SearchFilterToolbarToggleActionToolButton* _tmp27_;
+ SearchFilterToolbarToggleActionToolButton* _tmp28_;
+ SearchFilterToolbarToggleActionToolButton* _tmp29_;
+ SearchFilterToolbarToggleActionToolButton* _tmp30_;
+ GtkToolbar* _tmp31_;
+ SearchFilterToolbarToggleActionToolButton* _tmp32_;
+ GtkToolbar* _tmp33_;
+ SearchFilterToolbarToggleActionToolButton* _tmp34_;
+ GtkToolbar* _tmp35_;
+ SearchFilterToolbarToggleActionToolButton* _tmp36_;
+ GtkSeparatorToolItem* _tmp37_;
+ GtkToolbar* _tmp38_;
+ GtkSeparatorToolItem* _tmp39_;
+ SearchFilterToolbarToggleActionToolButton* _tmp40_;
+ SearchFilterToolbarToggleActionToolButton* _tmp41_;
+ SearchFilterToolbarToggleActionToolButton* _tmp42_;
+ GtkToolbar* _tmp43_;
+ SearchFilterToolbarToggleActionToolButton* _tmp44_;
+ GtkSeparatorToolItem* _tmp45_;
+ GtkToolbar* _tmp46_;
+ GtkSeparatorToolItem* _tmp47_;
GMenuModel* model = NULL;
- GtkBuilder* _tmp56_ = NULL;
- GObject* _tmp57_ = NULL;
- GMenuModel* _tmp58_ = NULL;
- SearchFilterToolbarRatingFilterButton* _tmp59_ = NULL;
- SearchFilterToolbarRatingFilterButton* _tmp60_ = NULL;
- const gchar* _tmp61_ = NULL;
- SearchFilterToolbarRatingFilterButton* _tmp62_ = NULL;
- GtkToolbar* _tmp63_ = NULL;
- SearchFilterToolbarRatingFilterButton* _tmp64_ = NULL;
- GtkSeparatorToolItem* _tmp65_ = NULL;
- GtkToolbar* _tmp66_ = NULL;
- GtkSeparatorToolItem* _tmp67_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp68_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp69_ = NULL;
- const gchar* _tmp70_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp71_ = NULL;
- const gchar* _tmp72_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp73_ = NULL;
- GtkToolbar* _tmp74_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp75_ = NULL;
+ GtkBuilder* _tmp48_;
+ GObject* _tmp49_;
+ GMenuModel* _tmp50_;
+ SearchFilterToolbarRatingFilterButton* _tmp51_;
+ SearchFilterToolbarRatingFilterButton* _tmp52_;
+ SearchFilterToolbarRatingFilterButton* _tmp53_;
+ GtkToolbar* _tmp54_;
+ SearchFilterToolbarRatingFilterButton* _tmp55_;
+ GtkSeparatorToolItem* _tmp56_;
+ GtkToolbar* _tmp57_;
+ GtkSeparatorToolItem* _tmp58_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp59_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp60_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp61_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp62_;
+ GtkToolbar* _tmp63_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp64_;
GtkSeparatorToolItem* separator_align = NULL;
- GtkSeparatorToolItem* _tmp76_ = NULL;
- GtkToolbar* _tmp77_ = NULL;
- GtkToolbar* _tmp78_ = NULL;
- SearchFilterToolbarSearchBox* _tmp79_ = NULL;
- GtkToolbar* _tmp80_ = NULL;
- SearchFilterActions* _tmp81_ = NULL;
- SearchFilterActions* _tmp82_ = NULL;
- SearchFilterActions* _tmp83_ = NULL;
- SearchFilterActions* _tmp84_ = NULL;
- SearchFilterActions* _tmp85_ = NULL;
- SearchFilterActions* _tmp86_ = NULL;
- SearchFilterActions* _tmp87_ = NULL;
- GtkToolbar* _tmp88_ = NULL;
- SearchFilterActions* _tmp89_ = NULL;
- gboolean _tmp90_ = FALSE;
- SearchFilterActions* _tmp91_ = NULL;
- gboolean _tmp92_ = FALSE;
- SearchFilterActions* _tmp93_ = NULL;
- gboolean _tmp94_ = FALSE;
- SearchFilterActions* _tmp95_ = NULL;
- gboolean _tmp96_ = FALSE;
+ GtkSeparatorToolItem* _tmp65_;
+ GtkToolbar* _tmp66_;
+ GtkToolbar* _tmp67_;
+ SearchFilterToolbarSearchBox* _tmp68_;
+ GtkToolbar* _tmp69_;
+ SearchFilterActions* _tmp70_;
+ SearchFilterActions* _tmp71_;
+ SearchFilterActions* _tmp72_;
+ SearchFilterActions* _tmp73_;
+ SearchFilterActions* _tmp74_;
+ SearchFilterActions* _tmp75_;
+ SearchFilterActions* _tmp76_;
+ GtkToolbar* _tmp77_;
+ SearchFilterActions* _tmp78_;
+ gboolean _tmp79_;
+ SearchFilterActions* _tmp80_;
+ gboolean _tmp81_;
+ SearchFilterActions* _tmp82_;
+ gboolean _tmp83_;
+ SearchFilterActions* _tmp84_;
+ gboolean _tmp85_;
GError * _inner_error_ = NULL;
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (actions), NULL);
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbar*) g_object_new (object_type, NULL);
-#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = actions;
-#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _search_filter_actions_ref0 (_tmp0_);
-#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_search_filter_actions_unref0 (self->priv->actions);
-#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->actions = _tmp1_;
-#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = (GtkToolbar*) gtk_toolbar_new ();
-#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp2_);
-#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbar);
-#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->toolbar = _tmp2_;
-#line 1055 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1051 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = actions;
-#line 1055 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1051 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp3_, "media-context-changed", (GCallback) _search_filter_toolbar_on_media_context_changed_search_filter_actions_media_context_changed, self, 0);
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = actions;
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = search_filter_actions_get_text (_tmp4_);
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _tmp5_;
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = search_filter_toolbar_search_box_new (_tmp6_);
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp7_);
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->search_box);
-#line 1056 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_box = _tmp7_;
-#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->toolbar;
-#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1054 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_buildable_set_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_BUILDABLE, GtkBuildable), "search-filter-toolbar");
-#line 1059 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1055 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->toolbar;
-#line 1059 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1055 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toolbar_set_icon_size (_tmp9_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 5141 "SearchFilter.c"
+#line 5130 "SearchFilter.c"
{
- GtkBuilder* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkBuilder* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->builder;
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = resources_get_ui ("search_bar.ui");
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = _tmp11_;
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_builder_add_from_resource (_tmp10_, _tmp12_, &_inner_error_);
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp12_);
-#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5158 "SearchFilter.c"
- goto __catch592_g_error;
+#line 5147 "SearchFilter.c"
+ goto __catch594_g_error;
}
}
- goto __finally592;
- __catch592_g_error:
+ goto __finally594;
+ __catch594_g_error:
{
GError* err = NULL;
- const gchar* _tmp13_ = NULL;
- GError* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GError* _tmp13_;
+ const gchar* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
err = _inner_error_;
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_inner_error_ = NULL;
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp13_ = _ ("Error loading search bar UI: %s");
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp14_ = err;
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp15_ = _tmp14_->message;
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp16_ = g_strdup_printf (_tmp13_, _tmp15_);
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp17_ = _tmp16_;
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- app_window_panic (_tmp17_);
-#line 1064 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_free0 (_tmp17_);
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp13_ = err;
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp14_ = _tmp13_->message;
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp15_ = g_strdup_printf (_ ("Error loading search bar UI: %s"), _tmp14_);
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp16_ = _tmp15_;
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ app_window_panic (_tmp16_);
+#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_free0 (_tmp16_);
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_error_free0 (err);
-#line 5191 "SearchFilter.c"
+#line 5177 "SearchFilter.c"
}
- __finally592:
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ __finally594:
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.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 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_clear_error (&_inner_error_);
-#line 1061 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 5202 "SearchFilter.c"
+#line 5188 "SearchFilter.c"
}
-#line 1073 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1069 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp17_ = self->priv->close_item;
+#line 1069 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_menu_item_set_label (_tmp17_, _ ("Close"));
+#line 1070 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = self->priv->close_item;
-#line 1073 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp19_ = _ ("Close");
-#line 1073 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_menu_item_set_label (_tmp18_, _tmp19_);
-#line 1074 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp20_ = self->priv->close_item;
-#line 1074 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
-#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1070 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget));
+#line 1071 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp19_ = self->priv->close_item;
+#line 1071 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp19_, "activate", (GCallback) _search_filter_toolbar_on_context_menu_close_chosen_gtk_menu_item_activate, self, 0);
+#line 1072 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp20_ = self->priv->close_menu;
+#line 1072 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp21_ = self->priv->close_item;
+#line 1072 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_menu_shell_append (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_menu_shell_get_type (), GtkMenuShell), (GtkWidget*) _tmp21_);
+#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp22_ = search_filter_toolbar_label_tool_item_new (_ ("Type"), 10, 5);
+#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp22_);
+#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->label_type);
#line 1075 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp21_, "activate", (GCallback) _search_filter_toolbar_on_context_menu_close_chosen_gtk_menu_item_activate, self, 0);
+ self->priv->label_type = _tmp22_;
#line 1076 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp22_ = self->priv->close_menu;
+ _tmp23_ = self->priv->toolbar;
#line 1076 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp23_ = self->priv->close_item;
+ _tmp24_ = self->priv->label_type;
#line 1076 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_menu_shell_append (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_menu_shell_get_type (), GtkMenuShell), (GtkWidget*) _tmp23_);
-#line 1079 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp24_ = _ ("Type");
-#line 1079 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp25_ = search_filter_toolbar_label_tool_item_new (_tmp24_, 10, 5);
-#line 1079 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_toolbar_insert (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1078 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp25_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.photos");
+#line 1078 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp25_);
+#line 1078 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->toolbtn_photos);
+#line 1078 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->toolbtn_photos = _tmp25_;
#line 1079 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->label_type);
+ _tmp26_ = self->priv->toolbtn_photos;
#line 1079 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->label_type = _tmp25_;
-#line 1080 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp26_ = self->priv->toolbar;
-#line 1080 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp27_ = self->priv->label_type;
-#line 1080 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp26_, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1082 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp28_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.photos");
-#line 1082 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp28_);
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_tool_item_get_type (), GtkToolItem), _ ("Photos"));
+#line 1081 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp27_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.videos");
+#line 1081 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp27_);
+#line 1081 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->toolbtn_videos);
+#line 1081 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->toolbtn_videos = _tmp27_;
#line 1082 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->toolbtn_photos);
+ _tmp28_ = self->priv->toolbtn_videos;
#line 1082 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->toolbtn_photos = _tmp28_;
-#line 1083 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp29_ = self->priv->toolbtn_photos;
-#line 1083 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp30_ = _ ("Photos");
-#line 1083 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_tool_item_get_type (), GtkToolItem), _tmp30_);
-#line 1085 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp31_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.videos");
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_tool_item_get_type (), GtkToolItem), _ ("Videos"));
+#line 1084 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp29_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.raw");
+#line 1084 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp29_);
+#line 1084 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->toolbtn_raw);
+#line 1084 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->toolbtn_raw = _tmp29_;
#line 1085 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp31_);
+ _tmp30_ = self->priv->toolbtn_raw;
#line 1085 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->toolbtn_videos);
-#line 1085 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->toolbtn_videos = _tmp31_;
-#line 1086 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp32_ = self->priv->toolbtn_videos;
-#line 1086 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp33_ = _ ("Videos");
-#line 1086 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_tool_item_get_type (), GtkToolItem), _tmp33_);
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_tool_item_get_type (), GtkToolItem), _ ("RAW Photos"));
+#line 1087 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp31_ = self->priv->toolbar;
+#line 1087 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp32_ = self->priv->toolbtn_photos;
+#line 1087 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_toolbar_insert (_tmp31_, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1088 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp34_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.raw");
+ _tmp33_ = self->priv->toolbar;
#line 1088 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp34_);
+ _tmp34_ = self->priv->toolbtn_videos;
#line 1088 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->toolbtn_raw);
-#line 1088 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->toolbtn_raw = _tmp34_;
+ gtk_toolbar_insert (_tmp33_, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1089 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp35_ = self->priv->toolbtn_raw;
+ _tmp35_ = self->priv->toolbar;
#line 1089 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp36_ = _ ("RAW Photos");
+ _tmp36_ = self->priv->toolbtn_raw;
#line 1089 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_tool_item_get_type (), GtkToolItem), _tmp36_);
-#line 1091 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp37_ = self->priv->toolbar;
-#line 1091 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp38_ = self->priv->toolbtn_photos;
-#line 1091 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_tool_item_get_type (), GtkToolItem), -1);
+ gtk_toolbar_insert (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1092 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp37_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
#line 1092 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp39_ = self->priv->toolbar;
+ g_object_ref_sink (_tmp37_);
#line 1092 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp40_ = self->priv->toolbtn_videos;
+ _g_object_unref0 (self->priv->sepr_mediatype_flagged);
#line 1092 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_tool_item_get_type (), GtkToolItem), -1);
+ self->priv->sepr_mediatype_flagged = _tmp37_;
#line 1093 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp41_ = self->priv->toolbar;
+ _tmp38_ = self->priv->toolbar;
#line 1093 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp42_ = self->priv->toolbtn_raw;
+ _tmp39_ = self->priv->sepr_mediatype_flagged;
#line 1093 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1096 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp43_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
-#line 1096 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp43_);
-#line 1096 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->sepr_mediatype_flagged);
-#line 1096 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->sepr_mediatype_flagged = _tmp43_;
+ gtk_toolbar_insert (_tmp38_, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1097 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp44_ = self->priv->toolbar;
+ _tmp40_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.flagged");
#line 1097 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp45_ = self->priv->sepr_mediatype_flagged;
+ g_object_ref_sink (_tmp40_);
#line 1097 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp46_ = search_filter_toolbar_toggle_action_tool_button_new ("win.display.flagged");
+ _g_object_unref0 (self->priv->toolbtn_flag);
+#line 1097 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->toolbtn_flag = _tmp40_;
+#line 1098 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp41_ = self->priv->toolbtn_flag;
+#line 1098 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_toggle_action_tool_button_set_label (_tmp41_, _ ("Flagged"));
+#line 1099 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp42_ = self->priv->toolbtn_flag;
+#line 1099 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_tool_item_get_type (), GtkToolItem), _ ("Flagged"));
#line 1101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp46_);
+ _tmp43_ = self->priv->toolbar;
#line 1101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->toolbtn_flag);
+ _tmp44_ = self->priv->toolbtn_flag;
#line 1101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->toolbtn_flag = _tmp46_;
-#line 1102 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp47_ = self->priv->toolbtn_flag;
-#line 1102 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp48_ = _ ("Flagged");
-#line 1102 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_label (_tmp47_, _tmp48_);
-#line 1103 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp49_ = self->priv->toolbtn_flag;
-#line 1103 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp50_ = _ ("Flagged");
-#line 1103 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_tool_item_get_type (), GtkToolItem), _tmp50_);
+ gtk_toolbar_insert (_tmp43_, G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1104 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp45_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
+#line 1104 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp45_);
+#line 1104 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->sepr_flagged_rating);
+#line 1104 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->sepr_flagged_rating = _tmp45_;
#line 1105 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp51_ = self->priv->toolbar;
+ _tmp46_ = self->priv->toolbar;
#line 1105 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp52_ = self->priv->toolbtn_flag;
+ _tmp47_ = self->priv->sepr_flagged_rating;
#line 1105 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp51_, G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_tool_item_get_type (), GtkToolItem), -1);
+ gtk_toolbar_insert (_tmp46_, G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp53_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
+ _tmp48_ = self->builder;
#line 1108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp53_);
+ _tmp49_ = gtk_builder_get_object (_tmp48_, "popup-menu");
#line 1108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->sepr_flagged_rating);
+ _tmp50_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp49_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp49_) : NULL);
#line 1108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->sepr_flagged_rating = _tmp53_;
+ model = _tmp50_;
#line 1109 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp54_ = self->priv->toolbar;
+ _tmp51_ = search_filter_toolbar_rating_filter_button_new (model);
#line 1109 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp55_ = self->priv->sepr_flagged_rating;
+ g_object_ref_sink (_tmp51_);
#line 1109 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp54_, G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1112 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp56_ = self->builder;
+ _g_object_unref0 (self->priv->rating_button);
+#line 1109 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->rating_button = _tmp51_;
+#line 1110 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp52_ = self->priv->rating_button;
+#line 1110 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_rating_filter_button_set_label (_tmp52_, _ ("Rating"));
+#line 1111 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp53_ = self->priv->rating_button;
+#line 1111 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_tool_item_set_expand (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_tool_item_get_type (), GtkToolItem), FALSE);
#line 1112 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp57_ = gtk_builder_get_object (_tmp56_, "popup-menu");
+ _tmp54_ = self->priv->toolbar;
#line 1112 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp57_) : NULL);
+ _tmp55_ = self->priv->rating_button;
#line 1112 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- model = _tmp58_;
-#line 1113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp59_ = search_filter_toolbar_rating_filter_button_new (model);
-#line 1113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp59_);
-#line 1113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->rating_button);
-#line 1113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->rating_button = _tmp59_;
-#line 1114 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp60_ = self->priv->rating_button;
-#line 1114 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp61_ = _ ("Rating");
-#line 1114 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_rating_filter_button_set_label (_tmp60_, _tmp61_);
+ gtk_toolbar_insert (_tmp54_, G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1115 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp56_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
#line 1115 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp62_ = self->priv->rating_button;
+ g_object_ref_sink (_tmp56_);
#line 1115 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_expand (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_tool_item_get_type (), GtkToolItem), FALSE);
+ _g_object_unref0 (self->priv->sepr_rating_saved);
+#line 1115 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->sepr_rating_saved = _tmp56_;
#line 1116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp63_ = self->priv->toolbar;
+ _tmp57_ = self->priv->toolbar;
#line 1116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp64_ = self->priv->rating_button;
+ _tmp58_ = self->priv->sepr_rating_saved;
#line 1116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1119 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp65_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
+ gtk_toolbar_insert (_tmp57_, G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1119 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp65_);
+ _tmp59_ = self->priv->saved_search_button;
#line 1119 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->sepr_rating_saved);
-#line 1119 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->sepr_rating_saved = _tmp65_;
+ gtk_tool_item_set_expand (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_tool_item_get_type (), GtkToolItem), FALSE);
#line 1120 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp66_ = self->priv->toolbar;
+ _tmp60_ = self->priv->saved_search_button;
#line 1120 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp67_ = self->priv->sepr_rating_saved;
-#line 1120 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp66_, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_tool_item_get_type (), GtkToolItem), -1);
+ search_filter_toolbar_saved_search_filter_button_set_label (_tmp60_, _ ("Saved Search"));
+#line 1121 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp61_ = self->priv->saved_search_button;
+#line 1121 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_tool_item_get_type (), GtkToolItem), _ ("Use a saved search to filter items in the current view"));
+#line 1122 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp62_ = self->priv->saved_search_button;
+#line 1122 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp62_, "clicked", (GCallback) _search_filter_toolbar_on_saved_search_button_clicked_search_filter_toolbar_saved_search_filter_button_clicked, self, 0);
#line 1123 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp68_ = self->priv->saved_search_button;
+ _tmp63_ = self->priv->toolbar;
#line 1123 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_expand (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_tool_item_get_type (), GtkToolItem), FALSE);
-#line 1124 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp69_ = self->priv->saved_search_button;
-#line 1124 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp70_ = _ ("Saved Search");
-#line 1124 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_saved_search_filter_button_set_label (_tmp69_, _tmp70_);
-#line 1125 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp71_ = self->priv->saved_search_button;
-#line 1125 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp72_ = _ ("Use a saved search to filter items in the current view");
-#line 1125 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_tool_item_get_type (), GtkToolItem), _tmp72_);
+ _tmp64_ = self->priv->saved_search_button;
+#line 1123 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_toolbar_insert (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_tool_item_get_type (), GtkToolItem), -1);
#line 1126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp73_ = self->priv->saved_search_button;
+ _tmp65_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
#line 1126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp73_, "clicked", (GCallback) _search_filter_toolbar_on_saved_search_button_clicked_search_filter_toolbar_saved_search_filter_button_clicked, self, 0);
-#line 1127 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp74_ = self->priv->toolbar;
-#line 1127 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp75_ = self->priv->saved_search_button;
+ g_object_ref_sink (_tmp65_);
+#line 1126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ separator_align = _tmp65_;
#line 1127 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp74_, G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1130 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp76_ = (GtkSeparatorToolItem*) gtk_separator_tool_item_new ();
-#line 1130 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp76_);
-#line 1130 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- separator_align = _tmp76_;
-#line 1131 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_tool_item_set_expand (G_TYPE_CHECK_INSTANCE_CAST (separator_align, gtk_tool_item_get_type (), GtkToolItem), TRUE);
-#line 1132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1128 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_separator_tool_item_set_draw (separator_align, FALSE);
-#line 1133 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp77_ = self->priv->toolbar;
-#line 1133 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp77_, G_TYPE_CHECK_INSTANCE_CAST (separator_align, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 1136 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp78_ = self->priv->toolbar;
-#line 1136 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp79_ = self->priv->search_box;
-#line 1136 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_toolbar_insert (_tmp78_, G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1129 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp66_ = self->priv->toolbar;
+#line 1129 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_toolbar_insert (_tmp66_, G_TYPE_CHECK_INSTANCE_CAST (separator_align, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp67_ = self->priv->toolbar;
+#line 1132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp68_ = self->priv->search_box;
+#line 1132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_toolbar_insert (_tmp67_, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_tool_item_get_type (), GtkToolItem), -1);
+#line 1134 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp69_ = self->priv->toolbar;
+#line 1134 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_widget_get_type (), GtkWidget));
+#line 1137 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp70_ = actions;
+#line 1137 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp70_, "flagged-toggled", (GCallback) _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled, self, 0);
#line 1138 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp80_ = self->priv->toolbar;
+ _tmp71_ = actions;
#line 1138 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget));
+ g_signal_connect_object (_tmp71_, "photos-toggled", (GCallback) _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled, self, 0);
+#line 1139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp72_ = actions;
+#line 1139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp72_, "videos-toggled", (GCallback) _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled, self, 0);
+#line 1140 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp73_ = actions;
+#line 1140 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp73_, "raw-toggled", (GCallback) _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled, self, 0);
#line 1141 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp81_ = actions;
+ _tmp74_ = actions;
#line 1141 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp81_, "flagged-toggled", (GCallback) _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled, self, 0);
+ g_signal_connect_object (_tmp74_, "rating-changed", (GCallback) _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed, self, 0);
#line 1142 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp82_ = actions;
+ _tmp75_ = actions;
#line 1142 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp82_, "photos-toggled", (GCallback) _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled, self, 0);
+ g_signal_connect_object (_tmp75_, "text-changed", (GCallback) _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed, self, 0);
#line 1143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp83_ = actions;
+ _tmp76_ = actions;
#line 1143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp83_, "videos-toggled", (GCallback) _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled, self, 0);
-#line 1144 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp84_ = actions;
-#line 1144 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp84_, "raw-toggled", (GCallback) _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled, self, 0);
-#line 1145 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp85_ = actions;
-#line 1145 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp85_, "rating-changed", (GCallback) _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed, self, 0);
+ g_signal_connect_object (_tmp76_, "criteria-changed", (GCallback) _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed, self, 0);
#line 1146 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp86_ = actions;
+ _tmp77_ = self->priv->toolbar;
#line 1146 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp86_, "text-changed", (GCallback) _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed, self, 0);
-#line 1147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp87_ = actions;
-#line 1147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp87_, "criteria-changed", (GCallback) _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed, self, 0);
-#line 1150 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp88_ = self->priv->toolbar;
-#line 1150 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_connect_object (_tmp88_, "popup-context-menu", (GCallback) _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_popup_context_menu, self, 0);
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp89_ = actions;
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp90_ = search_filter_actions_get_has_photos (_tmp89_);
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp91_ = actions;
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp92_ = search_filter_actions_get_has_videos (_tmp91_);
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp93_ = actions;
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp94_ = search_filter_actions_get_has_raw (_tmp93_);
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp95_ = actions;
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp96_ = search_filter_actions_get_has_flagged (_tmp95_);
-#line 1152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_on_media_context_changed (self, _tmp90_, _tmp92_, _tmp94_, _tmp96_);
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_connect_object (_tmp77_, "popup-context-menu", (GCallback) _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_popup_context_menu, self, 0);
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp78_ = actions;
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp79_ = search_filter_actions_get_has_photos (_tmp78_);
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp80_ = actions;
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp81_ = search_filter_actions_get_has_videos (_tmp80_);
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp82_ = actions;
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp83_ = search_filter_actions_get_has_raw (_tmp82_);
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp84_ = actions;
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp85_ = search_filter_actions_get_has_flagged (_tmp84_);
+#line 1148 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_on_media_context_changed (self, _tmp79_, _tmp81_, _tmp83_, _tmp85_);
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (separator_align);
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (model);
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 5506 "SearchFilter.c"
+#line 5472 "SearchFilter.c"
}
SearchFilterToolbar* search_filter_toolbar_new (SearchFilterActions* actions) {
-#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_construct (TYPE_SEARCH_FILTER_TOOLBAR, actions);
-#line 5513 "SearchFilter.c"
+#line 5479 "SearchFilter.c"
}
static void search_filter_toolbar_on_media_context_changed (SearchFilterToolbar* self, gboolean has_photos, gboolean has_videos, gboolean has_raw, gboolean has_flagged) {
gboolean _tmp0_ = FALSE;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp9_ = FALSE;
-#line 1171 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp1_;
+ gboolean _tmp5_;
+ gboolean _tmp8_;
+ gboolean _tmp11_;
+#line 1167 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp0_ = has_photos;
-#line 1173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp1_ = has_photos;
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp1_) {
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp0_ = TRUE;
+#line 5497 "SearchFilter.c"
+ } else {
+ gboolean _tmp2_;
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp2_ = has_raw;
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp0_ = _tmp2_;
+#line 5504 "SearchFilter.c"
+ }
+#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 5528 "SearchFilter.c"
- SearchFilterToolbarToggleActionToolButton* _tmp1_ = NULL;
+#line 5508 "SearchFilter.c"
+ SearchFilterToolbarToggleActionToolButton* _tmp3_;
+#line 1172 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp3_ = self->priv->toolbtn_photos;
+#line 1172 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp3_, RESOURCES_ICON_FILTER_PHOTOS);
+#line 5514 "SearchFilter.c"
+ } else {
+ SearchFilterToolbarToggleActionToolButton* _tmp4_;
#line 1174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp1_ = self->priv->toolbtn_photos;
+ _tmp4_ = self->priv->toolbtn_photos;
#line 1174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp1_, RESOURCES_ICON_FILTER_PHOTOS);
-#line 5534 "SearchFilter.c"
- } else {
- SearchFilterToolbarToggleActionToolButton* _tmp2_ = NULL;
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp4_, RESOURCES_ICON_FILTER_PHOTOS_DISABLED);
+#line 5521 "SearchFilter.c"
+ }
#line 1176 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp2_ = self->priv->toolbtn_photos;
+ _tmp5_ = has_videos;
#line 1176 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp2_, RESOURCES_ICON_FILTER_PHOTOS_DISABLED);
-#line 5541 "SearchFilter.c"
- }
-#line 1178 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = has_videos;
-#line 1178 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp3_) {
-#line 5547 "SearchFilter.c"
- SearchFilterToolbarToggleActionToolButton* _tmp4_ = NULL;
+ if (_tmp5_) {
+#line 5527 "SearchFilter.c"
+ SearchFilterToolbarToggleActionToolButton* _tmp6_;
+#line 1177 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp6_ = self->priv->toolbtn_videos;
+#line 1177 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp6_, RESOURCES_ICON_FILTER_VIDEOS);
+#line 5533 "SearchFilter.c"
+ } else {
+ SearchFilterToolbarToggleActionToolButton* _tmp7_;
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp4_ = self->priv->toolbtn_videos;
+ _tmp7_ = self->priv->toolbtn_videos;
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp4_, RESOURCES_ICON_FILTER_VIDEOS);
-#line 5553 "SearchFilter.c"
- } else {
- SearchFilterToolbarToggleActionToolButton* _tmp5_ = NULL;
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp7_, RESOURCES_ICON_FILTER_VIDEOS_DISABLED);
+#line 5540 "SearchFilter.c"
+ }
#line 1181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp5_ = self->priv->toolbtn_videos;
+ _tmp8_ = has_raw;
#line 1181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp5_, RESOURCES_ICON_FILTER_VIDEOS_DISABLED);
-#line 5560 "SearchFilter.c"
- }
-#line 1183 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = has_raw;
-#line 1183 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp6_) {
-#line 5566 "SearchFilter.c"
- SearchFilterToolbarToggleActionToolButton* _tmp7_ = NULL;
+ if (_tmp8_) {
+#line 5546 "SearchFilter.c"
+ SearchFilterToolbarToggleActionToolButton* _tmp9_;
+#line 1182 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp9_ = self->priv->toolbtn_raw;
+#line 1182 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp9_, RESOURCES_ICON_FILTER_RAW);
+#line 5552 "SearchFilter.c"
+ } else {
+ SearchFilterToolbarToggleActionToolButton* _tmp10_;
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp7_ = self->priv->toolbtn_raw;
+ _tmp10_ = self->priv->toolbtn_raw;
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp7_, RESOURCES_ICON_FILTER_RAW);
-#line 5572 "SearchFilter.c"
- } else {
- SearchFilterToolbarToggleActionToolButton* _tmp8_ = NULL;
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp10_, RESOURCES_ICON_FILTER_RAW_DISABLED);
+#line 5559 "SearchFilter.c"
+ }
#line 1186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp8_ = self->priv->toolbtn_raw;
+ _tmp11_ = has_flagged;
#line 1186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp8_, RESOURCES_ICON_FILTER_RAW_DISABLED);
-#line 5579 "SearchFilter.c"
- }
-#line 1188 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp9_ = has_flagged;
-#line 1188 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp9_) {
-#line 5585 "SearchFilter.c"
- SearchFilterToolbarToggleActionToolButton* _tmp10_ = NULL;
+ if (_tmp11_) {
+#line 5565 "SearchFilter.c"
+ SearchFilterToolbarToggleActionToolButton* _tmp12_;
+#line 1187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp12_ = self->priv->toolbtn_flag;
+#line 1187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp12_, RESOURCES_ICON_FILTER_FLAGGED);
+#line 5571 "SearchFilter.c"
+ } else {
+ SearchFilterToolbarToggleActionToolButton* _tmp13_;
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp10_ = self->priv->toolbtn_flag;
+ _tmp13_ = self->priv->toolbtn_flag;
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp10_, RESOURCES_ICON_FILTER_FLAGGED);
-#line 5591 "SearchFilter.c"
- } else {
- SearchFilterToolbarToggleActionToolButton* _tmp11_ = NULL;
-#line 1191 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp11_ = self->priv->toolbtn_flag;
-#line 1191 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp11_, RESOURCES_ICON_FILTER_FLAGGED_DISABLED);
-#line 5598 "SearchFilter.c"
+ search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp13_, RESOURCES_ICON_FILTER_FLAGGED_DISABLED);
+#line 5578 "SearchFilter.c"
}
}
static gboolean search_filter_toolbar_on_context_menu_requested (SearchFilterToolbar* self, gint x, gint y, gint button) {
gboolean result = FALSE;
- GtkMenu* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- guint32 _tmp2_ = 0U;
-#line 1195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenu* _tmp0_;
+ gint _tmp1_;
+ guint32 _tmp2_;
+#line 1193 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_TOOLBAR (self), FALSE);
-#line 1196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->close_menu;
-#line 1196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = button;
-#line 1196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = gtk_get_current_event_time ();
-#line 1196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_menu_popup (_tmp0_, NULL, NULL, NULL, NULL, (guint) _tmp1_, _tmp2_);
-#line 1197 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 1197 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 5622 "SearchFilter.c"
+#line 5602 "SearchFilter.c"
}
static GVariant* _variant_new39 (gboolean value) {
-#line 1214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5629 "SearchFilter.c"
+#line 5609 "SearchFilter.c"
}
static void search_filter_toolbar_on_context_menu_close_chosen (SearchFilterToolbar* self) {
AppWindow* aw = NULL;
- LibraryWindow* _tmp0_ = NULL;
+ LibraryWindow* _tmp0_;
GSimpleAction* action = NULL;
- AppWindow* _tmp1_ = NULL;
- GAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
-#line 1202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ AppWindow* _tmp1_;
+ GAction* _tmp2_;
+ GSimpleAction* _tmp3_;
+ GSimpleAction* _tmp4_;
+#line 1200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = library_window_get_app ();
-#line 1203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
aw = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_APP_WINDOW, AppWindow);
-#line 1208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = aw;
-#line 1208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_action_map_get_type (), GActionMap), "CommonDisplaySearchbar");
-#line 1208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp2_) : NULL);
-#line 1208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
action = _tmp3_;
-#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = action;
-#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_ != NULL) {
-#line 5659 "SearchFilter.c"
- GSimpleAction* _tmp5_ = NULL;
- GVariant* _tmp6_ = NULL;
-#line 1214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 5639 "SearchFilter.c"
+ GSimpleAction* _tmp5_;
+ GVariant* _tmp6_;
+#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = action;
-#line 1214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _variant_new39 (FALSE);
-#line 1214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
-#line 1214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 5670 "SearchFilter.c"
+#line 5650 "SearchFilter.c"
}
-#line 1202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
-#line 1202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5676 "SearchFilter.c"
+#line 5656 "SearchFilter.c"
}
static void search_filter_toolbar_on_flagged_toggled (SearchFilterToolbar* self) {
-#line 1218 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1216 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1217 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5685 "SearchFilter.c"
+#line 5665 "SearchFilter.c"
}
static void search_filter_toolbar_on_videos_toggled (SearchFilterToolbar* self) {
-#line 1222 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5694 "SearchFilter.c"
+#line 5674 "SearchFilter.c"
}
static void search_filter_toolbar_on_photos_toggled (SearchFilterToolbar* self) {
-#line 1226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5703 "SearchFilter.c"
+#line 5683 "SearchFilter.c"
}
static void search_filter_toolbar_on_raw_toggled (SearchFilterToolbar* self) {
-#line 1230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1229 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5712 "SearchFilter.c"
+#line 5692 "SearchFilter.c"
}
static void search_filter_toolbar_on_search_text_changed (SearchFilterToolbar* self) {
-#line 1234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1232 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1233 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5721 "SearchFilter.c"
+#line 5701 "SearchFilter.c"
}
static GVariant* _variant_new40 (gboolean value) {
-#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5728 "SearchFilter.c"
+#line 5708 "SearchFilter.c"
}
static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self) {
AppWindow* aw = NULL;
- LibraryWindow* _tmp0_ = NULL;
- AppWindow* _tmp1_ = NULL;
+ LibraryWindow* _tmp0_;
+ AppWindow* _tmp1_;
GSimpleAction* action = NULL;
- AppWindow* _tmp2_ = NULL;
- GAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GSimpleAction* _tmp5_ = NULL;
-#line 1238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ AppWindow* _tmp2_;
+ GAction* _tmp3_;
+ GSimpleAction* _tmp4_;
+ GSimpleAction* _tmp5_;
+#line 1236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = library_window_get_app ();
-#line 1239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
aw = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_APP_WINDOW, AppWindow);
-#line 1241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = aw;
-#line 1241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_ == NULL) {
-#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5755 "SearchFilter.c"
+#line 5735 "SearchFilter.c"
}
-#line 1244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = aw;
-#line 1244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_action_map_get_type (), GActionMap), "CommonDisplaySearchbar");
-#line 1244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp3_) : NULL);
-#line 1244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
action = _tmp4_;
-#line 1248 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1246 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = action;
-#line 1248 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1246 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_ != NULL) {
-#line 5769 "SearchFilter.c"
- GSimpleAction* _tmp6_ = NULL;
- GVariant* _tmp7_ = NULL;
-#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 5749 "SearchFilter.c"
+ GSimpleAction* _tmp6_;
+ GVariant* _tmp7_;
+#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = action;
-#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _variant_new40 (TRUE);
-#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp6_, "change-state", _tmp7_);
-#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp7_);
-#line 5780 "SearchFilter.c"
+#line 5760 "SearchFilter.c"
}
-#line 1252 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 1238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
-#line 1238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5788 "SearchFilter.c"
+#line 5768 "SearchFilter.c"
}
static void search_filter_toolbar_on_criteria_changed (SearchFilterToolbar* self) {
-#line 1258 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1257 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5797 "SearchFilter.c"
+#line 5777 "SearchFilter.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 1266 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? view_filter_ref (self) : NULL;
-#line 5804 "SearchFilter.c"
+#line 5784 "SearchFilter.c"
}
void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchViewFilter* search_filter) {
- SearchViewFilter* _tmp0_ = NULL;
- SearchViewFilter* _tmp1_ = NULL;
- SearchViewFilter* _tmp2_ = NULL;
- SearchViewFilter* _tmp3_ = NULL;
- SearchFilterActions* _tmp4_ = NULL;
- SearchViewFilter* _tmp5_ = NULL;
- guint _tmp6_ = 0U;
- SearchFilterToolbarRatingFilterButton* _tmp7_ = NULL;
- SearchViewFilter* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
-#line 1262 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchViewFilter* _tmp0_;
+ SearchViewFilter* _tmp1_;
+ SearchViewFilter* _tmp2_;
+ SearchViewFilter* _tmp3_;
+ SearchFilterActions* _tmp4_;
+ SearchViewFilter* _tmp5_;
+ guint _tmp6_;
+ SearchFilterToolbarRatingFilterButton* _tmp7_;
+ SearchViewFilter* _tmp8_;
+ guint _tmp9_;
+#line 1260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1262 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_VIEW_FILTER (search_filter));
-#line 1263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1261 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search_filter;
-#line 1263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1261 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->search_filter;
-#line 1263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1261 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ == _tmp1_) {
-#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1262 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5831 "SearchFilter.c"
+#line 5811 "SearchFilter.c"
}
-#line 1266 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search_filter;
-#line 1266 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _view_filter_ref0 (_tmp2_);
-#line 1266 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_view_filter_unref0 (self->priv->search_filter);
-#line 1266 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_filter = _tmp3_;
-#line 1269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->actions;
-#line 1269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = search_filter;
-#line 1269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = search_view_filter_get_criteria (_tmp5_);
-#line 1269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_set_sensitive_for_search_criteria (_tmp4_, (SearchFilterCriteria) _tmp6_);
-#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->rating_button;
-#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = search_filter;
-#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = search_view_filter_get_criteria (_tmp8_);
-#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1268 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), (SEARCH_FILTER_CRITERIA_RATING & _tmp9_) != 0);
-#line 1272 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5859 "SearchFilter.c"
+#line 5839 "SearchFilter.c"
}
void search_filter_toolbar_unset_view_filter (SearchFilterToolbar* self) {
- DisabledViewFilter* _tmp0_ = NULL;
- DisabledViewFilter* _tmp1_ = NULL;
-#line 1275 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ DisabledViewFilter* _tmp0_;
+ DisabledViewFilter* _tmp1_;
+#line 1273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1274 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = disabled_view_filter_new ();
-#line 1276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1274 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_;
-#line 1276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1274 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_set_view_filter (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 1276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1274 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_view_filter_unref0 (_tmp1_);
-#line 5876 "SearchFilter.c"
+#line 5856 "SearchFilter.c"
}
void search_filter_toolbar_update (SearchFilterToolbar* self) {
- SearchViewFilter* _tmp0_ = NULL;
- SearchViewFilter* _tmp3_ = NULL;
- SearchViewFilter* _tmp4_ = NULL;
- SearchFilterActions* _tmp5_ = NULL;
- TextAction* _tmp6_ = NULL;
- TextAction* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
- SearchViewFilter* _tmp10_ = NULL;
- SearchFilterActions* _tmp11_ = NULL;
- GSimpleAction* _tmp12_ = NULL;
- GSimpleAction* _tmp13_ = NULL;
- GVariant* _tmp14_ = NULL;
- GVariant* _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
- SearchViewFilter* _tmp17_ = NULL;
- SearchFilterActions* _tmp18_ = NULL;
- GSimpleAction* _tmp19_ = NULL;
- GSimpleAction* _tmp20_ = NULL;
- GVariant* _tmp21_ = NULL;
- GVariant* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
- SearchViewFilter* _tmp24_ = NULL;
- SearchFilterActions* _tmp25_ = NULL;
- GSimpleAction* _tmp26_ = NULL;
- GSimpleAction* _tmp27_ = NULL;
- GVariant* _tmp28_ = NULL;
- GVariant* _tmp29_ = NULL;
- gboolean _tmp30_ = FALSE;
- SearchViewFilter* _tmp31_ = NULL;
- SearchFilterActions* _tmp32_ = NULL;
- GSimpleAction* _tmp33_ = NULL;
- GSimpleAction* _tmp34_ = NULL;
- GVariant* _tmp35_ = NULL;
- GVariant* _tmp36_ = NULL;
- gboolean _tmp37_ = FALSE;
+ SearchViewFilter* _tmp0_;
+ SearchViewFilter* _tmp3_;
+ SearchViewFilter* _tmp4_;
+ SearchFilterActions* _tmp5_;
+ TextAction* _tmp6_;
+ TextAction* _tmp7_;
+ const gchar* _tmp8_;
+ const gchar* _tmp9_;
+ SearchViewFilter* _tmp10_;
+ SearchFilterActions* _tmp11_;
+ GSimpleAction* _tmp12_;
+ GSimpleAction* _tmp13_;
+ GVariant* _tmp14_;
+ GVariant* _tmp15_;
+ gboolean _tmp16_;
+ SearchViewFilter* _tmp17_;
+ SearchFilterActions* _tmp18_;
+ GSimpleAction* _tmp19_;
+ GSimpleAction* _tmp20_;
+ GVariant* _tmp21_;
+ GVariant* _tmp22_;
+ gboolean _tmp23_;
+ SearchViewFilter* _tmp24_;
+ SearchFilterActions* _tmp25_;
+ GSimpleAction* _tmp26_;
+ GSimpleAction* _tmp27_;
+ GVariant* _tmp28_;
+ GVariant* _tmp29_;
+ gboolean _tmp30_;
+ SearchViewFilter* _tmp31_;
+ SearchFilterActions* _tmp32_;
+ GSimpleAction* _tmp33_;
+ GSimpleAction* _tmp34_;
+ GVariant* _tmp35_;
+ GVariant* _tmp36_;
+ gboolean _tmp37_;
RatingFilter filter = 0;
- SearchFilterActions* _tmp38_ = NULL;
- GSimpleAction* _tmp39_ = NULL;
- GSimpleAction* _tmp40_ = NULL;
- GVariant* _tmp41_ = NULL;
- GVariant* _tmp42_ = NULL;
- const gchar* _tmp43_ = NULL;
- gint _tmp44_ = 0;
- RatingFilter _tmp45_ = 0;
- SearchViewFilter* _tmp46_ = NULL;
- RatingFilter _tmp47_ = 0;
- SearchFilterToolbarRatingFilterButton* _tmp48_ = NULL;
- RatingFilter _tmp49_ = 0;
- SearchViewFilter* _tmp50_ = NULL;
- SavedSearch* _tmp51_ = NULL;
+ SearchFilterActions* _tmp38_;
+ GSimpleAction* _tmp39_;
+ GSimpleAction* _tmp40_;
+ GVariant* _tmp41_;
+ GVariant* _tmp42_;
+ const gchar* _tmp43_;
+ gint _tmp44_;
+ RatingFilter _tmp45_;
+ SearchViewFilter* _tmp46_;
+ RatingFilter _tmp47_;
+ SearchFilterToolbarRatingFilterButton* _tmp48_;
+ RatingFilter _tmp49_;
+ SearchViewFilter* _tmp50_;
+ SavedSearch* _tmp51_;
SearchFilterCriteria criteria = 0;
- SearchFilterActions* _tmp52_ = NULL;
- SearchFilterCriteria _tmp53_ = 0;
- SearchFilterToolbarSearchBox* _tmp54_ = NULL;
- SearchFilterCriteria _tmp55_ = 0;
- SearchFilterToolbarRatingFilterButton* _tmp56_ = NULL;
- SearchFilterCriteria _tmp57_ = 0;
- SearchFilterToolbarToggleActionToolButton* _tmp58_ = NULL;
- SearchFilterCriteria _tmp59_ = 0;
- SearchFilterToolbarLabelToolItem* _tmp60_ = NULL;
- SearchFilterCriteria _tmp61_ = 0;
- SearchFilterToolbarToggleActionToolButton* _tmp62_ = NULL;
- SearchFilterCriteria _tmp63_ = 0;
- SearchFilterToolbarToggleActionToolButton* _tmp64_ = NULL;
- SearchFilterCriteria _tmp65_ = 0;
- SearchFilterToolbarToggleActionToolButton* _tmp66_ = NULL;
- SearchFilterCriteria _tmp67_ = 0;
- SearchFilterToolbarSavedSearchFilterButton* _tmp68_ = NULL;
- SearchFilterCriteria _tmp69_ = 0;
+ SearchFilterActions* _tmp52_;
+ SearchFilterCriteria _tmp53_;
+ SearchFilterToolbarSearchBox* _tmp54_;
+ SearchFilterCriteria _tmp55_;
+ SearchFilterToolbarRatingFilterButton* _tmp56_;
+ SearchFilterCriteria _tmp57_;
+ SearchFilterToolbarToggleActionToolButton* _tmp58_;
+ SearchFilterCriteria _tmp59_;
+ SearchFilterToolbarLabelToolItem* _tmp60_;
+ SearchFilterCriteria _tmp61_;
+ SearchFilterToolbarToggleActionToolButton* _tmp62_;
+ SearchFilterCriteria _tmp63_;
+ SearchFilterToolbarToggleActionToolButton* _tmp64_;
+ SearchFilterCriteria _tmp65_;
+ SearchFilterToolbarToggleActionToolButton* _tmp66_;
+ SearchFilterCriteria _tmp67_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp68_;
+ SearchFilterCriteria _tmp69_;
gboolean _tmp70_ = FALSE;
- SearchFilterToolbarLabelToolItem* _tmp71_ = NULL;
- gboolean _tmp72_ = FALSE;
- gboolean _tmp73_ = FALSE;
- GtkSeparatorToolItem* _tmp77_ = NULL;
+ SearchFilterToolbarLabelToolItem* _tmp71_;
+ gboolean _tmp72_;
+ gboolean _tmp73_;
+ GtkSeparatorToolItem* _tmp77_;
gboolean _tmp78_ = FALSE;
gboolean _tmp79_ = FALSE;
- SearchFilterToolbarLabelToolItem* _tmp80_ = NULL;
- gboolean _tmp81_ = FALSE;
- gboolean _tmp82_ = FALSE;
- GtkSeparatorToolItem* _tmp93_ = NULL;
- SearchViewFilter* _tmp94_ = NULL;
-#line 1280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarLabelToolItem* _tmp80_;
+ gboolean _tmp81_;
+ gboolean _tmp82_;
+ GtkSeparatorToolItem* _tmp93_;
+ SearchViewFilter* _tmp94_;
+#line 1278 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1279 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->search_filter;
-#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1279 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (NULL == _tmp0_) {
-#line 5969 "SearchFilter.c"
- LibraryWindow* _tmp1_ = NULL;
- LibraryWindow* _tmp2_ = NULL;
-#line 1283 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 5949 "SearchFilter.c"
+ LibraryWindow* _tmp1_;
+ LibraryWindow* _tmp2_;
+#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = library_window_get_app ();
-#line 1283 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp1_;
-#line 1283 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
library_window_show_search_bar (_tmp2_, TRUE);
-#line 1283 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp2_);
-#line 5980 "SearchFilter.c"
+#line 5960 "SearchFilter.c"
}
-#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_filter;
-#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_vala_assert (NULL != _tmp3_, "null != search_filter");
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->search_filter;
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->actions;
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = search_filter_actions_get_text (_tmp5_);
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_;
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = text_action_get_value (_tmp7_);
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp8_;
-#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1286 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_search_filter (_tmp4_, _tmp9_);
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->search_filter;
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = self->priv->actions;
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = search_filter_actions_get_flagged (_tmp11_);
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = _tmp12_;
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, g_action_get_type (), GAction));
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = _tmp14_;
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = g_variant_get_boolean (_tmp15_);
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_flagged (_tmp10_, _tmp16_);
-#line 1289 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp15_);
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = self->priv->search_filter;
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = self->priv->actions;
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = search_filter_actions_get_videos (_tmp18_);
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp20_ = _tmp19_;
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp21_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, g_action_get_type (), GAction));
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = _tmp21_;
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp23_ = g_variant_get_boolean (_tmp22_);
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_show_media_video (_tmp17_, _tmp23_);
-#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1288 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp22_);
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp24_ = self->priv->search_filter;
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp25_ = self->priv->actions;
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp26_ = search_filter_actions_get_photos (_tmp25_);
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp27_ = _tmp26_;
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp28_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, g_action_get_type (), GAction));
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp29_ = _tmp28_;
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp30_ = g_variant_get_boolean (_tmp29_);
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_show_media_photos (_tmp24_, _tmp30_);
-#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp29_);
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp31_ = self->priv->search_filter;
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp32_ = self->priv->actions;
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = search_filter_actions_get_raw (_tmp32_);
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp34_ = _tmp33_;
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp35_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, g_action_get_type (), GAction));
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp36_ = _tmp35_;
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp37_ = g_variant_get_boolean (_tmp36_);
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_show_media_raw (_tmp31_, _tmp37_);
-#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1292 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp36_);
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp38_ = self->priv->actions;
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp39_ = search_filter_actions_get_rating (_tmp38_);
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp40_ = _tmp39_;
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp41_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, g_action_get_type (), GAction));
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp42_ = _tmp41_;
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp43_ = g_variant_get_string (_tmp42_, NULL);
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = atoi (_tmp43_);
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp45_ = (RatingFilter) _tmp44_;
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp42_);
-#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filter = _tmp45_;
-#line 1297 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp46_ = self->priv->search_filter;
-#line 1297 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp47_ = filter;
-#line 1297 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_rating_filter (_tmp46_, _tmp47_);
-#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp48_ = self->priv->rating_button;
-#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp49_ = filter;
-#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1296 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_rating_filter_button_set_filter_icon (_tmp48_, _tmp49_);
-#line 1300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp50_ = self->priv->search_filter;
-#line 1300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp51_ = self->priv->saved_search;
-#line 1300 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1298 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_view_filter_set_saved_search (_tmp50_, _tmp51_);
-#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1302 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp52_ = self->priv->actions;
-#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1302 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp53_ = search_filter_actions_get_criteria (_tmp52_);
-#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1302 "/home/jens/Source/shotwell/src/SearchFilter.vala"
criteria = _tmp53_;
-#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp54_ = self->priv->search_box;
-#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp55_ = criteria;
-#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1304 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_widget_get_type (), GtkWidget), (_tmp55_ & SEARCH_FILTER_CRITERIA_TEXT) != 0);
-#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp56_ = self->priv->rating_button;
-#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp57_ = criteria;
-#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, gtk_widget_get_type (), GtkWidget), (_tmp57_ & SEARCH_FILTER_CRITERIA_RATING) != 0);
-#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp58_ = self->priv->toolbtn_flag;
-#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp59_ = criteria;
-#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1308 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget), (_tmp59_ & SEARCH_FILTER_CRITERIA_FLAG) != 0);
-#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp60_ = self->priv->label_type;
-#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp61_ = criteria;
-#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), (_tmp61_ & SEARCH_FILTER_CRITERIA_MEDIA) != 0);
-#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp62_ = self->priv->toolbtn_photos;
-#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp63_ = criteria;
-#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), (_tmp63_ & SEARCH_FILTER_CRITERIA_MEDIA) != 0);
-#line 1314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp64_ = self->priv->toolbtn_videos;
-#line 1314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp65_ = criteria;
-#line 1314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1312 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget), (_tmp65_ & SEARCH_FILTER_CRITERIA_MEDIA) != 0);
-#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp66_ = self->priv->toolbtn_raw;
-#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp67_ = criteria;
-#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1313 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_widget_get_type (), GtkWidget), (_tmp67_ & SEARCH_FILTER_CRITERIA_MEDIA) != 0);
-#line 1317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp68_ = self->priv->saved_search_button;
-#line 1317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp69_ = criteria;
-#line 1317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_widget_get_type (), GtkWidget), (_tmp69_ & SEARCH_FILTER_CRITERIA_SAVEDSEARCH) != 0);
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp71_ = self->priv->label_type;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp72_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget));
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp73_ = _tmp72_;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp73_) {
-#line 6172 "SearchFilter.c"
- SearchFilterToolbarToggleActionToolButton* _tmp74_ = NULL;
- gboolean _tmp75_ = FALSE;
- gboolean _tmp76_ = FALSE;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6152 "SearchFilter.c"
+ SearchFilterToolbarToggleActionToolButton* _tmp74_;
+ gboolean _tmp75_;
+ gboolean _tmp76_;
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp74_ = self->priv->toolbtn_flag;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp75_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp76_ = _tmp75_;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = _tmp76_;
-#line 6184 "SearchFilter.c"
+#line 6164 "SearchFilter.c"
} else {
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = FALSE;
-#line 6188 "SearchFilter.c"
+#line 6168 "SearchFilter.c"
}
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp77_ = self->priv->sepr_mediatype_flagged;
-#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_widget_get_type (), GtkWidget), _tmp70_);
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp80_ = self->priv->label_type;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp81_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget));
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp82_ = _tmp81_;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp82_) {
-#line 6202 "SearchFilter.c"
- SearchFilterToolbarRatingFilterButton* _tmp83_ = NULL;
- gboolean _tmp84_ = FALSE;
- gboolean _tmp85_ = FALSE;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6182 "SearchFilter.c"
+ SearchFilterToolbarRatingFilterButton* _tmp83_;
+ gboolean _tmp84_;
+ gboolean _tmp85_;
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp83_ = self->priv->rating_button;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp84_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, gtk_widget_get_type (), GtkWidget));
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp85_ = _tmp84_;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = _tmp85_;
-#line 6214 "SearchFilter.c"
+#line 6194 "SearchFilter.c"
} else {
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = FALSE;
-#line 6218 "SearchFilter.c"
+#line 6198 "SearchFilter.c"
}
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp79_) {
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = TRUE;
-#line 6224 "SearchFilter.c"
+#line 6204 "SearchFilter.c"
} else {
gboolean _tmp86_ = FALSE;
- SearchFilterToolbarToggleActionToolButton* _tmp87_ = NULL;
- gboolean _tmp88_ = FALSE;
- gboolean _tmp89_ = FALSE;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarToggleActionToolButton* _tmp87_;
+ gboolean _tmp88_;
+ gboolean _tmp89_;
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp87_ = self->priv->toolbtn_flag;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp88_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_widget_get_type (), GtkWidget));
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp89_ = _tmp88_;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp89_) {
-#line 6238 "SearchFilter.c"
- SearchFilterToolbarRatingFilterButton* _tmp90_ = NULL;
- gboolean _tmp91_ = FALSE;
- gboolean _tmp92_ = FALSE;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6218 "SearchFilter.c"
+ SearchFilterToolbarRatingFilterButton* _tmp90_;
+ gboolean _tmp91_;
+ gboolean _tmp92_;
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp90_ = self->priv->rating_button;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp91_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_widget_get_type (), GtkWidget));
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp92_ = _tmp91_;
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = _tmp92_;
-#line 6250 "SearchFilter.c"
+#line 6230 "SearchFilter.c"
} else {
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = FALSE;
-#line 6254 "SearchFilter.c"
+#line 6234 "SearchFilter.c"
}
-#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = _tmp86_;
-#line 6258 "SearchFilter.c"
+#line 6238 "SearchFilter.c"
}
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp93_ = self->priv->sepr_flagged_rating;
-#line 1323 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp93_, gtk_widget_get_type (), GtkWidget), _tmp78_);
-#line 1327 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp94_ = self->priv->search_filter;
-#line 1327 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp94_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6268 "SearchFilter.c"
+#line 6248 "SearchFilter.c"
}
static void search_filter_toolbar_on_savedsearch_selected (SearchFilterToolbar* self, SavedSearch* saved_search) {
- SavedSearch* _tmp0_ = NULL;
- SavedSearch* _tmp1_ = NULL;
-#line 1330 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp0_;
+ SavedSearch* _tmp1_;
+#line 1328 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1330 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1328 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SAVED_SEARCH (saved_search));
-#line 1331 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = saved_search;
-#line 1331 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1331 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
-#line 1331 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->saved_search = _tmp1_;
-#line 1332 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1330 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6289 "SearchFilter.c"
+#line 6269 "SearchFilter.c"
}
static void search_filter_toolbar_disable_savedsearch (SearchFilterToolbar* self) {
-#line 1335 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1334 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
-#line 1336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1334 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->saved_search = NULL;
-#line 1337 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1335 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6302 "SearchFilter.c"
+#line 6282 "SearchFilter.c"
}
static void search_filter_toolbar_edit_dialog (SearchFilterToolbar* self, SavedSearch* search) {
- SearchFilterToolbarSavedSearchFilterButton* _tmp0_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp1_ = NULL;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp0_;
+ SearchFilterToolbarSavedSearchPopover* _tmp1_;
SavedSearchDialog* ssd = NULL;
- SavedSearch* _tmp2_ = NULL;
- SavedSearchDialog* _tmp3_ = NULL;
-#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp2_;
+ SavedSearchDialog* _tmp3_;
+#line 1338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SAVED_SEARCH (search));
-#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1339 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->saved_search_button;
-#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1339 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_->filter_popup;
-#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1339 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp1_);
-#line 1342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search;
-#line 1342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = saved_search_dialog_new_edit_existing (_tmp2_);
-#line 1342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ssd = _tmp3_;
-#line 1343 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
saved_search_dialog_show (ssd);
-#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_saved_search_dialog_unref0 (ssd);
-#line 6332 "SearchFilter.c"
+#line 6312 "SearchFilter.c"
}
static void search_filter_toolbar_delete_dialog (SearchFilterToolbar* self, SavedSearch* search) {
- SearchFilterToolbarSavedSearchFilterButton* _tmp0_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp1_ = NULL;
- SavedSearch* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp0_;
+ SearchFilterToolbarSavedSearchPopover* _tmp1_;
+ SavedSearch* _tmp2_;
+ gboolean _tmp3_;
+#line 1344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SAVED_SEARCH (search));
-#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1345 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->saved_search_button;
-#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1345 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_->filter_popup;
-#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1345 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp1_);
-#line 1348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search;
-#line 1348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = dialogs_confirm_delete_saved_search (_tmp2_);
-#line 1348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_) {
-#line 6357 "SearchFilter.c"
- CommandManager* _tmp4_ = NULL;
- CommandManager* _tmp5_ = NULL;
- SavedSearch* _tmp6_ = NULL;
- DeleteSavedSearchCommand* _tmp7_ = NULL;
- DeleteSavedSearchCommand* _tmp8_ = NULL;
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6337 "SearchFilter.c"
+ CommandManager* _tmp4_;
+ CommandManager* _tmp5_;
+ SavedSearch* _tmp6_;
+ DeleteSavedSearchCommand* _tmp7_;
+ DeleteSavedSearchCommand* _tmp8_;
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = app_window_get_command_manager ();
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _tmp4_;
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = search;
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = delete_saved_search_command_new (_tmp6_);
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _tmp7_;
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
command_manager_execute (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_COMMAND, Command));
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp8_);
-#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_command_manager_unref0 (_tmp5_);
-#line 6379 "SearchFilter.c"
+#line 6359 "SearchFilter.c"
}
}
static void search_filter_toolbar_add_dialog (SearchFilterToolbar* self) {
- SearchFilterToolbarSavedSearchFilterButton* _tmp0_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp1_ = NULL;
- SavedSearchDialog* _tmp2_ = NULL;
- SavedSearchDialog* _tmp3_ = NULL;
-#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp0_;
+ SearchFilterToolbarSavedSearchPopover* _tmp1_;
+ SavedSearchDialog* _tmp2_;
+ SavedSearchDialog* _tmp3_;
+#line 1350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1353 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1351 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->saved_search_button;
-#line 1353 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1351 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_->filter_popup;
-#line 1353 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1351 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp1_);
-#line 1354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = saved_search_dialog_new ();
-#line 1354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_;
-#line 1354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
saved_search_dialog_show (_tmp3_);
-#line 1354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_saved_search_dialog_unref0 (_tmp3_);
-#line 6405 "SearchFilter.c"
+#line 6385 "SearchFilter.c"
}
static void search_filter_toolbar_on_popover_closed (SearchFilterToolbar* self) {
- SearchFilterToolbarSavedSearchFilterButton* _tmp0_ = NULL;
- SavedSearch* _tmp1_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp2_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp3_ = NULL;
-#line 1357 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp0_;
+ SavedSearch* _tmp1_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp2_;
+ SearchFilterToolbarSavedSearchPopover* _tmp3_;
+#line 1355 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1357 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->elide_showing_again = TRUE;
-#line 1360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1358 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->saved_search_button;
-#line 1360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1358 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->saved_search;
-#line 1360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1358 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_set_active (_tmp0_, _tmp1_ != NULL);
-#line 1361 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->saved_search_button;
-#line 1361 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_->filter_popup;
-#line 1361 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp3_);
-#line 6430 "SearchFilter.c"
+#line 6410 "SearchFilter.c"
}
static void _search_filter_toolbar_edit_dialog_search_filter_toolbar_saved_search_popover_edit_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
-#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_edit_dialog ((SearchFilterToolbar*) self, search);
-#line 6437 "SearchFilter.c"
+#line 6417 "SearchFilter.c"
}
static void _search_filter_toolbar_on_savedsearch_selected_search_filter_toolbar_saved_search_popover_search_activated (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
-#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_savedsearch_selected ((SearchFilterToolbar*) self, search);
-#line 6444 "SearchFilter.c"
+#line 6424 "SearchFilter.c"
}
static void _search_filter_toolbar_delete_dialog_search_filter_toolbar_saved_search_popover_delete_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
-#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_delete_dialog ((SearchFilterToolbar*) self, search);
-#line 6451 "SearchFilter.c"
+#line 6431 "SearchFilter.c"
}
static void _search_filter_toolbar_add_dialog_search_filter_toolbar_saved_search_popover_add_clicked (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
-#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_add_dialog ((SearchFilterToolbar*) self);
-#line 6458 "SearchFilter.c"
+#line 6438 "SearchFilter.c"
}
static void _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
-#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_popover_closed ((SearchFilterToolbar*) self);
-#line 6465 "SearchFilter.c"
+#line 6445 "SearchFilter.c"
}
static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterToolbar* self) {
gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
-#line 1364 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp1_;
+#line 1362 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->elide_showing_again;
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 6478 "SearchFilter.c"
- SavedSearch* _tmp2_ = NULL;
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6458 "SearchFilter.c"
+ SavedSearch* _tmp2_;
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->saved_search;
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 6484 "SearchFilter.c"
+#line 6464 "SearchFilter.c"
} else {
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 6488 "SearchFilter.c"
+#line 6468 "SearchFilter.c"
}
-#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 6492 "SearchFilter.c"
+#line 6472 "SearchFilter.c"
} else {
- SavedSearch* _tmp3_ = NULL;
-#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp3_;
+#line 1364 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->saved_search;
-#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1364 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 6499 "SearchFilter.c"
- SearchFilterToolbarSavedSearchFilterButton* _tmp4_ = NULL;
-#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6479 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp4_;
+#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
-#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->saved_search = NULL;
-#line 1368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->saved_search_button;
-#line 1368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_set_active (_tmp4_, FALSE);
-#line 1369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_disable_savedsearch (self);
-#line 6511 "SearchFilter.c"
+#line 6491 "SearchFilter.c"
} else {
- SearchFilterToolbarSavedSearchFilterButton* _tmp5_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp6_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp22_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp23_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp24_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp25_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp26_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp27_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp28_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp29_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp30_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp31_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp32_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp33_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp34_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp35_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp36_ = NULL;
-#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp5_;
+ SearchFilterToolbarSavedSearchPopover* _tmp6_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp22_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp23_;
+ SearchFilterToolbarSavedSearchPopover* _tmp24_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp25_;
+ SearchFilterToolbarSavedSearchPopover* _tmp26_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp27_;
+ SearchFilterToolbarSavedSearchPopover* _tmp28_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp29_;
+ SearchFilterToolbarSavedSearchPopover* _tmp30_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp31_;
+ SearchFilterToolbarSavedSearchPopover* _tmp32_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp33_;
+ SearchFilterToolbarSavedSearchPopover* _tmp34_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp35_;
+ SearchFilterToolbarSavedSearchPopover* _tmp36_;
+#line 1369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->saved_search_button;
-#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _tmp5_->filter_popup;
-#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_ != NULL) {
-#line 6536 "SearchFilter.c"
- SearchFilterToolbarSavedSearchFilterButton* _tmp7_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- SearchFilterToolbarSavedSearchFilterButton* _tmp10_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp11_ = NULL;
- guint _tmp12_ = 0U;
- SearchFilterToolbarSavedSearchFilterButton* _tmp13_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp14_ = NULL;
- guint _tmp15_ = 0U;
- SearchFilterToolbarSavedSearchFilterButton* _tmp16_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp17_ = NULL;
- guint _tmp18_ = 0U;
- SearchFilterToolbarSavedSearchFilterButton* _tmp19_ = NULL;
- SearchFilterToolbarSavedSearchPopover* _tmp20_ = NULL;
- guint _tmp21_ = 0U;
-#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6516 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchFilterButton* _tmp7_;
+ SearchFilterToolbarSavedSearchPopover* _tmp8_;
+ guint _tmp9_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp10_;
+ SearchFilterToolbarSavedSearchPopover* _tmp11_;
+ guint _tmp12_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp13_;
+ SearchFilterToolbarSavedSearchPopover* _tmp14_;
+ guint _tmp15_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp16_;
+ SearchFilterToolbarSavedSearchPopover* _tmp17_;
+ guint _tmp18_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp19_;
+ SearchFilterToolbarSavedSearchPopover* _tmp20_;
+ guint _tmp21_;
+#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->saved_search_button;
-#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _tmp7_->filter_popup;
-#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("edit-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp9_, NULL, FALSE);
-#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _search_filter_toolbar_edit_dialog_search_filter_toolbar_saved_search_popover_edit_clicked, self);
-#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->saved_search_button;
-#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = _tmp10_->filter_popup;
-#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("search-activated", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp12_, NULL, FALSE);
-#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp11_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp12_, 0, NULL, (GCallback) _search_filter_toolbar_on_savedsearch_selected_search_filter_toolbar_saved_search_popover_search_activated, self);
-#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = self->priv->saved_search_button;
-#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _tmp13_->filter_popup;
-#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("delete-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp15_, NULL, FALSE);
-#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp14_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp15_, 0, NULL, (GCallback) _search_filter_toolbar_delete_dialog_search_filter_toolbar_saved_search_popover_delete_clicked, self);
-#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = self->priv->saved_search_button;
-#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = _tmp16_->filter_popup;
-#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("add-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp18_, NULL, FALSE);
-#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp17_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp18_, 0, NULL, (GCallback) _search_filter_toolbar_add_dialog_search_filter_toolbar_saved_search_popover_add_clicked, self);
-#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = self->priv->saved_search_button;
-#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp20_ = _tmp19_->filter_popup;
-#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp21_, NULL, FALSE);
-#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp20_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp21_, 0, NULL, (GCallback) _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed, self);
-#line 6592 "SearchFilter.c"
+#line 6572 "SearchFilter.c"
}
-#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = self->priv->saved_search_button;
-#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp23_ = self->priv->saved_search_button;
-#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp24_ = search_filter_toolbar_saved_search_popover_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget));
-#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_search_filter_toolbar_saved_search_popover_unref0 (_tmp22_->filter_popup);
-#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_->filter_popup = _tmp24_;
-#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp25_ = self->priv->saved_search_button;
-#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp26_ = _tmp25_->filter_popup;
-#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp26_, "edit-clicked", (GCallback) _search_filter_toolbar_edit_dialog_search_filter_toolbar_saved_search_popover_edit_clicked, self, 0);
-#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp27_ = self->priv->saved_search_button;
-#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp28_ = _tmp27_->filter_popup;
-#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1378 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp28_, "search-activated", (GCallback) _search_filter_toolbar_on_savedsearch_selected_search_filter_toolbar_saved_search_popover_search_activated, self, 0);
-#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp29_ = self->priv->saved_search_button;
-#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp30_ = _tmp29_->filter_popup;
-#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp30_, "delete-clicked", (GCallback) _search_filter_toolbar_delete_dialog_search_filter_toolbar_saved_search_popover_delete_clicked, self, 0);
-#line 1382 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp31_ = self->priv->saved_search_button;
-#line 1382 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp32_ = _tmp31_->filter_popup;
-#line 1382 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1380 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp32_, "add-clicked", (GCallback) _search_filter_toolbar_add_dialog_search_filter_toolbar_saved_search_popover_add_clicked, self, 0);
-#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = self->priv->saved_search_button;
-#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp34_ = _tmp33_->filter_popup;
-#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1381 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp34_, "closed", (GCallback) _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed, self, 0);
-#line 1385 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp35_ = self->priv->saved_search_button;
-#line 1385 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp36_ = _tmp35_->filter_popup;
-#line 1385 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_show_all (_tmp36_);
-#line 6640 "SearchFilter.c"
+#line 6620 "SearchFilter.c"
}
}
-#line 1387 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1385 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->elide_showing_again = FALSE;
-#line 6645 "SearchFilter.c"
+#line 6625 "SearchFilter.c"
}
void search_filter_toolbar_take_focus (SearchFilterToolbar* self) {
- SearchFilterToolbarSearchBox* _tmp0_ = NULL;
-#line 1390 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSearchBox* _tmp0_;
+#line 1388 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
-#line 1391 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1389 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->search_box;
-#line 1391 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1389 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_get_focus (_tmp0_);
-#line 6657 "SearchFilter.c"
+#line 6637 "SearchFilter.c"
}
static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_construct (GType object_type, const gchar* s, gint left_padding, gint right_padding) {
SearchFilterToolbarLabelToolItem * self = NULL;
- const gchar* _tmp0_ = NULL;
- GtkLabel* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ GtkLabel* _tmp1_;
gboolean _tmp2_ = FALSE;
- gint _tmp3_ = 0;
- GtkLabel* _tmp11_ = NULL;
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp3_;
+ GtkLabel* _tmp11_;
+#line 616 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (s != NULL, NULL);
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 616 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarLabelToolItem*) g_object_new (object_type, NULL);
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = s;
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp1_);
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->label);
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->label = _tmp1_;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = left_padding;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != 0) {
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 6688 "SearchFilter.c"
+#line 6668 "SearchFilter.c"
} else {
- gint _tmp4_ = 0;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp4_;
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = right_padding;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp4_ != 0;
-#line 6695 "SearchFilter.c"
+#line 6675 "SearchFilter.c"
}
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_) {
-#line 6699 "SearchFilter.c"
- GtkLabel* _tmp5_ = NULL;
- GtkLabel* _tmp6_ = NULL;
- GtkLabel* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- GtkLabel* _tmp9_ = NULL;
- gint _tmp10_ = 0;
-#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 6679 "SearchFilter.c"
+ GtkLabel* _tmp5_;
+ GtkLabel* _tmp6_;
+ GtkLabel* _tmp7_;
+ gint _tmp8_;
+ GtkLabel* _tmp9_;
+ gint _tmp10_;
+#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->label;
-#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->label;
-#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->label;
-#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = left_padding;
-#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), _tmp8_);
-#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->label;
-#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = right_padding;
-#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), _tmp10_);
-#line 6726 "SearchFilter.c"
+#line 6706 "SearchFilter.c"
}
-#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = self->priv->label;
-#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 616 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6734 "SearchFilter.c"
+#line 6714 "SearchFilter.c"
}
static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_new (const gchar* s, gint left_padding, gint right_padding) {
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 616 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_label_tool_item_construct (SEARCH_FILTER_TOOLBAR_TYPE_LABEL_TOOL_ITEM, s, left_padding, right_padding);
-#line 6741 "SearchFilter.c"
+#line 6721 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_class_init (SearchFilterToolbarLabelToolItemClass * klass) {
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_label_tool_item_parent_class = g_type_class_peek_parent (klass);
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarLabelToolItemPrivate));
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_label_tool_item_finalize;
-#line 6752 "SearchFilter.c"
+#line 6732 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_instance_init (SearchFilterToolbarLabelToolItem * self) {
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_LABEL_TOOL_ITEM_GET_PRIVATE (self);
-#line 6759 "SearchFilter.c"
+#line 6739 "SearchFilter.c"
}
-static void search_filter_toolbar_label_tool_item_finalize (GObject* obj) {
+static void search_filter_toolbar_label_tool_item_finalize (GObject * obj) {
SearchFilterToolbarLabelToolItem * self;
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_LABEL_TOOL_ITEM, SearchFilterToolbarLabelToolItem);
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->label);
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_label_tool_item_parent_class)->finalize (obj);
-#line 6771 "SearchFilter.c"
+#line 6751 "SearchFilter.c"
}
@@ -6785,153 +6765,153 @@ static GType search_filter_toolbar_label_tool_item_get_type (void) {
static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_action_tool_button_construct (GType object_type, const gchar* action) {
SearchFilterToolbarToggleActionToolButton * self = NULL;
- GtkToggleButton* _tmp0_ = NULL;
- GtkToggleButton* _tmp1_ = NULL;
- GtkToggleButton* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- GtkToggleButton* _tmp4_ = NULL;
- GtkToggleButton* _tmp5_ = NULL;
- GtkToggleButton* _tmp6_ = NULL;
- GtkToggleButton* _tmp7_ = NULL;
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ GtkToggleButton* _tmp1_;
+ GtkToggleButton* _tmp2_;
+ const gchar* _tmp3_;
+ GtkToggleButton* _tmp4_;
+ GtkToggleButton* _tmp5_;
+ GtkToggleButton* _tmp6_;
+ GtkToggleButton* _tmp7_;
+#line 631 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (action != NULL, NULL);
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 631 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarToggleActionToolButton*) g_object_new (object_type, NULL);
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkToggleButton*) gtk_toggle_button_new ();
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp0_);
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = _tmp0_;
-#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->button;
-#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 634 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->button;
-#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 634 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = action;
-#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 634 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_ACTIONABLE, GtkActionable), _tmp3_);
-#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->button;
-#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->button;
-#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_button_get_type (), GtkButton), GTK_RELIEF_NONE);
-#line 641 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->button;
-#line 641 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), 2);
-#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->button;
-#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 631 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6837 "SearchFilter.c"
+#line 6817 "SearchFilter.c"
}
static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_action_tool_button_new (const gchar* action) {
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 631 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_toggle_action_tool_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_TOGGLE_ACTION_TOOL_BUTTON, action);
-#line 6844 "SearchFilter.c"
+#line 6824 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_set_icon_name (SearchFilterToolbarToggleActionToolButton* self, const gchar* icon_name) {
GtkImage* image = NULL;
- GtkToggleButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- GtkImage* _tmp2_ = NULL;
- GtkImage* _tmp3_ = NULL;
- GtkToggleButton* _tmp4_ = NULL;
- GtkImage* _tmp5_ = NULL;
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ const gchar* _tmp1_;
+ GtkImage* _tmp2_;
+ GtkImage* _tmp3_;
+ GtkToggleButton* _tmp4_;
+ GtkImage* _tmp5_;
+#line 642 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_TOGGLE_ACTION_TOOL_BUTTON (self));
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 642 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (icon_name != NULL);
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
image = NULL;
-#line 648 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 644 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->button;
-#line 648 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 644 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), TRUE);
-#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = icon_name;
-#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = (GtkImage*) gtk_image_new_from_icon_name (_tmp1_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp2_);
-#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (image);
-#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
image = _tmp2_;
-#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = image;
-#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), 6);
-#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->button;
-#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = image;
-#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 642 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (image);
-#line 6888 "SearchFilter.c"
+#line 6868 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_set_label (SearchFilterToolbarToggleActionToolButton* self, const gchar* label) {
- GtkToggleButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ const gchar* _tmp1_;
+#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_TOGGLE_ACTION_TOOL_BUTTON (self));
-#line 654 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (label != NULL);
-#line 655 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->button;
-#line 655 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = label;
-#line 655 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 6905 "SearchFilter.c"
+#line 6885 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_class_init (SearchFilterToolbarToggleActionToolButtonClass * klass) {
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_parent_class = g_type_class_peek_parent (klass);
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarToggleActionToolButtonPrivate));
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_toggle_action_tool_button_finalize;
-#line 6916 "SearchFilter.c"
+#line 6896 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_instance_init (SearchFilterToolbarToggleActionToolButton * self) {
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_TOGGLE_ACTION_TOOL_BUTTON_GET_PRIVATE (self);
-#line 6923 "SearchFilter.c"
+#line 6903 "SearchFilter.c"
}
-static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject* obj) {
+static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject * obj) {
SearchFilterToolbarToggleActionToolButton * self;
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_TOGGLE_ACTION_TOOL_BUTTON, SearchFilterToolbarToggleActionToolButton);
-#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_toggle_action_tool_button_parent_class)->finalize (obj);
-#line 6935 "SearchFilter.c"
+#line 6915 "SearchFilter.c"
}
@@ -6948,430 +6928,430 @@ static GType search_filter_toolbar_toggle_action_tool_button_get_type (void) {
static void _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed (TextAction* _sender, const gchar* text, gpointer self) {
-#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_action_text_changed ((SearchFilterToolbarSearchBox*) self, text);
-#line 6954 "SearchFilter.c"
+#line 6934 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_sensitivity_changed_text_action_sensitivity_changed (TextAction* _sender, gboolean sensitive, gpointer self) {
-#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 687 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_sensitivity_changed ((SearchFilterToolbarSearchBox*) self, sensitive);
-#line 6961 "SearchFilter.c"
+#line 6941 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_visibility_changed_text_action_visibility_changed (TextAction* _sender, gboolean visible, gpointer self) {
-#line 692 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 688 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_visibility_changed ((SearchFilterToolbarSearchBox*) self, visible);
-#line 6968 "SearchFilter.c"
+#line 6948 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text (GtkEntryBuffer* _sender, guint position, guint n_chars, gpointer self) {
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6975 "SearchFilter.c"
+#line 6955 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text (GtkEntryBuffer* _sender, guint position, const gchar* chars, guint n_chars, gpointer self) {
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6982 "SearchFilter.c"
+#line 6962 "SearchFilter.c"
}
static gpointer _text_action_ref0 (gpointer self) {
-#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? text_action_ref (self) : NULL;
-#line 6989 "SearchFilter.c"
+#line 6969 "SearchFilter.c"
}
static gboolean _search_filter_toolbar_search_box_on_escape_key_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
gboolean result;
result = search_filter_toolbar_search_box_on_escape_key ((SearchFilterToolbarSearchBox*) self, event);
-#line 676 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 6998 "SearchFilter.c"
+#line 6978 "SearchFilter.c"
}
SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_construct (GType object_type, TextAction* action) {
SearchFilterToolbarSearchBox * self = NULL;
- TextAction* _tmp0_ = NULL;
- TextAction* _tmp1_ = NULL;
- GtkSearchEntry* _tmp2_ = NULL;
- GtkSearchEntry* _tmp3_ = NULL;
- GtkSearchEntry* _tmp4_ = NULL;
- GtkSearchEntry* _tmp5_ = NULL;
- TextAction* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- TextAction* _tmp9_ = NULL;
- TextAction* _tmp10_ = NULL;
- TextAction* _tmp11_ = NULL;
- GtkSearchEntry* _tmp12_ = NULL;
- GtkEntryBuffer* _tmp13_ = NULL;
- GtkEntryBuffer* _tmp14_ = NULL;
- GtkSearchEntry* _tmp15_ = NULL;
- GtkEntryBuffer* _tmp16_ = NULL;
- GtkEntryBuffer* _tmp17_ = NULL;
-#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+ TextAction* _tmp1_;
+ GtkSearchEntry* _tmp2_;
+ GtkSearchEntry* _tmp3_;
+ GtkSearchEntry* _tmp4_;
+ GtkSearchEntry* _tmp5_;
+ TextAction* _tmp6_;
+ const gchar* _tmp7_;
+ const gchar* _tmp8_;
+ TextAction* _tmp9_;
+ TextAction* _tmp10_;
+ TextAction* _tmp11_;
+ GtkSearchEntry* _tmp12_;
+ GtkEntryBuffer* _tmp13_;
+ GtkEntryBuffer* _tmp14_;
+ GtkSearchEntry* _tmp15_;
+ GtkEntryBuffer* _tmp16_;
+ GtkEntryBuffer* _tmp17_;
+#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_TEXT_ACTION (action), NULL);
-#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarSearchBox*) g_object_new (object_type, NULL);
-#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _text_action_ref0 (_tmp0_);
-#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->action);
-#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->action = _tmp1_;
-#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 669 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = (GtkSearchEntry*) gtk_search_entry_new ();
-#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 669 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp2_);
-#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 669 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->search_entry);
-#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 669 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_entry = _tmp2_;
-#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_entry;
-#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_entry_get_type (), GtkEntry), 23);
-#line 676 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->search_entry;
-#line 676 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), "key-press-event", (GCallback) _search_filter_toolbar_search_box_on_escape_key_gtk_widget_key_press_event, self, 0);
-#line 677 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->search_entry;
-#line 677 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 673 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = action;
-#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = text_action_get_value (_tmp6_);
-#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _tmp7_;
-#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 675 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_set_nullable_text (self, _tmp8_);
-#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 677 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = action;
-#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 677 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp9_, "text-changed", (GCallback) _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed, self, 0);
-#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 678 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = action;
-#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 678 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp10_, "sensitivity-changed", (GCallback) _search_filter_toolbar_search_box_on_sensitivity_changed_text_action_sensitivity_changed, self, 0);
-#line 683 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = action;
-#line 683 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 679 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp11_, "visibility-changed", (GCallback) _search_filter_toolbar_search_box_on_visibility_changed_text_action_visibility_changed, self, 0);
-#line 685 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = self->priv->search_entry;
-#line 685 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_entry_get_type (), GtkEntry));
-#line 685 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _tmp13_;
-#line 685 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 681 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp14_, "deleted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text, self, 0);
-#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = self->priv->search_entry;
-#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_entry_get_type (), GtkEntry));
-#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = _tmp16_;
-#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 682 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp17_, "inserted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self, 0);
-#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7092 "SearchFilter.c"
+#line 7072 "SearchFilter.c"
}
SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_new (TextAction* action) {
-#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_search_box_construct (SEARCH_FILTER_TOOLBAR_TYPE_SEARCH_BOX, action);
-#line 7099 "SearchFilter.c"
+#line 7079 "SearchFilter.c"
}
void search_filter_toolbar_search_box_get_focus (SearchFilterToolbarSearchBox* self) {
- GtkSearchEntry* _tmp0_ = NULL;
-#line 698 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkSearchEntry* _tmp0_;
+#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 699 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->search_entry;
-#line 699 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), "has-focus", TRUE, NULL);
-#line 7111 "SearchFilter.c"
+#line 7091 "SearchFilter.c"
}
static gboolean search_filter_toolbar_search_box_on_escape_key (SearchFilterToolbarSearchBox* self, GdkEventKey* e) {
gboolean result = FALSE;
- GdkEventKey* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- const gchar* _tmp2_ = NULL;
-#line 704 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GdkEventKey* _tmp0_;
+ guint _tmp1_;
+ const gchar* _tmp2_;
+#line 700 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self), FALSE);
-#line 704 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 700 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (e != NULL, FALSE);
-#line 705 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 701 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = e;
-#line 705 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 701 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_->keyval;
-#line 705 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 701 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 705 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 701 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
-#line 7132 "SearchFilter.c"
- TextAction* _tmp3_ = NULL;
-#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 7112 "SearchFilter.c"
+ TextAction* _tmp3_;
+#line 702 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->action;
-#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 702 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_clear (_tmp3_);
-#line 7138 "SearchFilter.c"
+#line 7118 "SearchFilter.c"
}
-#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7144 "SearchFilter.c"
+#line 7124 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_on_action_text_changed (SearchFilterToolbarSearchBox* self, const gchar* text) {
- GtkSearchEntry* _tmp0_ = NULL;
- GtkEntryBuffer* _tmp1_ = NULL;
- GtkEntryBuffer* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- GtkSearchEntry* _tmp4_ = NULL;
- GtkEntryBuffer* _tmp5_ = NULL;
- GtkEntryBuffer* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
- const gchar* _tmp8_ = NULL;
- GtkSearchEntry* _tmp9_ = NULL;
- GtkEntryBuffer* _tmp10_ = NULL;
- GtkEntryBuffer* _tmp11_ = NULL;
- GtkSearchEntry* _tmp12_ = NULL;
- GtkEntryBuffer* _tmp13_ = NULL;
- GtkEntryBuffer* _tmp14_ = NULL;
-#line 713 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkSearchEntry* _tmp0_;
+ GtkEntryBuffer* _tmp1_;
+ GtkEntryBuffer* _tmp2_;
+ guint _tmp3_;
+ GtkSearchEntry* _tmp4_;
+ GtkEntryBuffer* _tmp5_;
+ GtkEntryBuffer* _tmp6_;
+ guint _tmp7_;
+ const gchar* _tmp8_;
+ GtkSearchEntry* _tmp9_;
+ GtkEntryBuffer* _tmp10_;
+ GtkEntryBuffer* _tmp11_;
+ GtkSearchEntry* _tmp12_;
+ GtkEntryBuffer* _tmp13_;
+ GtkEntryBuffer* _tmp14_;
+#line 709 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->search_entry;
-#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_entry_get_type (), GtkEntry));
-#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp1_;
-#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("deleted-text", gtk_entry_buffer_get_type (), &_tmp3_, NULL, FALSE);
-#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text, self);
-#line 715 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 711 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->search_entry;
-#line 715 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 711 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_entry_get_type (), GtkEntry));
-#line 715 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 711 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _tmp5_;
-#line 715 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 711 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("inserted-text", gtk_entry_buffer_get_type (), &_tmp7_, NULL, FALSE);
-#line 715 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 711 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self);
-#line 716 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 712 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = text;
-#line 716 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 712 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_set_nullable_text (self, _tmp8_);
-#line 717 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 713 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->search_entry;
-#line 717 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 713 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_entry_get_type (), GtkEntry));
-#line 717 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 713 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = _tmp10_;
-#line 717 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 713 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp11_, "deleted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text, self, 0);
-#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = self->priv->search_entry;
-#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_entry_get_type (), GtkEntry));
-#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _tmp13_;
-#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 714 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp14_, "inserted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self, 0);
-#line 7206 "SearchFilter.c"
+#line 7186 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_on_entry_changed (SearchFilterToolbarSearchBox* self) {
- TextAction* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- TextAction* _tmp2_ = NULL;
- GtkSearchEntry* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- TextAction* _tmp5_ = NULL;
-#line 721 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+ guint _tmp1_;
+ TextAction* _tmp2_;
+ GtkSearchEntry* _tmp3_;
+ const gchar* _tmp4_;
+ TextAction* _tmp5_;
+#line 717 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 722 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->action;
-#line 722 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("text-changed", TYPE_TEXT_ACTION, &_tmp1_, NULL, FALSE);
-#line 722 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed, self);
-#line 723 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 719 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->action;
-#line 723 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 719 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_entry;
-#line 723 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 719 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = gtk_entry_get_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_entry_get_type (), GtkEntry));
-#line 723 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 719 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_text (_tmp2_, _tmp4_);
-#line 724 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 720 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->action;
-#line 724 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 720 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp5_, "text-changed", (GCallback) _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed, self, 0);
-#line 7237 "SearchFilter.c"
+#line 7217 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_on_sensitivity_changed (SearchFilterToolbarSearchBox* self, gboolean sensitive) {
- gboolean _tmp0_ = FALSE;
-#line 727 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 723 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 728 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 724 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = sensitive;
-#line 728 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 724 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 7249 "SearchFilter.c"
+#line 7229 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_on_visibility_changed (SearchFilterToolbarSearchBox* self, gboolean visible) {
- gboolean _tmp0_ = FALSE;
-#line 731 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gboolean _tmp0_;
+#line 727 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 728 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = visible;
-#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 728 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 7261 "SearchFilter.c"
+#line 7241 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_set_nullable_text (SearchFilterToolbarSearchBox* self, const gchar* text) {
const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- GtkSearchEntry* _tmp3_ = NULL;
-#line 735 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp1_;
+ GtkSearchEntry* _tmp3_;
+#line 731 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SEARCH_BOX (self));
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = text;
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_ != NULL) {
-#line 7275 "SearchFilter.c"
- const gchar* _tmp2_ = NULL;
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 7255 "SearchFilter.c"
+ const gchar* _tmp2_;
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = text;
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_;
-#line 7281 "SearchFilter.c"
+#line 7261 "SearchFilter.c"
} else {
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = "";
-#line 7285 "SearchFilter.c"
+#line 7265 "SearchFilter.c"
}
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_entry;
-#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_entry_get_type (), GtkEntry), _tmp0_);
-#line 7291 "SearchFilter.c"
+#line 7271 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_class_init (SearchFilterToolbarSearchBoxClass * klass) {
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_parent_class = g_type_class_peek_parent (klass);
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarSearchBoxPrivate));
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_search_box_finalize;
-#line 7302 "SearchFilter.c"
+#line 7282 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_instance_init (SearchFilterToolbarSearchBox * self) {
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_SEARCH_BOX_GET_PRIVATE (self);
-#line 7309 "SearchFilter.c"
+#line 7289 "SearchFilter.c"
}
-static void search_filter_toolbar_search_box_finalize (GObject* obj) {
+static void search_filter_toolbar_search_box_finalize (GObject * obj) {
SearchFilterToolbarSearchBox * self;
- TextAction* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- TextAction* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- TextAction* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- GtkSearchEntry* _tmp6_ = NULL;
- GtkEntryBuffer* _tmp7_ = NULL;
- GtkEntryBuffer* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- GtkSearchEntry* _tmp10_ = NULL;
- GtkEntryBuffer* _tmp11_ = NULL;
- GtkEntryBuffer* _tmp12_ = NULL;
- guint _tmp13_ = 0U;
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ TextAction* _tmp0_;
+ guint _tmp1_;
+ TextAction* _tmp2_;
+ guint _tmp3_;
+ TextAction* _tmp4_;
+ guint _tmp5_;
+ GtkSearchEntry* _tmp6_;
+ GtkEntryBuffer* _tmp7_;
+ GtkEntryBuffer* _tmp8_;
+ guint _tmp9_;
+ GtkSearchEntry* _tmp10_;
+ GtkEntryBuffer* _tmp11_;
+ GtkEntryBuffer* _tmp12_;
+ guint _tmp13_;
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_SEARCH_BOX, SearchFilterToolbarSearchBox);
-#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->action;
-#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("text-changed", TYPE_TEXT_ACTION, &_tmp1_, NULL, FALSE);
-#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed, self);
-#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 687 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->action;
-#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 687 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("sensitivity-changed", TYPE_TEXT_ACTION, &_tmp3_, NULL, FALSE);
-#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 687 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_sensitivity_changed_text_action_sensitivity_changed, self);
-#line 692 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 688 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->action;
-#line 692 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 688 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("visibility-changed", TYPE_TEXT_ACTION, &_tmp5_, NULL, FALSE);
-#line 692 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 688 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_visibility_changed_text_action_visibility_changed, self);
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->search_entry;
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_entry_get_type (), GtkEntry));
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _tmp7_;
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("deleted-text", gtk_entry_buffer_get_type (), &_tmp9_, NULL, FALSE);
-#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text, self);
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->search_entry;
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = gtk_entry_get_buffer (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_entry_get_type (), GtkEntry));
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = _tmp11_;
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("inserted-text", gtk_entry_buffer_get_type (), &_tmp13_, NULL, FALSE);
-#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self);
-#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 664 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->search_entry);
-#line 669 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 665 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->action);
-#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_search_box_parent_class)->finalize (obj);
-#line 7375 "SearchFilter.c"
+#line 7355 "SearchFilter.c"
}
@@ -7389,171 +7369,171 @@ GType search_filter_toolbar_search_box_get_type (void) {
SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_button_construct (GType object_type, GMenuModel* model) {
SearchFilterToolbarRatingFilterButton * self = NULL;
- GtkMenuButton* _tmp0_ = NULL;
- GtkMenuButton* _tmp1_ = NULL;
- GtkWidget* _tmp2_ = NULL;
- GtkWidget* _tmp3_ = NULL;
- GtkMenuButton* _tmp4_ = NULL;
- GtkMenuButton* _tmp5_ = NULL;
- GtkMenuButton* _tmp6_ = NULL;
- GtkMenuButton* _tmp7_ = NULL;
- GMenuModel* _tmp8_ = NULL;
- GtkMenuButton* _tmp9_ = NULL;
-#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenuButton* _tmp0_;
+ GtkMenuButton* _tmp1_;
+ GtkWidget* _tmp2_;
+ GtkWidget* _tmp3_;
+ GtkMenuButton* _tmp4_;
+ GtkMenuButton* _tmp5_;
+ GtkMenuButton* _tmp6_;
+ GtkMenuButton* _tmp7_;
+ GMenuModel* _tmp8_;
+ GtkMenuButton* _tmp9_;
+#line 740 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL);
-#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 740 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarRatingFilterButton*) g_object_new (object_type, NULL);
-#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkMenuButton*) gtk_menu_button_new ();
-#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp0_);
-#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->button);
-#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->button = _tmp0_;
-#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 743 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->button;
-#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 743 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search_filter_toolbar_rating_filter_button_get_filter_icon (self, RATING_FILTER_UNRATED_OR_HIGHER);
-#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 743 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_;
-#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 743 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), _tmp3_);
-#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 743 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp3_);
-#line 748 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->button;
-#line 748 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 749 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->button;
-#line 749 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 745 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_button_get_type (), GtkButton), GTK_RELIEF_NONE);
-#line 750 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 746 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->button;
-#line 750 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 746 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), 2);
-#line 751 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->button;
-#line 751 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = model;
-#line 751 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 747 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_menu_button_set_menu_model (_tmp7_, _tmp8_);
-#line 753 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 749 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_tool_item_set_homogeneous (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tool_item_get_type (), GtkToolItem), FALSE);
-#line 755 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 751 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->button;
-#line 755 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 751 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 740 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7451 "SearchFilter.c"
+#line 7431 "SearchFilter.c"
}
SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_button_new (GMenuModel* model) {
-#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 740 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_rating_filter_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_RATING_FILTER_BUTTON, model);
-#line 7458 "SearchFilter.c"
+#line 7438 "SearchFilter.c"
}
static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (SearchFilterToolbarRatingFilterButton* self, RatingFilter filter) {
GtkWidget* result = NULL;
gchar* filename = NULL;
- RatingFilter _tmp0_ = 0;
+ RatingFilter _tmp0_;
GtkImage* image = NULL;
- const gchar* _tmp4_ = NULL;
- RatingFilter _tmp5_ = 0;
- gint _tmp6_ = 0;
- GdkPixbuf* _tmp7_ = NULL;
- GdkPixbuf* _tmp8_ = NULL;
- GtkImage* _tmp9_ = NULL;
- GtkImage* _tmp10_ = NULL;
-#line 758 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp4_;
+ RatingFilter _tmp5_;
+ gint _tmp6_;
+ GdkPixbuf* _tmp7_;
+ GdkPixbuf* _tmp8_;
+ GtkImage* _tmp9_;
+ GtkImage* _tmp10_;
+#line 754 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_RATING_FILTER_BUTTON (self), NULL);
-#line 759 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 755 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filename = NULL;
-#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = filter;
-#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
switch (_tmp0_) {
-#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7484 "SearchFilter.c"
+#line 7464 "SearchFilter.c"
{
- gchar* _tmp1_ = NULL;
-#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gchar* _tmp1_;
+#line 759 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = g_strdup (RESOURCES_ICON_FILTER_REJECTED_OR_BETTER);
-#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 759 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (filename);
-#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 759 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filename = _tmp1_;
-#line 764 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 760 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7495 "SearchFilter.c"
+#line 7475 "SearchFilter.c"
}
-#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7499 "SearchFilter.c"
+#line 7479 "SearchFilter.c"
{
- gchar* _tmp2_ = NULL;
-#line 767 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gchar* _tmp2_;
+#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = g_strdup (RESOURCES_ICON_RATING_REJECTED);
-#line 767 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (filename);
-#line 767 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filename = _tmp2_;
-#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 764 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7510 "SearchFilter.c"
+#line 7490 "SearchFilter.c"
}
default:
-#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7515 "SearchFilter.c"
+#line 7495 "SearchFilter.c"
{
- gchar* _tmp3_ = NULL;
-#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gchar* _tmp3_;
+#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_strdup (RESOURCES_ICON_FILTER_UNRATED_OR_BETTER);
-#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (filename);
-#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
filename = _tmp3_;
-#line 773 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 769 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7526 "SearchFilter.c"
+#line 7506 "SearchFilter.c"
}
}
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = filename;
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = filter;
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = search_filter_toolbar_rating_filter_button_get_filter_icon_size (self, _tmp5_);
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = resources_load_icon (_tmp4_, _tmp6_);
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = _tmp7_;
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp8_);
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp9_);
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = _tmp9_;
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp8_);
-#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
image = _tmp10_;
-#line 778 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 774 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (image, gtk_widget_get_type (), GtkWidget), 6);
-#line 780 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (image, gtk_widget_get_type (), GtkWidget);
-#line 780 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (filename);
-#line 780 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7557 "SearchFilter.c"
+#line 7537 "SearchFilter.c"
}
@@ -7562,336 +7542,318 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
gint icon_base = 0;
gint icon_star_base = 0;
gint icon_plus = 0;
- RatingFilter _tmp0_ = 0;
-#line 783 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ RatingFilter _tmp0_;
+#line 779 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_RATING_FILTER_BUTTON (self), 0);
-#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 780 "/home/jens/Source/shotwell/src/SearchFilter.vala"
icon_base = (gint) (SEARCH_FILTER_TOOLBAR_FILTER_ICON_BASE_WIDTH * SEARCH_FILTER_TOOLBAR_FILTER_ICON_SCALE);
-#line 785 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 781 "/home/jens/Source/shotwell/src/SearchFilter.vala"
icon_star_base = (gint) (SEARCH_FILTER_TOOLBAR_FILTER_ICON_BASE_WIDTH * SEARCH_FILTER_TOOLBAR_FILTER_ICON_STAR_SCALE);
-#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 782 "/home/jens/Source/shotwell/src/SearchFilter.vala"
icon_plus = (gint) (SEARCH_FILTER_TOOLBAR_FILTER_ICON_PLUS_WIDTH * SEARCH_FILTER_TOOLBAR_FILTER_ICON_STAR_SCALE);
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = filter;
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
switch (_tmp0_) {
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7581 "SearchFilter.c"
+#line 7561 "SearchFilter.c"
{
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
-#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp1_;
+ gint _tmp2_;
+#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = icon_star_base;
-#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = icon_plus;
-#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp1_ + _tmp2_;
-#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7593 "SearchFilter.c"
+#line 7573 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7597 "SearchFilter.c"
+#line 7577 "SearchFilter.c"
{
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
-#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp3_;
+ gint _tmp4_;
+#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = icon_star_base;
-#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = icon_plus;
-#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = (_tmp3_ * 2) + _tmp4_;
-#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7609 "SearchFilter.c"
+#line 7589 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 7613 "SearchFilter.c"
+#line 7593 "SearchFilter.c"
{
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
-#line 794 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp5_;
+ gint _tmp6_;
+#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = icon_star_base;
-#line 794 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = icon_plus;
-#line 794 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = (_tmp5_ * 3) + _tmp6_;
-#line 794 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7625 "SearchFilter.c"
+#line 7605 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7629 "SearchFilter.c"
+#line 7609 "SearchFilter.c"
{
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
-#line 796 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp7_;
+ gint _tmp8_;
+#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = icon_star_base;
-#line 796 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = icon_plus;
-#line 796 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = (_tmp7_ * 4) + _tmp8_;
-#line 796 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7641 "SearchFilter.c"
+#line 7621 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 7647 "SearchFilter.c"
+#line 7627 "SearchFilter.c"
{
- gint _tmp9_ = 0;
-#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gint _tmp9_;
+#line 795 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = icon_star_base;
-#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 795 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp9_ * 5;
-#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 795 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7656 "SearchFilter.c"
+#line 7636 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7660 "SearchFilter.c"
+#line 7640 "SearchFilter.c"
{
-#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 797 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_REJECTED_OR_BETTER_FIXED_SIZE;
-#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 797 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7666 "SearchFilter.c"
+#line 7646 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7670 "SearchFilter.c"
+#line 7650 "SearchFilter.c"
{
-#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_UNRATED_OR_BETTER_FIXED_SIZE;
-#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7676 "SearchFilter.c"
+#line 7656 "SearchFilter.c"
}
-#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7680 "SearchFilter.c"
+#line 7660 "SearchFilter.c"
{
-#line 805 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = icon_plus;
-#line 805 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7686 "SearchFilter.c"
+#line 7666 "SearchFilter.c"
}
default:
{
-#line 807 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = icon_base;
-#line 807 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7694 "SearchFilter.c"
+#line 7674 "SearchFilter.c"
}
}
}
void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToolbarRatingFilterButton* self, RatingFilter filter) {
- GtkMenuButton* _tmp0_ = NULL;
- RatingFilter _tmp1_ = 0;
- RatingFilter _tmp18_ = 0;
- gint _tmp19_ = 0;
- RatingFilter _tmp20_ = 0;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
-#line 811 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenuButton* _tmp0_;
+ RatingFilter _tmp1_;
+ RatingFilter _tmp12_;
+ gint _tmp13_;
+ RatingFilter _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+#line 807 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_RATING_FILTER_BUTTON (self));
-#line 812 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 808 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 812 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 808 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), TRUE);
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = filter;
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
switch (_tmp1_) {
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7720 "SearchFilter.c"
+#line 7700 "SearchFilter.c"
{
- GtkMenuButton* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
-#line 815 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenuButton* _tmp2_;
+#line 811 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->button;
-#line 815 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = _ ("★+ Rating");
-#line 815 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_button_get_type (), GtkButton), _tmp3_);
-#line 816 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 811 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_button_get_type (), GtkButton), _ ("★+ Rating"));
+#line 812 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7732 "SearchFilter.c"
+#line 7709 "SearchFilter.c"
}
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7736 "SearchFilter.c"
+#line 7713 "SearchFilter.c"
{
- GtkMenuButton* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
-#line 818 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenuButton* _tmp3_;
+#line 814 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp3_ = self->button;
+#line 814 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_button_get_type (), GtkButton), _ ("★★+ Rating"));
+#line 815 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ break;
+#line 7722 "SearchFilter.c"
+ }
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case RATING_FILTER_THREE_OR_HIGHER:
+#line 7726 "SearchFilter.c"
+ {
+ GtkMenuButton* _tmp4_;
+#line 817 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->button;
+#line 817 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), _ ("★★★+ Rating"));
#line 818 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp5_ = _ ("★★+ Rating");
-#line 818 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), _tmp5_);
-#line 819 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7748 "SearchFilter.c"
+#line 7735 "SearchFilter.c"
}
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case RATING_FILTER_THREE_OR_HIGHER:
-#line 7752 "SearchFilter.c"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case RATING_FILTER_FOUR_OR_HIGHER:
+#line 7739 "SearchFilter.c"
{
- GtkMenuButton* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ GtkMenuButton* _tmp5_;
+#line 820 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp5_ = self->button;
+#line 820 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_button_get_type (), GtkButton), _ ("★★★★+ Rating"));
#line 821 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = self->button;
-#line 821 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp7_ = _ ("★★★+ Rating");
-#line 821 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_button_get_type (), GtkButton), _tmp7_);
-#line 822 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7764 "SearchFilter.c"
+#line 7748 "SearchFilter.c"
}
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7768 "SearchFilter.c"
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case RATING_FILTER_FIVE_ONLY:
+#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case RATING_FILTER_FIVE_OR_HIGHER:
+#line 7754 "SearchFilter.c"
{
- GtkMenuButton* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
+ GtkMenuButton* _tmp6_;
#line 824 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp8_ = self->button;
-#line 824 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp9_ = _ ("★★★★+ Rating");
+ _tmp6_ = self->button;
#line 824 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_button_get_type (), GtkButton), _tmp9_);
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_button_get_type (), GtkButton), _ ("★★★★★+ Rating"));
#line 825 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7780 "SearchFilter.c"
+#line 7763 "SearchFilter.c"
}
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case RATING_FILTER_FIVE_ONLY:
-#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case RATING_FILTER_FIVE_OR_HIGHER:
-#line 7786 "SearchFilter.c"
+ default:
{
- GtkMenuButton* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
+ GtkMenuButton* _tmp7_;
+ GtkMenuButton* _tmp8_;
+ RatingFilter _tmp9_;
+ GtkWidget* _tmp10_;
+ GtkWidget* _tmp11_;
+#line 827 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp7_ = self->button;
+#line 827 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_button_get_type (), GtkButton), _ ("Rating"));
+#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp8_ = self->button;
#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp10_ = self->button;
+ _tmp9_ = filter;
#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp11_ = _ ("★★★★★+ Rating");
+ _tmp10_ = search_filter_toolbar_rating_filter_button_get_filter_icon (self, _tmp9_);
#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_button_get_type (), GtkButton), _tmp11_);
+ _tmp11_ = _tmp10_;
+#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_button_get_type (), GtkButton), _tmp11_);
+#line 828 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (_tmp11_);
#line 829 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7798 "SearchFilter.c"
+#line 7790 "SearchFilter.c"
}
- default:
- {
- GtkMenuButton* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- GtkMenuButton* _tmp14_ = NULL;
- RatingFilter _tmp15_ = 0;
- GtkWidget* _tmp16_ = NULL;
- GtkWidget* _tmp17_ = NULL;
-#line 831 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp12_ = self->button;
-#line 831 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp13_ = _ ("Rating");
-#line 831 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_button_get_type (), GtkButton), _tmp13_);
-#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp14_ = self->button;
-#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp15_ = filter;
-#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp16_ = search_filter_toolbar_rating_filter_button_get_filter_icon (self, _tmp15_);
+ }
#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp17_ = _tmp16_;
+ _tmp12_ = filter;
#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_button_get_type (), GtkButton), _tmp17_);
+ _tmp13_ = search_filter_toolbar_rating_filter_button_get_filter_button_size (self, _tmp12_);
#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (_tmp17_);
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp13_, -1);
#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- break;
-#line 7828 "SearchFilter.c"
- }
- }
-#line 836 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp18_ = filter;
-#line 836 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp19_ = search_filter_toolbar_rating_filter_button_get_filter_button_size (self, _tmp18_);
-#line 836 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp19_, -1);
-#line 837 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp20_ = filter;
-#line 837 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp21_ = resources_get_rating_filter_tooltip (_tmp20_);
-#line 837 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp22_ = _tmp21_;
-#line 837 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tool_item_get_type (), GtkToolItem), _tmp22_);
-#line 837 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_free0 (_tmp22_);
-#line 838 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp14_ = filter;
+#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp15_ = resources_get_rating_filter_tooltip (_tmp14_);
+#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp16_ = _tmp15_;
+#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tool_item_get_type (), GtkToolItem), _tmp16_);
+#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_free0 (_tmp16_);
+#line 834 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 835 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 7851 "SearchFilter.c"
+#line 7813 "SearchFilter.c"
}
static gint search_filter_toolbar_rating_filter_button_get_filter_button_size (SearchFilterToolbarRatingFilterButton* self, RatingFilter filter) {
gint result = 0;
- RatingFilter _tmp0_ = 0;
- gint _tmp1_ = 0;
-#line 842 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ RatingFilter _tmp0_;
+ gint _tmp1_;
+#line 838 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_RATING_FILTER_BUTTON (self), 0);
-#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = filter;
-#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = search_filter_toolbar_rating_filter_button_get_filter_icon_size (self, _tmp0_);
-#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp1_ + (2 * SEARCH_FILTER_TOOLBAR_FILTER_BUTTON_MARGIN);
-#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7869 "SearchFilter.c"
+#line 7831 "SearchFilter.c"
}
void search_filter_toolbar_rating_filter_button_set_label (SearchFilterToolbarRatingFilterButton* self, const gchar* label) {
- GtkMenuButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 846 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenuButton* _tmp0_;
+ const gchar* _tmp1_;
+#line 842 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_RATING_FILTER_BUTTON (self));
-#line 846 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 842 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (label != NULL);
-#line 847 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 847 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = label;
-#line 847 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 7886 "SearchFilter.c"
+#line 7848 "SearchFilter.c"
}
static void search_filter_toolbar_rating_filter_button_class_init (SearchFilterToolbarRatingFilterButtonClass * klass) {
-#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_rating_filter_button_parent_class = g_type_class_peek_parent (klass);
-#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_rating_filter_button_finalize;
-#line 7895 "SearchFilter.c"
+#line 7857 "SearchFilter.c"
}
@@ -7899,15 +7861,15 @@ static void search_filter_toolbar_rating_filter_button_instance_init (SearchFilt
}
-static void search_filter_toolbar_rating_filter_button_finalize (GObject* obj) {
+static void search_filter_toolbar_rating_filter_button_finalize (GObject * obj) {
SearchFilterToolbarRatingFilterButton * self;
-#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_RATING_FILTER_BUTTON, SearchFilterToolbarRatingFilterButton);
-#line 742 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 738 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->button);
-#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_rating_filter_button_parent_class)->finalize (obj);
-#line 7911 "SearchFilter.c"
+#line 7873 "SearchFilter.c"
}
@@ -7924,174 +7886,174 @@ GType search_filter_toolbar_rating_filter_button_get_type (void) {
static void _search_filter_toolbar_saved_search_filter_button_on_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_on_clicked ((SearchFilterToolbarSavedSearchFilterButton*) self);
-#line 7930 "SearchFilter.c"
+#line 7892 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_filter_button_construct (GType object_type) {
SearchFilterToolbarSavedSearchFilterButton * self = NULL;
- GtkToggleButton* _tmp0_ = NULL;
- GtkToggleButton* _tmp1_ = NULL;
+ GtkToggleButton* _tmp0_;
+ GtkToggleButton* _tmp1_;
GtkImage* image = NULL;
- GtkImage* _tmp2_ = NULL;
- GtkToggleButton* _tmp3_ = NULL;
- GtkToggleButton* _tmp4_ = NULL;
- GtkToggleButton* _tmp5_ = NULL;
- GtkToggleButton* _tmp6_ = NULL;
-#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkImage* _tmp2_;
+ GtkToggleButton* _tmp3_;
+ GtkToggleButton* _tmp4_;
+ GtkToggleButton* _tmp5_;
+ GtkToggleButton* _tmp6_;
+#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarSavedSearchFilterButton*) g_object_new (object_type, NULL);
-#line 859 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 855 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkToggleButton*) gtk_toggle_button_new ();
-#line 859 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 855 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp0_);
-#line 859 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 855 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->button);
-#line 859 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 855 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->button = _tmp0_;
-#line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 856 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->button;
-#line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 856 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), TRUE);
-#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("edit-find", GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp2_);
-#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
image = _tmp2_;
-#line 863 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 859 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (image, gtk_widget_get_type (), GtkWidget), 6);
-#line 864 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->button;
-#line 864 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_button_get_type (), GtkButton), G_TYPE_CHECK_INSTANCE_CAST (image, gtk_widget_get_type (), GtkWidget));
-#line 865 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 861 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->button;
-#line 865 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 861 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 867 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 863 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->button;
-#line 867 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 863 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_button_get_type (), GtkButton), "clicked", (GCallback) _search_filter_toolbar_saved_search_filter_button_on_clicked_gtk_button_clicked, self, 0);
-#line 869 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 865 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_restyle (self);
-#line 871 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 867 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_tool_item_set_homogeneous (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tool_item_get_type (), GtkToolItem), FALSE);
-#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 869 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->button;
-#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 869 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (image);
-#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7990 "SearchFilter.c"
+#line 7952 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_filter_button_new (void) {
-#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_filter_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON);
-#line 7997 "SearchFilter.c"
+#line 7959 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_filter_button_on_clicked (SearchFilterToolbarSavedSearchFilterButton* self) {
-#line 880 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 876 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
-#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "clicked");
-#line 8006 "SearchFilter.c"
+#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_filter_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_CLICKED_SIGNAL], 0);
+#line 7968 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_filter_button_set_active (SearchFilterToolbarSavedSearchFilterButton* self, gboolean active) {
- GtkToggleButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
-#line 884 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ gboolean _tmp1_;
+#line 880 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
-#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = active;
-#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toggle_button_set_active (_tmp0_, _tmp1_);
-#line 8021 "SearchFilter.c"
+#line 7983 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_filter_button_set_label (SearchFilterToolbarSavedSearchFilterButton* self, const gchar* label) {
- GtkToggleButton* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 888 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ const gchar* _tmp1_;
+#line 884 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
-#line 888 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 884 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (label != NULL);
-#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = label;
-#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 8038 "SearchFilter.c"
+#line 8000 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_filter_button_restyle (SearchFilterToolbarSavedSearchFilterButton* self) {
- GtkToggleButton* _tmp0_ = NULL;
- GtkToggleButton* _tmp1_ = NULL;
-#line 892 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ GtkToggleButton* _tmp1_;
+#line 888 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
-#line 893 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 893 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), 24, 24);
-#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 890 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->button;
-#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 890 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), GTK_RELIEF_NONE);
-#line 8055 "SearchFilter.c"
+#line 8017 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_filter_button_class_init (SearchFilterToolbarSavedSearchFilterButtonClass * klass) {
-#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_parent_class = g_type_class_peek_parent (klass);
-#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_saved_search_filter_button_finalize;
-#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 8066 "SearchFilter.c"
+#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_filter_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_FILTER_BUTTON_CLICKED_SIGNAL] = g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 8028 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_filter_button_instance_init (SearchFilterToolbarSavedSearchFilterButton * self) {
-#line 853 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 849 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->filter_popup = NULL;
-#line 8073 "SearchFilter.c"
+#line 8035 "SearchFilter.c"
}
-static void search_filter_toolbar_saved_search_filter_button_finalize (GObject* obj) {
+static void search_filter_toolbar_saved_search_filter_button_finalize (GObject * obj) {
SearchFilterToolbarSavedSearchFilterButton * self;
- GtkToggleButton* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
-#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkToggleButton* _tmp0_;
+ guint _tmp1_;
+#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON, SearchFilterToolbarSavedSearchFilterButton);
-#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->button;
-#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp1_, NULL, FALSE);
-#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_filter_button_on_clicked_gtk_button_clicked, self);
-#line 853 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 849 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_search_filter_toolbar_saved_search_popover_unref0 (self->filter_popup);
-#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 850 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->button);
-#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_saved_search_filter_button_parent_class)->finalize (obj);
-#line 8095 "SearchFilter.c"
+#line 8057 "SearchFilter.c"
}
@@ -8108,463 +8070,463 @@ GType search_filter_toolbar_saved_search_filter_button_get_type (void) {
static void _search_filter_toolbar_saved_search_popover_on_edit_click_search_filter_toolbar_saved_search_popover_data_button_clicked (SearchFilterToolbarSavedSearchPopoverDataButton* _sender, SavedSearch* search, gpointer self) {
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_edit_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8114 "SearchFilter.c"
+#line 8076 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_delete_click_search_filter_toolbar_saved_search_popover_data_button_clicked (SearchFilterToolbarSavedSearchPopoverDataButton* _sender, SavedSearch* search, gpointer self) {
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_delete_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8121 "SearchFilter.c"
+#line 8083 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_add_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 981 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 977 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_add_click ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8128 "SearchFilter.c"
+#line 8090 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_activate_row_gtk_list_box_row_activated (GtkListBox* _sender, GtkListBoxRow* row, gpointer self) {
-#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 978 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_activate_row ((SearchFilterToolbarSavedSearchPopover*) self, row);
-#line 8135 "SearchFilter.c"
+#line 8097 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_popover_closed_gtk_popover_closed (GtkPopover* _sender, gpointer self) {
-#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_popover_closed ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8142 "SearchFilter.c"
+#line 8104 "SearchFilter.c"
}
-static void _vala_array_add133 (SearchFilterToolbarSavedSearchPopoverDataButton*** array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+static void _vala_array_add133 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((*length) == (*size)) {
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8153 "SearchFilter.c"
+#line 8115 "SearchFilter.c"
}
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8159 "SearchFilter.c"
+#line 8121 "SearchFilter.c"
}
-static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton*** array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((*length) == (*size)) {
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8170 "SearchFilter.c"
+#line 8132 "SearchFilter.c"
}
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8176 "SearchFilter.c"
+#line 8138 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popover_construct (GType object_type, GtkWidget* relative_to) {
SearchFilterToolbarSavedSearchPopover* self = NULL;
- GtkWidget* _tmp0_ = NULL;
- GtkPopover* _tmp1_ = NULL;
- GtkPopover* _tmp2_ = NULL;
- GtkListBox* _tmp3_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp5_ = NULL;
- GtkButton* _tmp44_ = NULL;
- GtkButton* _tmp45_ = NULL;
- GtkListBox* _tmp46_ = NULL;
- GtkButton* _tmp47_ = NULL;
- GtkListBox* _tmp48_ = NULL;
- GtkListBox* _tmp49_ = NULL;
- GtkPopover* _tmp50_ = NULL;
- GtkListBox* _tmp51_ = NULL;
-#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkWidget* _tmp0_;
+ GtkPopover* _tmp1_;
+ GtkPopover* _tmp2_;
+ GtkListBox* _tmp3_;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp5_;
+ GtkButton* _tmp44_;
+ GtkButton* _tmp45_;
+ GtkListBox* _tmp46_;
+ GtkButton* _tmp47_;
+ GtkListBox* _tmp48_;
+ GtkListBox* _tmp49_;
+ GtkPopover* _tmp50_;
+ GtkListBox* _tmp51_;
+#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (GTK_IS_WIDGET (relative_to), NULL);
-#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarSavedSearchPopover*) g_type_create_instance (object_type);
-#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 939 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = relative_to;
-#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 939 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = (GtkPopover*) gtk_popover_new (_tmp0_);
-#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 939 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp1_);
-#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 939 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->popover);
-#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 939 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->popover = _tmp1_;
-#line 944 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 940 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->popover;
-#line 944 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 940 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (_tmp2_, "closed", (GCallback) _search_filter_toolbar_saved_search_popover_on_popover_closed_gtk_popover_closed, self);
-#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 941 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = (GtkListBox*) gtk_list_box_new ();
-#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 941 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp3_);
-#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 941 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->list_box);
-#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 941 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->list_box = _tmp3_;
-#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = g_new0 (SearchFilterToolbarSavedSearchPopoverDataButton*, 0 + 1);
-#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons = (_vala_array_free (self->priv->edit_buttons, self->priv->edit_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons = _tmp4_;
-#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons_length1 = 0;
-#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_edit_buttons_size_ = self->priv->edit_buttons_length1;
-#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_new0 (SearchFilterToolbarSavedSearchPopoverDataButton*, 0 + 1);
-#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons = (_vala_array_free (self->priv->delete_buttons, self->priv->delete_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons = _tmp5_;
-#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons_length1 = 0;
-#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_delete_buttons_size_ = self->priv->delete_buttons_length1;
-#line 8242 "SearchFilter.c"
+#line 8204 "SearchFilter.c"
{
GeeIterator* _search_it = NULL;
- SavedSearchTable* _tmp6_ = NULL;
- SavedSearchTable* _tmp7_ = NULL;
- GeeCollection* _tmp8_ = NULL;
- GeeCollection* _tmp9_ = NULL;
- GeeIterator* _tmp10_ = NULL;
- GeeIterator* _tmp11_ = NULL;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearchTable* _tmp6_;
+ SavedSearchTable* _tmp7_;
+ GeeCollection* _tmp8_;
+ GeeCollection* _tmp9_;
+ GeeIterator* _tmp10_;
+ GeeIterator* _tmp11_;
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = saved_search_table_get_instance ();
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = saved_search_table_get_all (_tmp7_);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp8_;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = _tmp10_;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp9_);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_saved_search_table_unref0 (_tmp7_);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_search_it = _tmp11_;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
while (TRUE) {
-#line 8271 "SearchFilter.c"
- GeeIterator* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+#line 8233 "SearchFilter.c"
+ GeeIterator* _tmp12_;
+ gboolean _tmp13_;
SavedSearch* search = NULL;
- GeeIterator* _tmp14_ = NULL;
- gpointer _tmp15_ = NULL;
+ GeeIterator* _tmp14_;
+ gpointer _tmp15_;
GtkBox* row = NULL;
- GtkBox* _tmp16_ = NULL;
- GtkBox* _tmp17_ = NULL;
+ GtkBox* _tmp16_;
+ GtkBox* _tmp17_;
GtkLabel* label = NULL;
- SavedSearch* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- GtkLabel* _tmp21_ = NULL;
- GtkLabel* _tmp22_ = NULL;
- GtkLabel* _tmp23_ = NULL;
- GtkBox* _tmp24_ = NULL;
- GtkLabel* _tmp25_ = NULL;
+ SavedSearch* _tmp18_;
+ gchar* _tmp19_;
+ gchar* _tmp20_;
+ GtkLabel* _tmp21_;
+ GtkLabel* _tmp22_;
+ GtkLabel* _tmp23_;
+ GtkBox* _tmp24_;
+ GtkLabel* _tmp25_;
SearchFilterToolbarSavedSearchPopoverDataButton* delete_button = NULL;
- SavedSearch* _tmp26_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp27_ = NULL;
- GtkBox* _tmp28_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp29_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp30_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp32_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp33_ = NULL;
+ SavedSearch* _tmp26_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp27_;
+ GtkBox* _tmp28_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp29_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp30_;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp31_;
+ gint _tmp31__length1;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp32_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp33_;
SearchFilterToolbarSavedSearchPopoverDataButton* edit_button = NULL;
- SavedSearch* _tmp34_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp35_ = NULL;
- GtkBox* _tmp36_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp37_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp38_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp39_ = NULL;
- gint _tmp39__length1 = 0;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp40_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp41_ = NULL;
- GtkListBox* _tmp42_ = NULL;
- GtkBox* _tmp43_ = NULL;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp34_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp35_;
+ GtkBox* _tmp36_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp37_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp38_;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp39_;
+ gint _tmp39__length1;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp40_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp41_;
+ GtkListBox* _tmp42_;
+ GtkBox* _tmp43_;
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = _search_it;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = gee_iterator_next (_tmp12_);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp13_) {
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8319 "SearchFilter.c"
+#line 8281 "SearchFilter.c"
}
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _search_it;
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = gee_iterator_get (_tmp14_);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search = (SavedSearch*) _tmp15_;
-#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 1);
-#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp16_);
-#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 946 "/home/jens/Source/shotwell/src/SearchFilter.vala"
row = _tmp16_;
-#line 951 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = row;
-#line 951 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_box_set_homogeneous (_tmp17_, FALSE);
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp18_ = search;
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_OBJECT, DataObject));
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp20_ = _tmp19_;
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp21_ = (GtkLabel*) gtk_label_new (_tmp20_);
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp21_);
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = _tmp21_;
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp20_);
-#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 948 "/home/jens/Source/shotwell/src/SearchFilter.vala"
label = _tmp22_;
-#line 953 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp23_ = label;
-#line 953 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 954 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp24_ = row;
-#line 954 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp25_ = label;
-#line 954 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 950 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_box_pack_start (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 3);
-#line 956 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp26_ = search;
-#line 956 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp27_ = search_filter_toolbar_saved_search_popover_data_button_new (_tmp26_, "edit-delete-symbolic");
-#line 956 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp27_);
-#line 956 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 952 "/home/jens/Source/shotwell/src/SearchFilter.vala"
delete_button = _tmp27_;
-#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 953 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp28_ = row;
-#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 953 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp29_ = delete_button;
-#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 953 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_box_pack_end (_tmp28_, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 958 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 954 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp30_ = delete_button;
-#line 958 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 954 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (_tmp30_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_on_delete_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp31_ = self->priv->delete_buttons;
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp31__length1 = self->priv->delete_buttons_length1;
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp32_ = delete_button;
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = _g_object_ref0 (_tmp32_);
-#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_vala_array_add133 (&self->priv->delete_buttons, &self->priv->delete_buttons_length1, &self->priv->_delete_buttons_size_, _tmp33_);
-#line 961 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp34_ = search;
-#line 961 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp35_ = search_filter_toolbar_saved_search_popover_data_button_new (_tmp34_, "text-editor-symbolic");
-#line 961 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp35_);
-#line 961 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
edit_button = _tmp35_;
-#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 958 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp36_ = row;
-#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 958 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp37_ = edit_button;
-#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 958 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_box_pack_end (_tmp36_, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 963 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp38_ = edit_button;
-#line 963 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (_tmp38_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_on_edit_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp39_ = self->priv->edit_buttons;
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp39__length1 = self->priv->edit_buttons_length1;
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp40_ = edit_button;
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp41_ = _g_object_ref0 (_tmp40_);
-#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_vala_array_add134 (&self->priv->edit_buttons, &self->priv->edit_buttons_length1, &self->priv->_edit_buttons_size_, _tmp41_);
-#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp42_ = self->priv->list_box;
-#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp43_ = row;
-#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_list_box_insert (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), -1);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (edit_button);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (delete_button);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (label);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (row);
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (search);
-#line 8435 "SearchFilter.c"
+#line 8397 "SearchFilter.c"
}
-#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_search_it);
-#line 8439 "SearchFilter.c"
+#line 8401 "SearchFilter.c"
}
-#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = (GtkButton*) gtk_button_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_BUTTON);
-#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp44_);
-#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->add);
-#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->add = _tmp44_;
-#line 969 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 965 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp45_ = self->priv->add;
-#line 969 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 965 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (_tmp45_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_on_add_click_gtk_button_clicked, self);
-#line 970 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp46_ = self->priv->list_box;
-#line 970 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp47_ = self->priv->add;
-#line 970 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 966 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_list_box_insert (_tmp46_, G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget), -1);
-#line 971 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 967 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp48_ = self->priv->list_box;
-#line 971 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 967 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect (_tmp48_, "row-activated", (GCallback) _search_filter_toolbar_saved_search_popover_on_activate_row_gtk_list_box_row_activated, self);
-#line 972 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp49_ = self->priv->list_box;
-#line 972 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_list_box_set_selection_mode (_tmp49_, GTK_SELECTION_NONE);
-#line 973 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 969 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp50_ = self->priv->popover;
-#line 973 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 969 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp51_ = self->priv->list_box;
-#line 973 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 969 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_widget_get_type (), GtkWidget));
-#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 971 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_restyle (self);
-#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8477 "SearchFilter.c"
+#line 8439 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popover_new (GtkWidget* relative_to) {
-#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_popover_construct (SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, relative_to);
-#line 8484 "SearchFilter.c"
+#line 8446 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSavedSearchPopover* self) {
- GtkButton* _tmp0_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
-#line 986 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkButton* _tmp0_;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp1_;
+ gint _tmp1__length1;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_;
+ gint _tmp4__length1;
+#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 987 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->add;
-#line 987 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (_tmp0_, GTK_RELIEF_NONE);
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->edit_buttons;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1__length1 = self->priv->edit_buttons_length1;
-#line 8504 "SearchFilter.c"
+#line 8466 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
gint _button_collection_size_ = 0;
gint button_it = 0;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection = _tmp1_;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection_length1 = _tmp1__length1;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp1__length1; button_it = button_it + 1) {
-#line 8516 "SearchFilter.c"
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_ = NULL;
+#line 8478 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _g_object_ref0 (button_collection[button_it]);
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp2_;
-#line 8523 "SearchFilter.c"
+#line 8485 "SearchFilter.c"
{
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp3_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp3_;
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = button;
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp3_);
-#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8532 "SearchFilter.c"
+#line 8494 "SearchFilter.c"
}
}
}
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->delete_buttons;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 8540 "SearchFilter.c"
+#line 8502 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
gint _button_collection_size_ = 0;
gint button_it = 0;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection = _tmp4_;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection_length1 = _tmp4__length1;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 8552 "SearchFilter.c"
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_ = NULL;
+#line 8514 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 8559 "SearchFilter.c"
+#line 8521 "SearchFilter.c"
{
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_ = NULL;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_;
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = button;
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp6_);
-#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8568 "SearchFilter.c"
+#line 8530 "SearchFilter.c"
}
}
}
@@ -8573,403 +8535,407 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
static gboolean search_filter_toolbar_saved_search_popover_is_search_row (SearchFilterToolbarSavedSearchPopover* self, GtkListBoxRow* row) {
gboolean result = FALSE;
- GtkListBoxRow* _tmp0_ = NULL;
- GtkListBoxRow* _tmp1_ = NULL;
- GList* _tmp2_ = NULL;
- GList* _tmp3_ = NULL;
- GList* _tmp4_ = NULL;
- gconstpointer _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
-#line 992 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkListBoxRow* _tmp0_;
+ GtkListBoxRow* _tmp1_;
+ GList* _tmp2_;
+ GList* _tmp3_;
+ GList* _tmp4_;
+ gconstpointer _tmp5_;
+ gboolean _tmp6_;
+#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self), FALSE);
-#line 992 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail ((row == NULL) || GTK_IS_LIST_BOX_ROW (row), FALSE);
-#line 993 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = row;
-#line 993 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ == NULL) {
-#line 993 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 993 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8596 "SearchFilter.c"
+#line 8558 "SearchFilter.c"
}
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = row;
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_container_get_type (), GtkContainer));
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_;
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = g_list_last (_tmp3_);
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _tmp4_->data;
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_TYPE ((GtkWidget*) _tmp5_, gtk_button_get_type ());
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_list_free0 (_tmp3_);
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_) {
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
-#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8618 "SearchFilter.c"
+#line 8580 "SearchFilter.c"
}
-#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 991 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
-#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 991 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8624 "SearchFilter.c"
+#line 8586 "SearchFilter.c"
}
static SavedSearch* search_filter_toolbar_saved_search_popover_get_search (SearchFilterToolbarSavedSearchPopover* self, GtkListBoxRow* row) {
SavedSearch* result = NULL;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
- GtkListBoxRow* _tmp0_ = NULL;
- GList* _tmp1_ = NULL;
- GList* _tmp2_ = NULL;
- GList* _tmp3_ = NULL;
- gconstpointer _tmp4_ = NULL;
- GtkWidget* _tmp5_ = NULL;
- GList* _tmp6_ = NULL;
- GList* _tmp7_ = NULL;
- GList* _tmp8_ = NULL;
- gconstpointer _tmp9_ = NULL;
- GtkWidget* _tmp10_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp11_ = NULL;
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp12_ = NULL;
- SavedSearch* _tmp13_ = NULL;
- SavedSearch* _tmp14_ = NULL;
- SavedSearch* _tmp15_ = NULL;
-#line 998 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkListBoxRow* _tmp0_;
+ GList* _tmp1_;
+ GList* _tmp2_;
+ GList* _tmp3_;
+ gconstpointer _tmp4_;
+ GtkWidget* _tmp5_;
+ GList* _tmp6_;
+ GList* _tmp7_;
+ GList* _tmp8_;
+ gconstpointer _tmp9_;
+ GtkWidget* _tmp10_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp11_;
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp12_;
+ SavedSearch* _tmp13_;
+ SavedSearch* _tmp14_;
+ SavedSearch* _tmp15_;
+#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self), NULL);
-#line 998 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (GTK_IS_LIST_BOX_ROW (row), NULL);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = row;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer));
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp1_;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_list_first (_tmp2_);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_->data;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = (GtkWidget*) _tmp4_;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, gtk_box_get_type ()) ? ((GtkBox*) _tmp5_) : NULL, gtk_container_get_type (), GtkContainer));
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp6_;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = g_list_last (_tmp7_);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp8_->data;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = (GtkWidget*) _tmp9_;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON) ? ((SearchFilterToolbarSavedSearchPopoverDataButton*) _tmp10_) : NULL);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = _tmp11_;
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_list_free0 (_tmp7_);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_list_free0 (_tmp2_);
-#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp12_;
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = search_filter_toolbar_saved_search_popover_data_button_get_search (button);
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _tmp13_;
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = _g_object_ref0 (_tmp14_);
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp15_;
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8695 "SearchFilter.c"
+#line 8657 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_on_activate_row (SearchFilterToolbarSavedSearchPopover* self, GtkListBoxRow* row) {
- GtkListBoxRow* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- GtkPopover* _tmp5_ = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkListBoxRow* _tmp0_;
+ gboolean _tmp1_;
+ GtkPopover* _tmp5_;
+#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1003 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 999 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail ((row == NULL) || GTK_IS_LIST_BOX_ROW (row));
-#line 1004 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = row;
-#line 1004 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = search_filter_toolbar_saved_search_popover_is_search_row (self, _tmp0_);
-#line 1004 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 8713 "SearchFilter.c"
- GtkListBoxRow* _tmp2_ = NULL;
- SavedSearch* _tmp3_ = NULL;
- SavedSearch* _tmp4_ = NULL;
-#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 8675 "SearchFilter.c"
+ GtkListBoxRow* _tmp2_;
+ SavedSearch* _tmp3_;
+ SavedSearch* _tmp4_;
+#line 1001 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = row;
-#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1001 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = search_filter_toolbar_saved_search_popover_get_search (self, _tmp2_);
-#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1001 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
-#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "search-activated", _tmp4_);
-#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1001 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_SEARCH_ACTIVATED_SIGNAL], 0, _tmp4_);
+#line 1001 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp4_);
-#line 8727 "SearchFilter.c"
+#line 8689 "SearchFilter.c"
}
-#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1002 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->popover;
-#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1002 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 8733 "SearchFilter.c"
+#line 8695 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_on_edit_click (SearchFilterToolbarSavedSearchPopover* self, SavedSearch* search) {
- SavedSearch* _tmp0_ = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp0_;
+#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1009 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SAVED_SEARCH (search));
-#line 1010 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search;
-#line 1010 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "edit-clicked", _tmp0_);
-#line 8747 "SearchFilter.c"
+#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_EDIT_CLICKED_SIGNAL], 0, _tmp0_);
+#line 8709 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_on_delete_click (SearchFilterToolbarSavedSearchPopover* self, SavedSearch* search) {
- SavedSearch* _tmp0_ = NULL;
-#line 1013 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp0_;
+#line 1009 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1013 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1009 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SAVED_SEARCH (search));
-#line 1014 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1010 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = search;
-#line 1014 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "delete-clicked", _tmp0_);
-#line 8761 "SearchFilter.c"
+#line 1010 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DELETE_CLICKED_SIGNAL], 0, _tmp0_);
+#line 8723 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_on_add_click (SearchFilterToolbarSavedSearchPopover* self) {
-#line 1017 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1013 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1018 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "add-clicked");
-#line 8770 "SearchFilter.c"
+#line 1014 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_ADD_CLICKED_SIGNAL], 0);
+#line 8732 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_on_popover_closed (SearchFilterToolbarSavedSearchPopover* self) {
-#line 1021 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1017 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1022 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "closed");
-#line 8779 "SearchFilter.c"
+#line 1018 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_CLOSED_SIGNAL], 0);
+#line 8741 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_popover_show_all (SearchFilterToolbarSavedSearchPopover* self) {
- GtkPopover* _tmp0_ = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkPopover* _tmp0_;
+#line 1021 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1022 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->popover;
-#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1022 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 8791 "SearchFilter.c"
+#line 8753 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_popover_hide (SearchFilterToolbarSavedSearchPopover* self) {
- GtkPopover* _tmp0_ = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkPopover* _tmp0_;
+#line 1025 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
-#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->popover;
-#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 8803 "SearchFilter.c"
+#line 8765 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_on_click ((SearchFilterToolbarSavedSearchPopoverDataButton*) self);
-#line 8810 "SearchFilter.c"
+#line 8772 "SearchFilter.c"
}
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_construct (GType object_type, SavedSearch* search, const gchar* name) {
SearchFilterToolbarSavedSearchPopoverDataButton * self = NULL;
- const gchar* _tmp0_ = NULL;
- GtkButton* _tmp1_ = NULL;
- SavedSearch* _tmp2_ = NULL;
- GtkButton* _tmp3_ = NULL;
- GtkButton* _tmp4_ = NULL;
-#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ const gchar* _tmp0_;
+ GtkButton* _tmp1_;
+ SavedSearch* _tmp2_;
+ GtkButton* _tmp3_;
+ GtkButton* _tmp4_;
+#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SAVED_SEARCH (search), NULL);
-#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarSavedSearchPopoverDataButton*) g_object_new (object_type, NULL);
-#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 915 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = name;
-#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 915 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = (GtkButton*) gtk_button_new_from_icon_name (_tmp0_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 915 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp1_);
-#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 915 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 915 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = _tmp1_;
-#line 920 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 916 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search;
-#line 920 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 916 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_set_search (self, _tmp2_);
-#line 921 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 917 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->button;
-#line 921 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 917 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 923 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 919 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_restyle (self);
-#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 921 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->button;
-#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 921 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp4_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked, self, 0);
-#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8853 "SearchFilter.c"
+#line 8815 "SearchFilter.c"
}
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_new (SavedSearch* search, const gchar* name) {
-#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_popover_data_button_construct (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, search, name);
-#line 8860 "SearchFilter.c"
+#line 8822 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_data_button_restyle (SearchFilterToolbarSavedSearchPopoverDataButton* self) {
- GtkButton* _tmp0_ = NULL;
- GtkButton* _tmp1_ = NULL;
-#line 932 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkButton* _tmp0_;
+ GtkButton* _tmp1_;
+#line 928 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_IS_DATA_BUTTON (self));
-#line 933 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->button;
-#line 933 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), 24, 24);
-#line 934 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 930 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->button;
-#line 934 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 930 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (_tmp1_, GTK_RELIEF_NONE);
-#line 8877 "SearchFilter.c"
+#line 8839 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_data_button_on_click (SearchFilterToolbarSavedSearchPopoverDataButton* self) {
- SavedSearch* _tmp0_ = NULL;
-#line 937 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp0_;
+#line 933 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_IS_DATA_BUTTON (self));
-#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 934 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->_search;
-#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "clicked", _tmp0_);
-#line 8889 "SearchFilter.c"
+#line 934 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit (self, search_filter_toolbar_saved_search_popover_data_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_CLICKED_SIGNAL], 0, _tmp0_);
+#line 8851 "SearchFilter.c"
}
static SavedSearch* search_filter_toolbar_saved_search_popover_data_button_get_search (SearchFilterToolbarSavedSearchPopoverDataButton* self) {
SavedSearch* result;
- SavedSearch* _tmp0_ = NULL;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SavedSearch* _tmp0_;
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_IS_DATA_BUTTON (self), NULL);
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->_search;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8904 "SearchFilter.c"
+#line 8866 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_data_button_set_search (SearchFilterToolbarSavedSearchPopoverDataButton* self, SavedSearch* value) {
- SavedSearch* _tmp0_ = NULL;
- SavedSearch* _tmp1_ = NULL;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_IS_DATA_BUTTON (self));
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp0_ = value;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (self->priv->_search);
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- self->priv->_search = _tmp1_;
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_notify ((GObject *) self, "search");
-#line 8923 "SearchFilter.c"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (search_filter_toolbar_saved_search_popover_data_button_get_search (self) != value) {
+#line 8875 "SearchFilter.c"
+ SavedSearch* _tmp0_;
+ SavedSearch* _tmp1_;
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp0_ = value;
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_object_unref0 (self->priv->_search);
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ self->priv->_search = _tmp1_;
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_notify ((GObject *) self, "search");
+#line 8888 "SearchFilter.c"
+ }
}
static void search_filter_toolbar_saved_search_popover_data_button_class_init (SearchFilterToolbarSavedSearchPopoverDataButtonClass * klass) {
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_parent_class = g_type_class_peek_parent (klass);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarSavedSearchPopoverDataButtonPrivate));
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->get_property = _vala_search_filter_toolbar_saved_search_popover_data_button_get_property;
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->set_property = _vala_search_filter_toolbar_saved_search_popover_data_button_set_property;
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_saved_search_popover_data_button_finalize;
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH, g_param_spec_object ("search", "search", "search", TYPE_SAVED_SEARCH, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
-#line 8942 "SearchFilter.c"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH_PROPERTY, g_param_spec_object ("search", "search", "search", TYPE_SAVED_SEARCH, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_data_button_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_CLICKED_SIGNAL] = g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
+#line 8908 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_data_button_instance_init (SearchFilterToolbarSavedSearchPopoverDataButton * self) {
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_GET_PRIVATE (self);
-#line 913 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 909 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = NULL;
-#line 8951 "SearchFilter.c"
+#line 8917 "SearchFilter.c"
}
-static void search_filter_toolbar_saved_search_popover_data_button_finalize (GObject* obj) {
+static void search_filter_toolbar_saved_search_popover_data_button_finalize (GObject * obj) {
SearchFilterToolbarSavedSearchPopoverDataButton * self;
- GtkButton* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkButton* _tmp0_;
+ guint _tmp1_;
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, SearchFilterToolbarSavedSearchPopoverDataButton);
-#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->button;
-#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp1_, NULL, FALSE);
-#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked, self);
-#line 913 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 909 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->_search);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_saved_search_popover_data_button_parent_class)->finalize (obj);
-#line 8973 "SearchFilter.c"
+#line 8939 "SearchFilter.c"
}
@@ -8988,21 +8954,21 @@ static GType search_filter_toolbar_saved_search_popover_data_button_get_type (vo
static void _vala_search_filter_toolbar_saved_search_popover_data_button_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
SearchFilterToolbarSavedSearchPopoverDataButton * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, SearchFilterToolbarSavedSearchPopoverDataButton);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
switch (property_id) {
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH:
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH_PROPERTY:
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_value_set_object (value, search_filter_toolbar_saved_search_popover_data_button_get_search (self));
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 9000 "SearchFilter.c"
+#line 8966 "SearchFilter.c"
default:
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 9006 "SearchFilter.c"
+#line 8972 "SearchFilter.c"
}
}
@@ -9010,376 +8976,376 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_get_pro
static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
SearchFilterToolbarSavedSearchPopoverDataButton * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, SearchFilterToolbarSavedSearchPopoverDataButton);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
switch (property_id) {
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- case SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH:
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ case SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH_PROPERTY:
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_set_search (self, g_value_get_object (value));
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 9022 "SearchFilter.c"
+#line 8988 "SearchFilter.c"
default:
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
-#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 9028 "SearchFilter.c"
+#line 8994 "SearchFilter.c"
}
}
static void search_filter_toolbar_value_saved_search_popover_init (GValue* value) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9036 "SearchFilter.c"
+#line 9002 "SearchFilter.c"
}
static void search_filter_toolbar_value_saved_search_popover_free_value (GValue* value) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (value->data[0].v_pointer) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (value->data[0].v_pointer);
-#line 9045 "SearchFilter.c"
+#line 9011 "SearchFilter.c"
}
}
static void search_filter_toolbar_value_saved_search_popover_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (src_value->data[0].v_pointer) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = search_filter_toolbar_saved_search_popover_ref (src_value->data[0].v_pointer);
-#line 9055 "SearchFilter.c"
+#line 9021 "SearchFilter.c"
} else {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9059 "SearchFilter.c"
+#line 9025 "SearchFilter.c"
}
}
static gpointer search_filter_toolbar_value_saved_search_popover_peek_pointer (const GValue* value) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 9067 "SearchFilter.c"
+#line 9033 "SearchFilter.c"
}
static gchar* search_filter_toolbar_value_saved_search_popover_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 9074 "SearchFilter.c"
- SearchFilterToolbarSavedSearchPopover* object;
+#line 9040 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchPopover * object;
object = collect_values[0].v_pointer;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9081 "SearchFilter.c"
+#line 9047 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.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 9085 "SearchFilter.c"
+#line 9051 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_toolbar_saved_search_popover_ref (object);
-#line 9089 "SearchFilter.c"
+#line 9055 "SearchFilter.c"
} else {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9093 "SearchFilter.c"
+#line 9059 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9097 "SearchFilter.c"
+#line 9063 "SearchFilter.c"
}
static gchar* search_filter_toolbar_value_saved_search_popover_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- SearchFilterToolbarSavedSearchPopover** object_p;
+ SearchFilterToolbarSavedSearchPopover ** object_p;
object_p = collect_values[0].v_pointer;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!object_p) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9108 "SearchFilter.c"
+#line 9074 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 9114 "SearchFilter.c"
+#line 9080 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 9118 "SearchFilter.c"
+#line 9084 "SearchFilter.c"
} else {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9122 "SearchFilter.c"
+#line 9088 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9126 "SearchFilter.c"
+#line 9092 "SearchFilter.c"
}
GParamSpec* search_filter_toolbar_param_spec_saved_search_popover (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
SearchFilterToolbarParamSpecSavedSearchPopover* spec;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (g_type_is_a (object_type, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER), NULL);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 9140 "SearchFilter.c"
+#line 9106 "SearchFilter.c"
}
gpointer search_filter_toolbar_value_get_saved_search_popover (const GValue* value) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER), NULL);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 9149 "SearchFilter.c"
+#line 9115 "SearchFilter.c"
}
void search_filter_toolbar_value_set_saved_search_popover (GValue* value, gpointer v_object) {
- SearchFilterToolbarSavedSearchPopover* old;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopover * old;
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9169 "SearchFilter.c"
+#line 9135 "SearchFilter.c"
} else {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9173 "SearchFilter.c"
+#line 9139 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9179 "SearchFilter.c"
+#line 9145 "SearchFilter.c"
}
}
void search_filter_toolbar_value_take_saved_search_popover (GValue* value, gpointer v_object) {
- SearchFilterToolbarSavedSearchPopover* old;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopover * old;
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
old = value->data[0].v_pointer;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (v_object) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 9198 "SearchFilter.c"
+#line 9164 "SearchFilter.c"
} else {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9202 "SearchFilter.c"
+#line 9168 "SearchFilter.c"
}
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9208 "SearchFilter.c"
+#line 9174 "SearchFilter.c"
}
}
static void search_filter_toolbar_saved_search_popover_class_init (SearchFilterToolbarSavedSearchPopoverClass * klass) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_parent_class = g_type_class_peek_parent (klass);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((SearchFilterToolbarSavedSearchPopoverClass *) klass)->finalize = search_filter_toolbar_saved_search_popover_finalize;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarSavedSearchPopoverPrivate));
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("search_activated", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("edit_clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("delete_clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("add_clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_new ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 9230 "SearchFilter.c"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_SEARCH_ACTIVATED_SIGNAL] = g_signal_new ("search-activated", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_EDIT_CLICKED_SIGNAL] = g_signal_new ("edit-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DELETE_CLICKED_SIGNAL] = g_signal_new ("delete-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_ADD_CLICKED_SIGNAL] = g_signal_new ("add-clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ search_filter_toolbar_saved_search_popover_signals[SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_CLOSED_SIGNAL] = g_signal_new ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 9196 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_popover_instance_init (SearchFilterToolbarSavedSearchPopover * self) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_GET_PRIVATE (self);
-#line 899 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 895 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->popover = NULL;
-#line 900 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 896 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->list_box = NULL;
-#line 901 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 897 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons = NULL;
-#line 901 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 897 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons_length1 = 0;
-#line 901 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 897 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_edit_buttons_size_ = self->priv->edit_buttons_length1;
-#line 902 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons = NULL;
-#line 902 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons_length1 = 0;
-#line 902 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_delete_buttons_size_ = self->priv->delete_buttons_length1;
-#line 903 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 899 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->add = NULL;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 9257 "SearchFilter.c"
+#line 9223 "SearchFilter.c"
}
-static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToolbarSavedSearchPopover* obj) {
+static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToolbarSavedSearchPopover * obj) {
SearchFilterToolbarSavedSearchPopover * self;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- GtkButton* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- GtkListBox* _tmp10_ = NULL;
- guint _tmp11_ = 0U;
- GtkPopover* _tmp12_ = NULL;
- guint _tmp13_ = 0U;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp0_;
+ gint _tmp0__length1;
+ SearchFilterToolbarSavedSearchPopoverDataButton** _tmp4_;
+ gint _tmp4__length1;
+ GtkButton* _tmp8_;
+ guint _tmp9_;
+ GtkListBox* _tmp10_;
+ guint _tmp11_;
+ GtkPopover* _tmp12_;
+ guint _tmp13_;
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, SearchFilterToolbarSavedSearchPopover);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_destroy (self);
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->edit_buttons;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0__length1 = self->priv->edit_buttons_length1;
-#line 9281 "SearchFilter.c"
+#line 9247 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
gint _button_collection_size_ = 0;
gint button_it = 0;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection = _tmp0_;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection_length1 = _tmp0__length1;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp0__length1; button_it = button_it + 1) {
-#line 9293 "SearchFilter.c"
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp1_ = NULL;
+#line 9259 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp1_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _g_object_ref0 (button_collection[button_it]);
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp1_;
-#line 9300 "SearchFilter.c"
+#line 9266 "SearchFilter.c"
{
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_;
+ guint _tmp3_;
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = button;
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("clicked", SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, &_tmp3_, NULL, FALSE);
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_edit_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
-#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9312 "SearchFilter.c"
+#line 9278 "SearchFilter.c"
}
}
}
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->delete_buttons;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 9320 "SearchFilter.c"
+#line 9286 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
gint _button_collection_size_ = 0;
gint button_it = 0;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection = _tmp4_;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button_collection_length1 = _tmp4__length1;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 9332 "SearchFilter.c"
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_ = NULL;
+#line 9298 "SearchFilter.c"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 9339 "SearchFilter.c"
+#line 9305 "SearchFilter.c"
{
- SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_;
+ guint _tmp7_;
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = button;
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("clicked", SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, &_tmp7_, NULL, FALSE);
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_delete_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
-#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9351 "SearchFilter.c"
+#line 9317 "SearchFilter.c"
}
}
}
-#line 981 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 977 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->add;
-#line 981 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 977 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp9_, NULL, FALSE);
-#line 981 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 977 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_add_click_gtk_button_clicked, self);
-#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 978 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->list_box;
-#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 978 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("row-activated", gtk_list_box_get_type (), &_tmp11_, NULL, FALSE);
-#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 978 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_activate_row_gtk_list_box_row_activated, self);
-#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = self->priv->popover;
-#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("closed", gtk_popover_get_type (), &_tmp13_, NULL, FALSE);
-#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_popover_closed_gtk_popover_closed, self);
-#line 899 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 895 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->popover);
-#line 900 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 896 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->list_box);
-#line 901 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 897 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->edit_buttons = (_vala_array_free (self->priv->edit_buttons, self->priv->edit_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 902 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->delete_buttons = (_vala_array_free (self->priv->delete_buttons, self->priv->delete_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 903 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 899 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->add);
-#line 9383 "SearchFilter.c"
+#line 9349 "SearchFilter.c"
}
@@ -9398,195 +9364,195 @@ GType search_filter_toolbar_saved_search_popover_get_type (void) {
gpointer search_filter_toolbar_saved_search_popover_ref (gpointer instance) {
- SearchFilterToolbarSavedSearchPopover* self;
+ SearchFilterToolbarSavedSearchPopover * self;
self = instance;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_atomic_int_inc (&self->ref_count);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 9408 "SearchFilter.c"
+#line 9374 "SearchFilter.c"
}
void search_filter_toolbar_saved_search_popover_unref (gpointer instance) {
- SearchFilterToolbarSavedSearchPopover* self;
+ SearchFilterToolbarSavedSearchPopover * self;
self = instance;
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_GET_CLASS (self)->finalize (self);
-#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9421 "SearchFilter.c"
+#line 9387 "SearchFilter.c"
}
}
static void search_filter_toolbar_class_init (SearchFilterToolbarClass * klass) {
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_parent_class = g_type_class_peek_parent (klass);
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarPrivate));
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_finalize;
-#line 9433 "SearchFilter.c"
+#line 9399 "SearchFilter.c"
}
static void search_filter_toolbar_instance_init (SearchFilterToolbar * self) {
- GtkMenu* _tmp0_ = NULL;
- GtkMenuItem* _tmp1_ = NULL;
- GtkBuilder* _tmp2_ = NULL;
- SearchFilterToolbarSavedSearchFilterButton* _tmp3_ = NULL;
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkMenu* _tmp0_;
+ GtkMenuItem* _tmp1_;
+ GtkBuilder* _tmp2_;
+ SearchFilterToolbarSavedSearchFilterButton* _tmp3_;
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_GET_PRIVATE (self);
-#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 659 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkMenu*) gtk_menu_new ();
-#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 659 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp0_);
-#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 659 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->close_menu = _tmp0_;
-#line 664 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 660 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = (GtkMenuItem*) gtk_menu_item_new ();
-#line 664 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 660 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp1_);
-#line 664 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 660 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->close_item = _tmp1_;
-#line 1034 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = gtk_builder_new ();
-#line 1034 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->builder = _tmp2_;
-#line 1037 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1033 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->saved_search = NULL;
-#line 1040 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1036 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = search_filter_toolbar_saved_search_filter_button_new ();
-#line 1040 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1036 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp3_);
-#line 1040 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1036 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->saved_search_button = _tmp3_;
-#line 1041 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1037 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->elide_showing_again = FALSE;
-#line 1042 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1038 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_filter = NULL;
-#line 9472 "SearchFilter.c"
+#line 9438 "SearchFilter.c"
}
-static void search_filter_toolbar_finalize (GObject* obj) {
+static void search_filter_toolbar_finalize (GObject * obj) {
SearchFilterToolbar * self;
- SearchFilterActions* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- SearchFilterActions* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- SearchFilterActions* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- SearchFilterActions* _tmp6_ = NULL;
- guint _tmp7_ = 0U;
- SearchFilterActions* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- SearchFilterActions* _tmp10_ = NULL;
- guint _tmp11_ = 0U;
- SearchFilterActions* _tmp12_ = NULL;
- guint _tmp13_ = 0U;
- SearchFilterActions* _tmp14_ = NULL;
- guint _tmp15_ = 0U;
- GtkToolbar* _tmp16_ = NULL;
- guint _tmp17_ = 0U;
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ SearchFilterActions* _tmp0_;
+ guint _tmp1_;
+ SearchFilterActions* _tmp2_;
+ guint _tmp3_;
+ SearchFilterActions* _tmp4_;
+ guint _tmp5_;
+ SearchFilterActions* _tmp6_;
+ guint _tmp7_;
+ SearchFilterActions* _tmp8_;
+ guint _tmp9_;
+ SearchFilterActions* _tmp10_;
+ guint _tmp11_;
+ SearchFilterActions* _tmp12_;
+ guint _tmp13_;
+ SearchFilterActions* _tmp14_;
+ guint _tmp15_;
+ GtkToolbar* _tmp16_;
+ guint _tmp17_;
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SEARCH_FILTER_TOOLBAR, SearchFilterToolbar);
-#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1154 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->actions;
-#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1154 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("media-context-changed", TYPE_SEARCH_FILTER_ACTIONS, &_tmp1_, NULL, FALSE);
-#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1154 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _search_filter_toolbar_on_media_context_changed_search_filter_actions_media_context_changed, self);
-#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1156 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->actions;
-#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1156 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("flagged-toggled", TYPE_SEARCH_FILTER_ACTIONS, &_tmp3_, NULL, FALSE);
-#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1156 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled, self);
-#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->actions;
-#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("photos-toggled", TYPE_SEARCH_FILTER_ACTIONS, &_tmp5_, NULL, FALSE);
-#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled, self);
-#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->actions;
-#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("videos-toggled", TYPE_SEARCH_FILTER_ACTIONS, &_tmp7_, NULL, FALSE);
-#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled, self);
-#line 1163 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->actions;
-#line 1163 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("raw-toggled", TYPE_SEARCH_FILTER_ACTIONS, &_tmp9_, NULL, FALSE);
-#line 1163 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled, self);
-#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->actions;
-#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("rating-changed", TYPE_SEARCH_FILTER_ACTIONS, &_tmp11_, NULL, FALSE);
-#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed, self);
-#line 1165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp12_ = self->priv->actions;
-#line 1165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("text-changed", TYPE_SEARCH_FILTER_ACTIONS, &_tmp13_, NULL, FALSE);
-#line 1165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed, self);
-#line 1166 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = self->priv->actions;
-#line 1166 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("criteria-changed", TYPE_SEARCH_FILTER_ACTIONS, &_tmp15_, NULL, FALSE);
-#line 1166 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp14_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp15_, 0, NULL, (GCallback) _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed, self);
-#line 1168 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = self->priv->toolbar;
-#line 1168 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_parse_name ("popup-context-menu", gtk_toolbar_get_type (), &_tmp17_, NULL, FALSE);
-#line 1168 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp16_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_popup_context_menu, self);
-#line 607 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbar);
-#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 659 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->close_menu);
-#line 664 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 660 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->close_item);
-#line 1034 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->builder);
-#line 1036 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1032 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_search_filter_actions_unref0 (self->priv->actions);
-#line 1037 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1033 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
-#line 1038 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1034 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->search_box);
-#line 1039 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1035 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->rating_button);
-#line 1040 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1036 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search_button);
-#line 1042 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1038 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_view_filter_unref0 (self->priv->search_filter);
-#line 1043 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1039 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->label_type);
-#line 1044 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1040 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbtn_photos);
-#line 1045 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1041 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbtn_videos);
-#line 1046 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1042 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbtn_raw);
-#line 1047 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1043 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbtn_flag);
-#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1044 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->sepr_mediatype_flagged);
-#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1045 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->sepr_flagged_rating);
-#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 1046 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->sepr_rating_saved);
-#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_parent_class)->finalize (obj);
-#line 9590 "SearchFilter.c"
+#line 9556 "SearchFilter.c"
}