summaryrefslogtreecommitdiff
path: root/src/SearchFilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/SearchFilter.c')
-rw-r--r--src/SearchFilter.c1177
1 files changed, 587 insertions, 590 deletions
diff --git a/src/SearchFilter.c b/src/SearchFilter.c
index c40b19f..00b08ac 100644
--- a/src/SearchFilter.c
+++ b/src/SearchFilter.c
@@ -566,7 +566,6 @@ typedef struct _SearchFilterToolbarSavedSearchPopoverClass SearchFilterToolbarSa
typedef struct _SavedSearchDialog SavedSearchDialog;
typedef struct _SavedSearchDialogClass SavedSearchDialogClass;
-#define _saved_search_dialog_unref0(var) ((var == NULL) ? NULL : (var = (saved_search_dialog_unref (var), NULL)))
#define TYPE_COMMAND_MANAGER (command_manager_get_type ())
#define COMMAND_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COMMAND_MANAGER, CommandManager))
@@ -1076,7 +1075,7 @@ gboolean is_string_empty (const gchar* s);
const gchar* search_view_filter_get_search_filter (SearchViewFilter* self);
gchar** search_view_filter_get_search_filter_words (SearchViewFilter* self, int* result_length1);
void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar* text);
-static gchar** _vala_array_dup32 (gchar** self, int length);
+static gchar** _vala_array_dup27 (gchar** self, int length);
void search_view_filter_clear_search_filter (SearchViewFilter* self);
gboolean search_view_filter_has_saved_search (SearchViewFilter* self);
SavedSearch* search_view_filter_get_saved_search (SearchViewFilter* self);
@@ -1337,12 +1336,6 @@ void search_filter_toolbar_value_take_saved_search_popover (GValue* value, gpoin
gpointer search_filter_toolbar_value_get_saved_search_popover (const GValue* value);
GType search_filter_toolbar_saved_search_popover_get_type (void) G_GNUC_CONST;
void search_filter_toolbar_saved_search_popover_hide (SearchFilterToolbarSavedSearchPopover* self);
-gpointer saved_search_dialog_ref (gpointer instance);
-void saved_search_dialog_unref (gpointer instance);
-GParamSpec* param_spec_saved_search_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_saved_search_dialog (GValue* value, gpointer v_object);
-void value_take_saved_search_dialog (GValue* value, gpointer v_object);
-gpointer value_get_saved_search_dialog (const GValue* value);
GType saved_search_dialog_get_type (void) G_GNUC_CONST;
SavedSearchDialog* saved_search_dialog_new_edit_existing (SavedSearch* saved_search);
SavedSearchDialog* saved_search_dialog_construct_edit_existing (GType object_type, SavedSearch* saved_search);
@@ -1454,8 +1447,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_add135 (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);
@@ -1510,7 +1503,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 1514 "SearchFilter.c"
+#line 1507 "SearchFilter.c"
}
@@ -1519,7 +1512,7 @@ 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 1523 "SearchFilter.c"
+#line 1516 "SearchFilter.c"
}
@@ -1538,7 +1531,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 1542 "SearchFilter.c"
+#line 1535 "SearchFilter.c"
{
#line 71 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1546,11 +1539,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 1550 "SearchFilter.c"
+#line 1543 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1554 "SearchFilter.c"
+#line 1547 "SearchFilter.c"
{
#line 76 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1558,11 +1551,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 1562 "SearchFilter.c"
+#line 1555 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1566 "SearchFilter.c"
+#line 1559 "SearchFilter.c"
{
#line 81 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1570,11 +1563,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 1574 "SearchFilter.c"
+#line 1567 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_ONLY:
-#line 1578 "SearchFilter.c"
+#line 1571 "SearchFilter.c"
{
#line 86 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1582,11 +1575,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 1586 "SearchFilter.c"
+#line 1579 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1590 "SearchFilter.c"
+#line 1583 "SearchFilter.c"
{
#line 91 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1594,11 +1587,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 1598 "SearchFilter.c"
+#line 1591 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_ONLY:
-#line 1602 "SearchFilter.c"
+#line 1595 "SearchFilter.c"
{
#line 96 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1606,11 +1599,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 1610 "SearchFilter.c"
+#line 1603 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1614 "SearchFilter.c"
+#line 1607 "SearchFilter.c"
{
#line 101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1618,11 +1611,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 1622 "SearchFilter.c"
+#line 1615 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_ONLY:
-#line 1626 "SearchFilter.c"
+#line 1619 "SearchFilter.c"
{
#line 106 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1630,11 +1623,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 1634 "SearchFilter.c"
+#line 1627 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1638 "SearchFilter.c"
+#line 1631 "SearchFilter.c"
{
#line 111 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1642,11 +1635,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 1646 "SearchFilter.c"
+#line 1639 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_ONLY:
-#line 1650 "SearchFilter.c"
+#line 1643 "SearchFilter.c"
{
#line 116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1654,11 +1647,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 1658 "SearchFilter.c"
+#line 1651 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1662 "SearchFilter.c"
+#line 1655 "SearchFilter.c"
{
#line 121 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1666,11 +1659,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 1670 "SearchFilter.c"
+#line 1663 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 1674 "SearchFilter.c"
+#line 1667 "SearchFilter.c"
{
#line 126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1678,12 +1671,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 1682 "SearchFilter.c"
+#line 1675 "SearchFilter.c"
}
default:
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1687 "SearchFilter.c"
+#line 1680 "SearchFilter.c"
{
#line 132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_UNRATED;
@@ -1691,7 +1684,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 1695 "SearchFilter.c"
+#line 1688 "SearchFilter.c"
}
}
}
@@ -1711,7 +1704,7 @@ gboolean search_view_filter_has_search_filter (SearchViewFilter* self) {
result = !_tmp1_;
#line 139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1715 "SearchFilter.c"
+#line 1708 "SearchFilter.c"
}
@@ -1726,7 +1719,7 @@ const gchar* search_view_filter_get_search_filter (SearchViewFilter* self) {
result = _tmp0_;
#line 143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1730 "SearchFilter.c"
+#line 1723 "SearchFilter.c"
}
@@ -1750,34 +1743,34 @@ 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 1754 "SearchFilter.c"
+#line 1747 "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 1760 "SearchFilter.c"
+#line 1753 "SearchFilter.c"
}
-static gchar** _vala_array_dup32 (gchar** self, int length) {
+static gchar** _vala_array_dup27 (gchar** self, int length) {
gchar** result;
int i;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = g_new0 (gchar*, length + 1);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (i = 0; i < length; i++) {
-#line 1771 "SearchFilter.c"
+#line 1764 "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 1777 "SearchFilter.c"
+#line 1770 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1781 "SearchFilter.c"
+#line 1774 "SearchFilter.c"
}
@@ -1800,7 +1793,7 @@ 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 1804 "SearchFilter.c"
+#line 1797 "SearchFilter.c"
const gchar* _tmp3_;
gchar* _tmp4_;
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1811,13 +1804,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 1815 "SearchFilter.c"
+#line 1808 "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 1821 "SearchFilter.c"
+#line 1814 "SearchFilter.c"
}
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_strdup (_tmp0_);
@@ -1829,7 +1822,7 @@ 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 1833 "SearchFilter.c"
+#line 1826 "SearchFilter.c"
const gchar* _tmp8_;
gchar** _tmp9_;
gchar** _tmp10_;
@@ -1845,7 +1838,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 1849 "SearchFilter.c"
+#line 1842 "SearchFilter.c"
} else {
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
@@ -1855,10 +1848,10 @@ 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 1859 "SearchFilter.c"
+#line 1852 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp11_ = (_tmp6_ != NULL) ? _vala_array_dup32 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
+ _tmp11_ = (_tmp6_ != NULL) ? _vala_array_dup27 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11__length1 = _tmp6__length1;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1873,7 +1866,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 1877 "SearchFilter.c"
+#line 1870 "SearchFilter.c"
}
@@ -1892,7 +1885,7 @@ 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 1896 "SearchFilter.c"
+#line 1889 "SearchFilter.c"
}
@@ -1907,7 +1900,7 @@ gboolean search_view_filter_has_saved_search (SearchViewFilter* self) {
result = _tmp0_ != NULL;
#line 161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1911 "SearchFilter.c"
+#line 1904 "SearchFilter.c"
}
@@ -1922,7 +1915,7 @@ gboolean search_view_filter_get_rating_allow_higher (SearchViewFilter* self) {
result = _tmp0_;
#line 165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1926 "SearchFilter.c"
+#line 1919 "SearchFilter.c"
}
@@ -1937,7 +1930,7 @@ Rating search_view_filter_get_rating (SearchViewFilter* self) {
result = _tmp0_;
#line 169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1941 "SearchFilter.c"
+#line 1934 "SearchFilter.c"
}
@@ -1955,31 +1948,31 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
if (_tmp3_) {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 1959 "SearchFilter.c"
+#line 1952 "SearchFilter.c"
} else {
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 1966 "SearchFilter.c"
+#line 1959 "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 1972 "SearchFilter.c"
+#line 1965 "SearchFilter.c"
} else {
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 1979 "SearchFilter.c"
+#line 1972 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 1983 "SearchFilter.c"
+#line 1976 "SearchFilter.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
gboolean _tmp8_;
@@ -1987,45 +1980,45 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
_tmp8_ = self->priv->_show_media_video;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp8_) {
-#line 1991 "SearchFilter.c"
+#line 1984 "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 1997 "SearchFilter.c"
+#line 1990 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = FALSE;
-#line 2001 "SearchFilter.c"
+#line 1994 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp7_) {
-#line 2005 "SearchFilter.c"
+#line 1998 "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 2011 "SearchFilter.c"
+#line 2004 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = FALSE;
-#line 2015 "SearchFilter.c"
+#line 2008 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = !_tmp6_;
-#line 2019 "SearchFilter.c"
+#line 2012 "SearchFilter.c"
} else {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 2023 "SearchFilter.c"
+#line 2016 "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 2029 "SearchFilter.c"
+#line 2022 "SearchFilter.c"
}
@@ -2035,7 +2028,7 @@ 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 2039 "SearchFilter.c"
+#line 2032 "SearchFilter.c"
}
@@ -2050,7 +2043,7 @@ gboolean search_view_filter_get_flagged (SearchViewFilter* self) {
result = _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2054 "SearchFilter.c"
+#line 2047 "SearchFilter.c"
}
@@ -2062,7 +2055,7 @@ void search_view_filter_set_flagged (SearchViewFilter* self, gboolean value) {
_tmp0_ = value;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_flagged = _tmp0_;
-#line 2066 "SearchFilter.c"
+#line 2059 "SearchFilter.c"
}
@@ -2077,7 +2070,7 @@ gboolean search_view_filter_get_show_media_video (SearchViewFilter* self) {
result = _tmp0_;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2081 "SearchFilter.c"
+#line 2074 "SearchFilter.c"
}
@@ -2089,7 +2082,7 @@ void search_view_filter_set_show_media_video (SearchViewFilter* self, gboolean v
_tmp0_ = value;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_video = _tmp0_;
-#line 2093 "SearchFilter.c"
+#line 2086 "SearchFilter.c"
}
@@ -2104,7 +2097,7 @@ gboolean search_view_filter_get_show_media_photos (SearchViewFilter* self) {
result = _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2108 "SearchFilter.c"
+#line 2101 "SearchFilter.c"
}
@@ -2116,7 +2109,7 @@ void search_view_filter_set_show_media_photos (SearchViewFilter* self, gboolean
_tmp0_ = value;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_photos = _tmp0_;
-#line 2120 "SearchFilter.c"
+#line 2113 "SearchFilter.c"
}
@@ -2131,7 +2124,7 @@ gboolean search_view_filter_get_show_media_raw (SearchViewFilter* self) {
result = _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2135 "SearchFilter.c"
+#line 2128 "SearchFilter.c"
}
@@ -2143,7 +2136,7 @@ void search_view_filter_set_show_media_raw (SearchViewFilter* self, gboolean val
_tmp0_ = value;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_raw = _tmp0_;
-#line 2147 "SearchFilter.c"
+#line 2140 "SearchFilter.c"
}
@@ -2158,14 +2151,14 @@ SavedSearch* search_view_filter_get_saved_search (SearchViewFilter* self) {
result = _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2162 "SearchFilter.c"
+#line 2155 "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 2169 "SearchFilter.c"
+#line 2162 "SearchFilter.c"
}
@@ -2182,7 +2175,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 2186 "SearchFilter.c"
+#line 2179 "SearchFilter.c"
}
@@ -2195,7 +2188,7 @@ static void search_view_filter_class_init (SearchViewFilterClass * klass) {
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 2199 "SearchFilter.c"
+#line 2192 "SearchFilter.c"
}
@@ -2226,7 +2219,7 @@ 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 2230 "SearchFilter.c"
+#line 2223 "SearchFilter.c"
}
@@ -2242,7 +2235,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 2246 "SearchFilter.c"
+#line 2239 "SearchFilter.c"
}
@@ -2274,7 +2267,7 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
result = _tmp1_ != NULL;
#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2278 "SearchFilter.c"
+#line 2271 "SearchFilter.c"
}
@@ -2312,14 +2305,14 @@ 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 2316 "SearchFilter.c"
+#line 2309 "SearchFilter.c"
gboolean _tmp4_ = 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 2323 "SearchFilter.c"
+#line 2316 "SearchFilter.c"
MediaSource* _tmp6_;
Rating _tmp7_;
Rating _tmp8_;
@@ -2331,11 +2324,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 2335 "SearchFilter.c"
+#line 2328 "SearchFilter.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = FALSE;
-#line 2339 "SearchFilter.c"
+#line 2332 "SearchFilter.c"
}
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_) {
@@ -2345,7 +2338,7 @@ 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 2349 "SearchFilter.c"
+#line 2342 "SearchFilter.c"
} else {
gboolean _tmp9_ = FALSE;
gboolean _tmp10_;
@@ -2353,7 +2346,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_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 2357 "SearchFilter.c"
+#line 2350 "SearchFilter.c"
MediaSource* _tmp11_;
Rating _tmp12_;
Rating _tmp13_;
@@ -2365,11 +2358,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 2369 "SearchFilter.c"
+#line 2362 "SearchFilter.c"
} else {
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = FALSE;
-#line 2373 "SearchFilter.c"
+#line 2366 "SearchFilter.c"
}
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp9_) {
@@ -2379,7 +2372,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 2383 "SearchFilter.c"
+#line 2376 "SearchFilter.c"
}
}
}
@@ -2387,7 +2380,7 @@ 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 2391 "SearchFilter.c"
+#line 2384 "SearchFilter.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
gboolean _tmp17_;
@@ -2398,21 +2391,21 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp18_ = _tmp17_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp18_) {
-#line 2402 "SearchFilter.c"
+#line 2395 "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 2408 "SearchFilter.c"
+#line 2401 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = FALSE;
-#line 2412 "SearchFilter.c"
+#line 2405 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp16_) {
-#line 2416 "SearchFilter.c"
+#line 2409 "SearchFilter.c"
MediaSource* _tmp20_;
gboolean _tmp21_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2421,11 +2414,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_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 2425 "SearchFilter.c"
+#line 2418 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = FALSE;
-#line 2429 "SearchFilter.c"
+#line 2422 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp15_) {
@@ -2435,34 +2428,34 @@ 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 2439 "SearchFilter.c"
+#line 2432 "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 2446 "SearchFilter.c"
+#line 2439 "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 2452 "SearchFilter.c"
+#line 2445 "SearchFilter.c"
} else {
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = FALSE;
-#line 2456 "SearchFilter.c"
+#line 2449 "SearchFilter.c"
}
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp22_) {
-#line 2460 "SearchFilter.c"
+#line 2453 "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 2466 "SearchFilter.c"
+#line 2459 "SearchFilter.c"
gboolean _tmp26_;
gboolean _tmp27_;
#line 202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2477,7 +2470,7 @@ 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 2481 "SearchFilter.c"
+#line 2474 "SearchFilter.c"
}
} else {
MediaSource* _tmp28_;
@@ -2485,7 +2478,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp28_ = source;
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, TYPE_PHOTO)) {
-#line 2489 "SearchFilter.c"
+#line 2482 "SearchFilter.c"
Photo* photo = NULL;
MediaSource* _tmp29_;
Photo* _tmp30_;
@@ -2503,7 +2496,7 @@ 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 2507 "SearchFilter.c"
+#line 2500 "SearchFilter.c"
gboolean _tmp33_ = FALSE;
gboolean _tmp34_;
gboolean _tmp35_;
@@ -2513,7 +2506,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp35_ = _tmp34_;
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp35_) {
-#line 2517 "SearchFilter.c"
+#line 2510 "SearchFilter.c"
gboolean _tmp36_;
gboolean _tmp37_;
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2522,11 +2515,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp37_ = _tmp36_;
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = !_tmp37_;
-#line 2526 "SearchFilter.c"
+#line 2519 "SearchFilter.c"
} else {
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = FALSE;
-#line 2530 "SearchFilter.c"
+#line 2523 "SearchFilter.c"
}
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp33_) {
@@ -2538,7 +2531,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2542 "SearchFilter.c"
+#line 2535 "SearchFilter.c"
}
} else {
gboolean _tmp38_;
@@ -2557,12 +2550,12 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2561 "SearchFilter.c"
+#line 2554 "SearchFilter.c"
}
}
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (photo);
-#line 2566 "SearchFilter.c"
+#line 2559 "SearchFilter.c"
}
}
}
@@ -2570,21 +2563,21 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp41_ = criteria;
#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_TEXT & _tmp41_) != 0) {
-#line 2574 "SearchFilter.c"
+#line 2567 "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"
+#line 2573 "SearchFilter.c"
} else {
#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp40_ = FALSE;
-#line 2584 "SearchFilter.c"
+#line 2577 "SearchFilter.c"
}
#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp40_) {
-#line 2588 "SearchFilter.c"
+#line 2581 "SearchFilter.c"
const gchar* media_keywords = NULL;
MediaSource* _tmp43_;
const gchar* _tmp44_;
@@ -2620,7 +2613,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp47_ = event;
#line 220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp47_ != NULL) {
-#line 2624 "SearchFilter.c"
+#line 2617 "SearchFilter.c"
Event* _tmp48_;
const gchar* _tmp49_;
#line 221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2629,7 +2622,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_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 2626 "SearchFilter.c"
}
#line 223 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp50_ = tag_global;
@@ -2643,7 +2636,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp54_ = tags;
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp54_ != NULL) {
-#line 2647 "SearchFilter.c"
+#line 2640 "SearchFilter.c"
GeeList* _tmp55_;
gint _tmp56_;
gint _tmp57_;
@@ -2655,17 +2648,17 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp57_ = _tmp56_;
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp53_ = _tmp57_;
-#line 2659 "SearchFilter.c"
+#line 2652 "SearchFilter.c"
} else {
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp53_ = 0;
-#line 2663 "SearchFilter.c"
+#line 2656 "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"
+#line 2662 "SearchFilter.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
@@ -2677,11 +2670,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
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"
+#line 2674 "SearchFilter.c"
const gchar* word = NULL;
#line 226 "/home/jens/Source/shotwell/src/SearchFilter.vala"
word = word_collection[word_it];
-#line 2685 "SearchFilter.c"
+#line 2678 "SearchFilter.c"
{
gboolean _tmp60_ = FALSE;
const gchar* _tmp61_;
@@ -2692,7 +2685,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp61_ = media_keywords;
#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp61_ != NULL) {
-#line 2696 "SearchFilter.c"
+#line 2689 "SearchFilter.c"
const gchar* _tmp62_;
const gchar* _tmp63_;
gboolean _tmp64_;
@@ -2704,23 +2697,23 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp64_ = string_contains (_tmp62_, _tmp63_);
#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp60_ = _tmp64_;
-#line 2708 "SearchFilter.c"
+#line 2701 "SearchFilter.c"
} else {
#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp60_ = FALSE;
-#line 2712 "SearchFilter.c"
+#line 2705 "SearchFilter.c"
}
#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp60_) {
#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2718 "SearchFilter.c"
+#line 2711 "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"
+#line 2717 "SearchFilter.c"
const gchar* _tmp67_;
const gchar* _tmp68_;
gboolean _tmp69_;
@@ -2732,40 +2725,40 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp69_ = string_contains (_tmp67_, _tmp68_);
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp65_ = _tmp69_;
-#line 2736 "SearchFilter.c"
+#line 2729 "SearchFilter.c"
} else {
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp65_ = FALSE;
-#line 2740 "SearchFilter.c"
+#line 2733 "SearchFilter.c"
}
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp65_) {
#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2746 "SearchFilter.c"
+#line 2739 "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"
+#line 2745 "SearchFilter.c"
gboolean found = FALSE;
gboolean _tmp86_;
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
found = FALSE;
-#line 2757 "SearchFilter.c"
+#line 2750 "SearchFilter.c"
{
gint ctr = 0;
#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ctr = 0;
-#line 2762 "SearchFilter.c"
+#line 2755 "SearchFilter.c"
{
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 2769 "SearchFilter.c"
+#line 2762 "SearchFilter.c"
gint _tmp73_;
gint _tmp74_;
const gchar* tag_keywords = NULL;
@@ -2779,13 +2772,13 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
const gchar* _tmp82_;
#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp71_) {
-#line 2783 "SearchFilter.c"
+#line 2776 "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 2782 "SearchFilter.c"
}
#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp71_ = FALSE;
@@ -2797,7 +2790,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
if (!(_tmp73_ < _tmp74_)) {
#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2801 "SearchFilter.c"
+#line 2794 "SearchFilter.c"
}
#line 236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp75_ = tags;
@@ -2819,7 +2812,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp82_ = tag_keywords;
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp82_ != NULL) {
-#line 2823 "SearchFilter.c"
+#line 2816 "SearchFilter.c"
const gchar* _tmp83_;
const gchar* _tmp84_;
gboolean _tmp85_;
@@ -2831,11 +2824,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp85_ = string_contains (_tmp83_, _tmp84_);
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp81_ = _tmp85_;
-#line 2835 "SearchFilter.c"
+#line 2828 "SearchFilter.c"
} else {
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp81_ = FALSE;
-#line 2839 "SearchFilter.c"
+#line 2832 "SearchFilter.c"
}
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp81_) {
@@ -2843,7 +2836,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
found = TRUE;
#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2847 "SearchFilter.c"
+#line 2840 "SearchFilter.c"
}
}
}
@@ -2854,7 +2847,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
if (_tmp86_) {
#line 245 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2858 "SearchFilter.c"
+#line 2851 "SearchFilter.c"
}
}
#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2867,7 +2860,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2871 "SearchFilter.c"
+#line 2864 "SearchFilter.c"
}
}
}
@@ -2875,27 +2868,27 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (tags);
#line 215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (event);
-#line 2879 "SearchFilter.c"
+#line 2872 "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"
+#line 2878 "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"
+#line 2884 "SearchFilter.c"
} else {
#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp87_ = FALSE;
-#line 2895 "SearchFilter.c"
+#line 2888 "SearchFilter.c"
}
#line 255 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp87_) {
-#line 2899 "SearchFilter.c"
+#line 2892 "SearchFilter.c"
SavedSearch* _tmp90_;
SavedSearch* _tmp91_;
MediaSource* _tmp92_;
@@ -2914,7 +2907,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 256 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2918 "SearchFilter.c"
+#line 2911 "SearchFilter.c"
}
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
@@ -2922,7 +2915,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2926 "SearchFilter.c"
+#line 2919 "SearchFilter.c"
}
@@ -2932,7 +2925,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 2936 "SearchFilter.c"
+#line 2929 "SearchFilter.c"
}
@@ -2941,7 +2934,7 @@ static void default_search_view_filter_class_init (DefaultSearchViewFilterClass
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 2945 "SearchFilter.c"
+#line 2938 "SearchFilter.c"
}
@@ -2972,7 +2965,7 @@ static gboolean disabled_view_filter_real_predicate (ViewFilter* base, DataView*
result = TRUE;
#line 265 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2976 "SearchFilter.c"
+#line 2969 "SearchFilter.c"
}
@@ -2985,7 +2978,7 @@ static guint disabled_view_filter_real_get_criteria (SearchViewFilter* base) {
result = (guint) SEARCH_FILTER_CRITERIA_RATING;
#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2989 "SearchFilter.c"
+#line 2982 "SearchFilter.c"
}
@@ -2995,14 +2988,14 @@ DisabledViewFilter* disabled_view_filter_construct (GType object_type) {
self = (DisabledViewFilter*) search_view_filter_construct (object_type);
#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2999 "SearchFilter.c"
+#line 2992 "SearchFilter.c"
}
DisabledViewFilter* disabled_view_filter_new (void) {
#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return disabled_view_filter_construct (TYPE_DISABLED_VIEW_FILTER);
-#line 3006 "SearchFilter.c"
+#line 2999 "SearchFilter.c"
}
@@ -3013,7 +3006,7 @@ static void disabled_view_filter_class_init (DisabledViewFilterClass * klass) {
((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"
+#line 3010 "SearchFilter.c"
}
@@ -3049,14 +3042,14 @@ TextAction* text_action_construct (GType object_type, const gchar* init) {
self->priv->text = _tmp1_;
#line 290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3053 "SearchFilter.c"
+#line 3046 "SearchFilter.c"
}
TextAction* text_action_new (const gchar* init) {
#line 290 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return text_action_construct (TYPE_TEXT_ACTION, init);
-#line 3060 "SearchFilter.c"
+#line 3053 "SearchFilter.c"
}
@@ -3071,7 +3064,7 @@ void text_action_set_text (TextAction* self, const gchar* text) {
_tmp1_ = text;
#line 295 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
-#line 3075 "SearchFilter.c"
+#line 3068 "SearchFilter.c"
const gchar* _tmp2_;
gchar* _tmp3_;
const gchar* _tmp4_;
@@ -3087,7 +3080,7 @@ void text_action_set_text (TextAction* self, const gchar* text) {
_tmp4_ = text;
#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"
+#line 3084 "SearchFilter.c"
}
}
@@ -3097,7 +3090,7 @@ void text_action_clear (TextAction* self) {
g_return_if_fail (IS_TEXT_ACTION (self));
#line 302 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_text (self, NULL);
-#line 3101 "SearchFilter.c"
+#line 3094 "SearchFilter.c"
}
@@ -3112,7 +3105,7 @@ gboolean text_action_is_sensitive (TextAction* self) {
result = _tmp0_;
#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3116 "SearchFilter.c"
+#line 3109 "SearchFilter.c"
}
@@ -3127,7 +3120,7 @@ void text_action_set_sensitive (TextAction* self, gboolean sensitive) {
_tmp1_ = sensitive;
#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3131 "SearchFilter.c"
+#line 3124 "SearchFilter.c"
gboolean _tmp2_;
gboolean _tmp3_;
#line 311 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3138,7 +3131,7 @@ void text_action_set_sensitive (TextAction* self, gboolean sensitive) {
_tmp3_ = sensitive;
#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"
+#line 3135 "SearchFilter.c"
}
}
@@ -3154,7 +3147,7 @@ gboolean text_action_is_visible (TextAction* self) {
result = _tmp0_;
#line 317 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3158 "SearchFilter.c"
+#line 3151 "SearchFilter.c"
}
@@ -3169,7 +3162,7 @@ void text_action_set_visible (TextAction* self, gboolean visible) {
_tmp1_ = visible;
#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3173 "SearchFilter.c"
+#line 3166 "SearchFilter.c"
gboolean _tmp2_;
gboolean _tmp3_;
#line 322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3180,7 +3173,7 @@ void text_action_set_visible (TextAction* self, gboolean visible) {
_tmp3_ = visible;
#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"
+#line 3177 "SearchFilter.c"
}
}
@@ -3196,14 +3189,14 @@ const gchar* text_action_get_value (TextAction* self) {
result = _tmp0_;
#line 276 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3200 "SearchFilter.c"
+#line 3193 "SearchFilter.c"
}
static void value_text_action_init (GValue* value) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3207 "SearchFilter.c"
+#line 3200 "SearchFilter.c"
}
@@ -3212,7 +3205,7 @@ static void value_text_action_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (value->data[0].v_pointer);
-#line 3216 "SearchFilter.c"
+#line 3209 "SearchFilter.c"
}
}
@@ -3222,11 +3215,11 @@ static void value_text_action_copy_value (const GValue* src_value, GValue* dest_
if (src_value->data[0].v_pointer) {
#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 3226 "SearchFilter.c"
+#line 3219 "SearchFilter.c"
} else {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3230 "SearchFilter.c"
+#line 3223 "SearchFilter.c"
}
}
@@ -3234,37 +3227,37 @@ static void value_text_action_copy_value (const GValue* src_value, GValue* dest_
static gpointer value_text_action_peek_pointer (const GValue* value) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3238 "SearchFilter.c"
+#line 3231 "SearchFilter.c"
}
static gchar* value_text_action_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 3245 "SearchFilter.c"
+#line 3238 "SearchFilter.c"
TextAction * object;
object = collect_values[0].v_pointer;
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#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 3252 "SearchFilter.c"
+#line 3245 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#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 3256 "SearchFilter.c"
+#line 3249 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = text_action_ref (object);
-#line 3260 "SearchFilter.c"
+#line 3253 "SearchFilter.c"
} else {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3264 "SearchFilter.c"
+#line 3257 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3268 "SearchFilter.c"
+#line 3261 "SearchFilter.c"
}
@@ -3275,25 +3268,25 @@ static gchar* value_text_action_lcopy_value (const GValue* value, guint n_collec
if (!object_p) {
#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 3279 "SearchFilter.c"
+#line 3272 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 3285 "SearchFilter.c"
+#line 3278 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 3289 "SearchFilter.c"
+#line 3282 "SearchFilter.c"
} else {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = text_action_ref (value->data[0].v_pointer);
-#line 3293 "SearchFilter.c"
+#line 3286 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3297 "SearchFilter.c"
+#line 3290 "SearchFilter.c"
}
@@ -3307,7 +3300,7 @@ GParamSpec* param_spec_text_action (const gchar* name, const gchar* nick, const
G_PARAM_SPEC (spec)->value_type = object_type;
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 3311 "SearchFilter.c"
+#line 3304 "SearchFilter.c"
}
@@ -3316,7 +3309,7 @@ gpointer value_get_text_action (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ACTION), NULL);
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3320 "SearchFilter.c"
+#line 3313 "SearchFilter.c"
}
@@ -3336,17 +3329,17 @@ void value_set_text_action (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_ref (value->data[0].v_pointer);
-#line 3340 "SearchFilter.c"
+#line 3333 "SearchFilter.c"
} else {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3344 "SearchFilter.c"
+#line 3337 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3350 "SearchFilter.c"
+#line 3343 "SearchFilter.c"
}
}
@@ -3365,17 +3358,17 @@ void value_take_text_action (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 3369 "SearchFilter.c"
+#line 3362 "SearchFilter.c"
} else {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3373 "SearchFilter.c"
+#line 3366 "SearchFilter.c"
}
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3379 "SearchFilter.c"
+#line 3372 "SearchFilter.c"
}
}
@@ -3393,7 +3386,7 @@ static void text_action_class_init (TextActionClass * klass) {
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"
+#line 3390 "SearchFilter.c"
}
@@ -3408,7 +3401,7 @@ static void text_action_instance_init (TextAction * self) {
self->priv->visible = TRUE;
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 3412 "SearchFilter.c"
+#line 3405 "SearchFilter.c"
}
@@ -3420,7 +3413,7 @@ static void text_action_finalize (TextAction * obj) {
g_signal_handlers_destroy (self);
#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (self->priv->text);
-#line 3424 "SearchFilter.c"
+#line 3417 "SearchFilter.c"
}
@@ -3445,7 +3438,7 @@ gpointer text_action_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 3449 "SearchFilter.c"
+#line 3442 "SearchFilter.c"
}
@@ -3458,7 +3451,7 @@ void text_action_unref (gpointer instance) {
TEXT_ACTION_GET_CLASS (self)->finalize (self);
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3462 "SearchFilter.c"
+#line 3455 "SearchFilter.c"
}
}
@@ -3466,56 +3459,56 @@ void text_action_unref (gpointer instance) {
static void _search_filter_actions_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_radio ((SearchFilterActions*) self, action, parameter);
-#line 3470 "SearchFilter.c"
+#line 3463 "SearchFilter.c"
}
static void _search_filter_actions_on_rating_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_rating_changed ((SearchFilterActions*) self, action, value);
-#line 3477 "SearchFilter.c"
+#line 3470 "SearchFilter.c"
}
static void _search_filter_actions_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_toggle ((SearchFilterActions*) self, action, parameter);
-#line 3484 "SearchFilter.c"
+#line 3477 "SearchFilter.c"
}
static void _search_filter_actions_on_flagged_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_flagged_toggled ((SearchFilterActions*) self, action, value);
-#line 3491 "SearchFilter.c"
+#line 3484 "SearchFilter.c"
}
static void _search_filter_actions_on_photos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_photos_toggled ((SearchFilterActions*) self, action, value);
-#line 3498 "SearchFilter.c"
+#line 3491 "SearchFilter.c"
}
static void _search_filter_actions_on_videos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_videos_toggled ((SearchFilterActions*) self, action, value);
-#line 3505 "SearchFilter.c"
+#line 3498 "SearchFilter.c"
}
static void _search_filter_actions_on_raw_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 528 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_raw_toggled ((SearchFilterActions*) self, action, value);
-#line 3512 "SearchFilter.c"
+#line 3505 "SearchFilter.c"
}
static void _search_filter_actions_on_text_changed_text_action_text_changed (TextAction* _sender, const gchar* text, gpointer self) {
#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_text_changed ((SearchFilterActions*) self, _sender, text);
-#line 3519 "SearchFilter.c"
+#line 3512 "SearchFilter.c"
}
@@ -3535,14 +3528,14 @@ SearchFilterActions* search_filter_actions_construct (GType object_type) {
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 3539 "SearchFilter.c"
+#line 3532 "SearchFilter.c"
}
SearchFilterActions* search_filter_actions_new (void) {
#line 402 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_actions_construct (TYPE_SEARCH_FILTER_ACTIONS);
-#line 3546 "SearchFilter.c"
+#line 3539 "SearchFilter.c"
}
@@ -3557,7 +3550,7 @@ SearchFilterCriteria search_filter_actions_get_criteria (SearchFilterActions* se
result = _tmp0_;
#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3561 "SearchFilter.c"
+#line 3554 "SearchFilter.c"
}
@@ -3575,13 +3568,13 @@ GActionEntry* search_filter_actions_get_actions (SearchFilterActions* self, int*
if (result_length1) {
#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*result_length1 = _tmp0__length1;
-#line 3579 "SearchFilter.c"
+#line 3572 "SearchFilter.c"
}
#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3585 "SearchFilter.c"
+#line 3578 "SearchFilter.c"
}
@@ -3603,7 +3596,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
if (_tmp1_ == NULL) {
#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp0_);
-#line 3607 "SearchFilter.c"
+#line 3600 "SearchFilter.c"
}
#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
lw = _tmp1_;
@@ -3611,7 +3604,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_tmp2_ = lw;
#line 419 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3615 "SearchFilter.c"
+#line 3608 "SearchFilter.c"
LibraryWindow* _tmp3_;
const gchar* _tmp4_;
GAction* _tmp5_;
@@ -3627,7 +3620,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_g_object_unref0 (lw);
#line 420 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3631 "SearchFilter.c"
+#line 3624 "SearchFilter.c"
}
#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = NULL;
@@ -3635,7 +3628,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_g_object_unref0 (lw);
#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3639 "SearchFilter.c"
+#line 3632 "SearchFilter.c"
}
@@ -3661,7 +3654,7 @@ void search_filter_actions_set_action_sensitive (SearchFilterActions* self, cons
_tmp3_ = action;
#line 429 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 3665 "SearchFilter.c"
+#line 3658 "SearchFilter.c"
GSimpleAction* _tmp4_;
gboolean _tmp5_;
#line 430 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3670,46 +3663,46 @@ void search_filter_actions_set_action_sensitive (SearchFilterActions* self, cons
_tmp5_ = sensitive;
#line 430 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 3674 "SearchFilter.c"
+#line 3667 "SearchFilter.c"
}
#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
-#line 3678 "SearchFilter.c"
+#line 3671 "SearchFilter.c"
}
static GVariant* _variant_new32 (gboolean value) {
#line 435 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3685 "SearchFilter.c"
+#line 3678 "SearchFilter.c"
}
static GVariant* _variant_new33 (gboolean value) {
#line 436 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3692 "SearchFilter.c"
+#line 3685 "SearchFilter.c"
}
static GVariant* _variant_new34 (gboolean value) {
#line 437 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3699 "SearchFilter.c"
+#line 3692 "SearchFilter.c"
}
static GVariant* _variant_new35 (gboolean value) {
#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3706 "SearchFilter.c"
+#line 3699 "SearchFilter.c"
}
static GVariant* _variant_new36 (gchar* value) {
#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 3713 "SearchFilter.c"
+#line 3706 "SearchFilter.c"
}
@@ -3803,7 +3796,7 @@ void search_filter_actions_reset (SearchFilterActions* self) {
text_action_set_text (_tmp19_, NULL);
#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (v);
-#line 3807 "SearchFilter.c"
+#line 3800 "SearchFilter.c"
}
@@ -3819,21 +3812,21 @@ void search_filter_actions_set_sensitive_for_search_criteria (SearchFilterAction
search_filter_actions_update_sensitivities (self);
#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"
+#line 3816 "SearchFilter.c"
}
static void _search_filter_actions_on_media_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_media_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3830 "SearchFilter.c"
+#line 3823 "SearchFilter.c"
}
static void _search_filter_actions_on_camera_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_camera_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3837 "SearchFilter.c"
+#line 3830 "SearchFilter.c"
}
@@ -3862,7 +3855,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp2_ = old_tracked_page;
#line 455 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3866 "SearchFilter.c"
+#line 3859 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
CheckerboardPage* _tmp3_;
CoreViewTracker* _tmp4_;
@@ -3877,7 +3870,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp5_ = tracker;
#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3881 "SearchFilter.c"
+#line 3874 "SearchFilter.c"
CoreViewTracker* _tmp6_;
guint _tmp7_;
#line 458 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3886,14 +3879,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp7_, NULL, FALSE);
#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 3890 "SearchFilter.c"
+#line 3883 "SearchFilter.c"
} else {
CoreViewTracker* _tmp8_;
#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = tracker;
#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3897 "SearchFilter.c"
+#line 3890 "SearchFilter.c"
CoreViewTracker* _tmp9_;
guint _tmp10_;
#line 460 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3902,12 +3895,12 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp10_, NULL, FALSE);
#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 3906 "SearchFilter.c"
+#line 3899 "SearchFilter.c"
}
}
#line 455 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3911 "SearchFilter.c"
+#line 3904 "SearchFilter.c"
}
#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = new_page;
@@ -3919,7 +3912,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp13_ = new_tracked_page;
#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp13_ != NULL) {
-#line 3923 "SearchFilter.c"
+#line 3916 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
CheckerboardPage* _tmp14_;
CoreViewTracker* _tmp15_;
@@ -3936,7 +3929,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp16_ = tracker;
#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3940 "SearchFilter.c"
+#line 3933 "SearchFilter.c"
CoreViewTracker* _tmp17_;
CoreViewTracker* _tmp18_;
#line 469 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3955,14 +3948,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (old_tracked_page);
#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3959 "SearchFilter.c"
+#line 3952 "SearchFilter.c"
} else {
CoreViewTracker* _tmp19_;
#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = tracker;
#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3966 "SearchFilter.c"
+#line 3959 "SearchFilter.c"
CoreViewTracker* _tmp20_;
CoreViewTracker* _tmp21_;
#line 474 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3981,12 +3974,12 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (old_tracked_page);
#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3985 "SearchFilter.c"
+#line 3978 "SearchFilter.c"
}
}
#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3990 "SearchFilter.c"
+#line 3983 "SearchFilter.c"
}
#line 482 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = FALSE;
@@ -4004,14 +3997,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (new_tracked_page);
#line 453 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (old_tracked_page);
-#line 4008 "SearchFilter.c"
+#line 4001 "SearchFilter.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
#line 492 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 4015 "SearchFilter.c"
+#line 4008 "SearchFilter.c"
}
@@ -4065,7 +4058,7 @@ static void search_filter_actions_on_media_tracker_updated (SearchFilterActions*
search_filter_actions_update_sensitivities (self);
#line 491 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4069 "SearchFilter.c"
+#line 4062 "SearchFilter.c"
}
@@ -4122,7 +4115,7 @@ static void search_filter_actions_on_camera_tracker_updated (SearchFilterActions
search_filter_actions_update_sensitivities (self);
#line 502 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4126 "SearchFilter.c"
+#line 4119 "SearchFilter.c"
}
@@ -4162,7 +4155,7 @@ static void search_filter_actions_update_sensitivities (SearchFilterActions* sel
_tmp7_ = self->priv->has_flagged;
#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"
+#line 4159 "SearchFilter.c"
}
@@ -4176,7 +4169,7 @@ static void search_filter_actions_on_text_changed (SearchFilterActions* self, Te
_tmp0_ = text;
#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"
+#line 4173 "SearchFilter.c"
}
@@ -4193,21 +4186,21 @@ static void search_filter_actions_on_action_radio (SearchFilterActions* self, GS
_tmp1_ = parameter;
#line 538 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp0_, "change-state", _tmp1_);
-#line 4197 "SearchFilter.c"
+#line 4190 "SearchFilter.c"
}
static gboolean _variant_get37 (GVariant* value) {
#line 543 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_get_boolean (value);
-#line 4204 "SearchFilter.c"
+#line 4197 "SearchFilter.c"
}
static GVariant* _variant_new38 (gboolean value) {
#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4211 "SearchFilter.c"
+#line 4204 "SearchFilter.c"
}
@@ -4246,7 +4239,7 @@ static void search_filter_actions_on_action_toggle (SearchFilterActions* self, G
g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
#line 544 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 4250 "SearchFilter.c"
+#line 4243 "SearchFilter.c"
}
@@ -4260,7 +4253,7 @@ static void search_filter_actions_register (SearchFilterActions* self) {
_text_action_unref0 (self->priv->_text);
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_text = _tmp0_;
-#line 4264 "SearchFilter.c"
+#line 4257 "SearchFilter.c"
}
@@ -4305,7 +4298,7 @@ static void search_filter_actions_on_rating_changed (SearchFilterActions* self,
if (_tmp6_) {
#line 554 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 4309 "SearchFilter.c"
+#line 4302 "SearchFilter.c"
}
#line 556 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = value;
@@ -4325,7 +4318,7 @@ static void search_filter_actions_on_rating_changed (SearchFilterActions* self,
_tmp12_ = filter;
#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"
+#line 4322 "SearchFilter.c"
}
@@ -4352,7 +4345,7 @@ static void search_filter_actions_on_flagged_toggled (SearchFilterActions* self,
_tmp3_ = g_variant_get_boolean (_tmp2_);
#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"
+#line 4349 "SearchFilter.c"
}
@@ -4379,7 +4372,7 @@ static void search_filter_actions_on_photos_toggled (SearchFilterActions* self,
_tmp3_ = g_variant_get_boolean (_tmp2_);
#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"
+#line 4376 "SearchFilter.c"
}
@@ -4406,7 +4399,7 @@ static void search_filter_actions_on_videos_toggled (SearchFilterActions* self,
_tmp3_ = g_variant_get_boolean (_tmp2_);
#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"
+#line 4403 "SearchFilter.c"
}
@@ -4433,7 +4426,7 @@ static void search_filter_actions_on_raw_toggled (SearchFilterActions* self, GSi
_tmp3_ = g_variant_get_boolean (_tmp2_);
#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"
+#line 4430 "SearchFilter.c"
}
@@ -4448,7 +4441,7 @@ gboolean search_filter_actions_get_has_photos (SearchFilterActions* self) {
result = _tmp0_;
#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4452 "SearchFilter.c"
+#line 4445 "SearchFilter.c"
}
@@ -4463,7 +4456,7 @@ gboolean search_filter_actions_get_has_videos (SearchFilterActions* self) {
result = _tmp0_;
#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4467 "SearchFilter.c"
+#line 4460 "SearchFilter.c"
}
@@ -4478,7 +4471,7 @@ gboolean search_filter_actions_get_has_raw (SearchFilterActions* self) {
result = _tmp0_;
#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4482 "SearchFilter.c"
+#line 4475 "SearchFilter.c"
}
@@ -4493,7 +4486,7 @@ gboolean search_filter_actions_get_has_flagged (SearchFilterActions* self) {
result = _tmp0_;
#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4497 "SearchFilter.c"
+#line 4490 "SearchFilter.c"
}
@@ -4508,7 +4501,7 @@ GSimpleAction* search_filter_actions_get_flagged (SearchFilterActions* self) {
result = _tmp0_;
#line 332 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4512 "SearchFilter.c"
+#line 4505 "SearchFilter.c"
}
@@ -4523,7 +4516,7 @@ GSimpleAction* search_filter_actions_get_photos (SearchFilterActions* self) {
result = _tmp0_;
#line 338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4527 "SearchFilter.c"
+#line 4520 "SearchFilter.c"
}
@@ -4538,7 +4531,7 @@ GSimpleAction* search_filter_actions_get_videos (SearchFilterActions* self) {
result = _tmp0_;
#line 344 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4542 "SearchFilter.c"
+#line 4535 "SearchFilter.c"
}
@@ -4553,7 +4546,7 @@ GSimpleAction* search_filter_actions_get_raw (SearchFilterActions* self) {
result = _tmp0_;
#line 350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4557 "SearchFilter.c"
+#line 4550 "SearchFilter.c"
}
@@ -4568,7 +4561,7 @@ GSimpleAction* search_filter_actions_get_rating (SearchFilterActions* self) {
result = _tmp0_;
#line 356 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4572 "SearchFilter.c"
+#line 4565 "SearchFilter.c"
}
@@ -4588,7 +4581,7 @@ TextAction* search_filter_actions_get_text (SearchFilterActions* self) {
result = _tmp1_;
#line 363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4592 "SearchFilter.c"
+#line 4585 "SearchFilter.c"
}
@@ -4607,26 +4600,26 @@ static void g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN (GClos
data1 = closure->data;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = param_values->data[0].v_pointer;
-#line 4611 "SearchFilter.c"
+#line 4604 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data1 = param_values->data[0].v_pointer;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = closure->data;
-#line 4617 "SearchFilter.c"
+#line 4610 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
callback = (GMarshalFunc_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#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 4623 "SearchFilter.c"
+#line 4616 "SearchFilter.c"
}
static void value_search_filter_actions_init (GValue* value) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4630 "SearchFilter.c"
+#line 4623 "SearchFilter.c"
}
@@ -4635,7 +4628,7 @@ static void value_search_filter_actions_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (value->data[0].v_pointer);
-#line 4639 "SearchFilter.c"
+#line 4632 "SearchFilter.c"
}
}
@@ -4645,11 +4638,11 @@ static void value_search_filter_actions_copy_value (const GValue* src_value, GVa
if (src_value->data[0].v_pointer) {
#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 4649 "SearchFilter.c"
+#line 4642 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4653 "SearchFilter.c"
+#line 4646 "SearchFilter.c"
}
}
@@ -4657,37 +4650,37 @@ static void value_search_filter_actions_copy_value (const GValue* src_value, GVa
static gpointer value_search_filter_actions_peek_pointer (const GValue* value) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4661 "SearchFilter.c"
+#line 4654 "SearchFilter.c"
}
static gchar* value_search_filter_actions_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 4668 "SearchFilter.c"
+#line 4661 "SearchFilter.c"
SearchFilterActions * object;
object = collect_values[0].v_pointer;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#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 4675 "SearchFilter.c"
+#line 4668 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#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 4679 "SearchFilter.c"
+#line 4672 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_actions_ref (object);
-#line 4683 "SearchFilter.c"
+#line 4676 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4687 "SearchFilter.c"
+#line 4680 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4691 "SearchFilter.c"
+#line 4684 "SearchFilter.c"
}
@@ -4698,25 +4691,25 @@ static gchar* value_search_filter_actions_lcopy_value (const GValue* value, guin
if (!object_p) {
#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 4702 "SearchFilter.c"
+#line 4695 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 4708 "SearchFilter.c"
+#line 4701 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 4712 "SearchFilter.c"
+#line 4705 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_actions_ref (value->data[0].v_pointer);
-#line 4716 "SearchFilter.c"
+#line 4709 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4720 "SearchFilter.c"
+#line 4713 "SearchFilter.c"
}
@@ -4730,7 +4723,7 @@ GParamSpec* param_spec_search_filter_actions (const gchar* name, const gchar* ni
G_PARAM_SPEC (spec)->value_type = object_type;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 4734 "SearchFilter.c"
+#line 4727 "SearchFilter.c"
}
@@ -4739,7 +4732,7 @@ gpointer value_get_search_filter_actions (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SEARCH_FILTER_ACTIONS), NULL);
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4743 "SearchFilter.c"
+#line 4736 "SearchFilter.c"
}
@@ -4759,17 +4752,17 @@ void value_set_search_filter_actions (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_ref (value->data[0].v_pointer);
-#line 4763 "SearchFilter.c"
+#line 4756 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4767 "SearchFilter.c"
+#line 4760 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4773 "SearchFilter.c"
+#line 4766 "SearchFilter.c"
}
}
@@ -4788,17 +4781,17 @@ void value_take_search_filter_actions (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 4792 "SearchFilter.c"
+#line 4785 "SearchFilter.c"
} else {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4796 "SearchFilter.c"
+#line 4789 "SearchFilter.c"
}
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4802 "SearchFilter.c"
+#line 4795 "SearchFilter.c"
}
}
@@ -4822,7 +4815,7 @@ static void search_filter_actions_class_init (SearchFilterActionsClass * klass)
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"
+#line 4819 "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
@@ -4832,7 +4825,7 @@ static void search_filter_actions_class_init (SearchFilterActionsClass * klass)
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"
+#line 4829 "SearchFilter.c"
}
@@ -4855,7 +4848,7 @@ static void search_filter_actions_instance_init (SearchFilterActions * self) {
self->priv->can_filter_by_stars = TRUE;
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 4859 "SearchFilter.c"
+#line 4852 "SearchFilter.c"
}
@@ -4867,7 +4860,7 @@ static void search_filter_actions_finalize (SearchFilterActions * obj) {
g_signal_handlers_destroy (self);
#line 368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->_text);
-#line 4871 "SearchFilter.c"
+#line 4864 "SearchFilter.c"
}
@@ -4892,7 +4885,7 @@ gpointer search_filter_actions_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 4896 "SearchFilter.c"
+#line 4889 "SearchFilter.c"
}
@@ -4905,7 +4898,7 @@ void search_filter_actions_unref (gpointer instance) {
SEARCH_FILTER_ACTIONS_GET_CLASS (self)->finalize (self);
#line 329 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4909 "SearchFilter.c"
+#line 4902 "SearchFilter.c"
}
}
@@ -4913,56 +4906,56 @@ void search_filter_actions_unref (gpointer instance) {
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 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 4917 "SearchFilter.c"
+#line 4910 "SearchFilter.c"
}
static void _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1156 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_flagged_toggled ((SearchFilterToolbar*) self);
-#line 4924 "SearchFilter.c"
+#line 4917 "SearchFilter.c"
}
static void _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_photos_toggled ((SearchFilterToolbar*) self);
-#line 4931 "SearchFilter.c"
+#line 4924 "SearchFilter.c"
}
static void _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1158 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_videos_toggled ((SearchFilterToolbar*) self);
-#line 4938 "SearchFilter.c"
+#line 4931 "SearchFilter.c"
}
static void _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_raw_toggled ((SearchFilterToolbar*) self);
-#line 4945 "SearchFilter.c"
+#line 4938 "SearchFilter.c"
}
static void _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed (SearchFilterActions* _sender, RatingFilter filter, gpointer self) {
#line 1160 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_rating_changed ((SearchFilterToolbar*) self);
-#line 4952 "SearchFilter.c"
+#line 4945 "SearchFilter.c"
}
static void _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed (SearchFilterActions* _sender, const gchar* text, gpointer self) {
#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_search_text_changed ((SearchFilterToolbar*) self);
-#line 4959 "SearchFilter.c"
+#line 4952 "SearchFilter.c"
}
static void _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed (SearchFilterActions* _sender, gpointer self) {
#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_criteria_changed ((SearchFilterToolbar*) self);
-#line 4966 "SearchFilter.c"
+#line 4959 "SearchFilter.c"
}
@@ -4971,28 +4964,28 @@ static gboolean _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_pop
result = search_filter_toolbar_on_context_menu_requested ((SearchFilterToolbar*) self, x, y, button_number);
#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4975 "SearchFilter.c"
+#line 4968 "SearchFilter.c"
}
static gpointer _search_filter_actions_ref0 (gpointer self) {
#line 1049 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? search_filter_actions_ref (self) : NULL;
-#line 4982 "SearchFilter.c"
+#line 4975 "SearchFilter.c"
}
static void _search_filter_toolbar_on_context_menu_close_chosen_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1071 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_context_menu_close_chosen ((SearchFilterToolbar*) self);
-#line 4989 "SearchFilter.c"
+#line 4982 "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 1122 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_saved_search_button_clicked ((SearchFilterToolbar*) self);
-#line 4996 "SearchFilter.c"
+#line 4989 "SearchFilter.c"
}
@@ -5126,7 +5119,7 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_tmp9_ = self->priv->toolbar;
#line 1055 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toolbar_set_icon_size (_tmp9_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 5130 "SearchFilter.c"
+#line 5123 "SearchFilter.c"
{
GtkBuilder* _tmp10_;
gchar* _tmp11_;
@@ -5143,12 +5136,12 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_g_free0 (_tmp12_);
#line 1058 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5147 "SearchFilter.c"
- goto __catch594_g_error;
+#line 5140 "SearchFilter.c"
+ goto __catch603_g_error;
}
}
- goto __finally594;
- __catch594_g_error:
+ goto __finally603;
+ __catch603_g_error:
{
GError* err = NULL;
GError* _tmp13_;
@@ -5173,9 +5166,9 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_g_free0 (_tmp16_);
#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_error_free0 (err);
-#line 5177 "SearchFilter.c"
+#line 5170 "SearchFilter.c"
}
- __finally594:
+ __finally603:
#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5184,7 +5177,7 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
g_clear_error (&_inner_error_);
#line 1057 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 5188 "SearchFilter.c"
+#line 5181 "SearchFilter.c"
}
#line 1069 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp17_ = self->priv->close_item;
@@ -5468,14 +5461,14 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_g_object_unref0 (model);
#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 5472 "SearchFilter.c"
+#line 5465 "SearchFilter.c"
}
SearchFilterToolbar* search_filter_toolbar_new (SearchFilterActions* actions) {
#line 1048 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_construct (TYPE_SEARCH_FILTER_TOOLBAR, actions);
-#line 5479 "SearchFilter.c"
+#line 5472 "SearchFilter.c"
}
@@ -5493,88 +5486,88 @@ static void search_filter_toolbar_on_media_context_changed (SearchFilterToolbar*
if (_tmp1_) {
#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = TRUE;
-#line 5497 "SearchFilter.c"
+#line 5490 "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 5497 "SearchFilter.c"
}
#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 5508 "SearchFilter.c"
+#line 5501 "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"
+#line 5507 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp4_;
#line 1174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->toolbtn_photos;
#line 1174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp4_, RESOURCES_ICON_FILTER_PHOTOS_DISABLED);
-#line 5521 "SearchFilter.c"
+#line 5514 "SearchFilter.c"
}
#line 1176 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = has_videos;
#line 1176 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_) {
-#line 5527 "SearchFilter.c"
+#line 5520 "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"
+#line 5526 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp7_;
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->toolbtn_videos;
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp7_, RESOURCES_ICON_FILTER_VIDEOS_DISABLED);
-#line 5540 "SearchFilter.c"
+#line 5533 "SearchFilter.c"
}
#line 1181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = has_raw;
#line 1181 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp8_) {
-#line 5546 "SearchFilter.c"
+#line 5539 "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"
+#line 5545 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp10_;
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->toolbtn_raw;
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp10_, RESOURCES_ICON_FILTER_RAW_DISABLED);
-#line 5559 "SearchFilter.c"
+#line 5552 "SearchFilter.c"
}
#line 1186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = has_flagged;
#line 1186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp11_) {
-#line 5565 "SearchFilter.c"
+#line 5558 "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"
+#line 5564 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp13_;
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp13_ = self->priv->toolbtn_flag;
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp13_, RESOURCES_ICON_FILTER_FLAGGED_DISABLED);
-#line 5578 "SearchFilter.c"
+#line 5571 "SearchFilter.c"
}
}
@@ -5598,14 +5591,14 @@ static gboolean search_filter_toolbar_on_context_menu_requested (SearchFilterToo
result = FALSE;
#line 1195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 5602 "SearchFilter.c"
+#line 5595 "SearchFilter.c"
}
static GVariant* _variant_new39 (gboolean value) {
#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5609 "SearchFilter.c"
+#line 5602 "SearchFilter.c"
}
@@ -5635,7 +5628,7 @@ static void search_filter_toolbar_on_context_menu_close_chosen (SearchFilterTool
_tmp4_ = action;
#line 1210 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_ != NULL) {
-#line 5639 "SearchFilter.c"
+#line 5632 "SearchFilter.c"
GSimpleAction* _tmp5_;
GVariant* _tmp6_;
#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5646,13 +5639,13 @@ static void search_filter_toolbar_on_context_menu_close_chosen (SearchFilterTool
g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
#line 1212 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 5650 "SearchFilter.c"
+#line 5643 "SearchFilter.c"
}
#line 1200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
#line 1200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5656 "SearchFilter.c"
+#line 5649 "SearchFilter.c"
}
@@ -5661,7 +5654,7 @@ static void search_filter_toolbar_on_flagged_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1217 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5665 "SearchFilter.c"
+#line 5658 "SearchFilter.c"
}
@@ -5670,7 +5663,7 @@ static void search_filter_toolbar_on_videos_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1221 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5674 "SearchFilter.c"
+#line 5667 "SearchFilter.c"
}
@@ -5679,7 +5672,7 @@ static void search_filter_toolbar_on_photos_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5683 "SearchFilter.c"
+#line 5676 "SearchFilter.c"
}
@@ -5688,7 +5681,7 @@ static void search_filter_toolbar_on_raw_toggled (SearchFilterToolbar* self) {
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1229 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5692 "SearchFilter.c"
+#line 5685 "SearchFilter.c"
}
@@ -5697,14 +5690,14 @@ static void search_filter_toolbar_on_search_text_changed (SearchFilterToolbar* s
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1233 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5701 "SearchFilter.c"
+#line 5694 "SearchFilter.c"
}
static GVariant* _variant_new40 (gboolean value) {
#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5708 "SearchFilter.c"
+#line 5701 "SearchFilter.c"
}
@@ -5731,7 +5724,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_g_object_unref0 (aw);
#line 1240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5735 "SearchFilter.c"
+#line 5728 "SearchFilter.c"
}
#line 1242 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = aw;
@@ -5745,7 +5738,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_tmp5_ = action;
#line 1246 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_ != NULL) {
-#line 5749 "SearchFilter.c"
+#line 5742 "SearchFilter.c"
GSimpleAction* _tmp6_;
GVariant* _tmp7_;
#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5756,7 +5749,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
g_signal_emit_by_name (_tmp6_, "change-state", _tmp7_);
#line 1247 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp7_);
-#line 5760 "SearchFilter.c"
+#line 5753 "SearchFilter.c"
}
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
@@ -5764,7 +5757,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_g_object_unref0 (action);
#line 1236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5768 "SearchFilter.c"
+#line 5761 "SearchFilter.c"
}
@@ -5773,14 +5766,14 @@ static void search_filter_toolbar_on_criteria_changed (SearchFilterToolbar* self
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1257 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5777 "SearchFilter.c"
+#line 5770 "SearchFilter.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? view_filter_ref (self) : NULL;
-#line 5784 "SearchFilter.c"
+#line 5777 "SearchFilter.c"
}
@@ -5807,7 +5800,7 @@ void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchVie
if (_tmp0_ == _tmp1_) {
#line 1262 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5811 "SearchFilter.c"
+#line 5804 "SearchFilter.c"
}
#line 1264 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search_filter;
@@ -5835,7 +5828,7 @@ void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchVie
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), (SEARCH_FILTER_CRITERIA_RATING & _tmp9_) != 0);
#line 1270 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5839 "SearchFilter.c"
+#line 5832 "SearchFilter.c"
}
@@ -5852,7 +5845,7 @@ void search_filter_toolbar_unset_view_filter (SearchFilterToolbar* self) {
search_filter_toolbar_set_view_filter (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 1274 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_view_filter_unref0 (_tmp1_);
-#line 5856 "SearchFilter.c"
+#line 5849 "SearchFilter.c"
}
@@ -5945,7 +5938,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp0_ = self->priv->search_filter;
#line 1279 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (NULL == _tmp0_) {
-#line 5949 "SearchFilter.c"
+#line 5942 "SearchFilter.c"
LibraryWindow* _tmp1_;
LibraryWindow* _tmp2_;
#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5956,7 +5949,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
library_window_show_search_bar (_tmp2_, TRUE);
#line 1281 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp2_);
-#line 5960 "SearchFilter.c"
+#line 5953 "SearchFilter.c"
}
#line 1284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_filter;
@@ -6148,7 +6141,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp73_ = _tmp72_;
#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp73_) {
-#line 6152 "SearchFilter.c"
+#line 6145 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp74_;
gboolean _tmp75_;
gboolean _tmp76_;
@@ -6160,11 +6153,11 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp76_ = _tmp75_;
#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = _tmp76_;
-#line 6164 "SearchFilter.c"
+#line 6157 "SearchFilter.c"
} else {
#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = FALSE;
-#line 6168 "SearchFilter.c"
+#line 6161 "SearchFilter.c"
}
#line 1319 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp77_ = self->priv->sepr_mediatype_flagged;
@@ -6178,7 +6171,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp82_ = _tmp81_;
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp82_) {
-#line 6182 "SearchFilter.c"
+#line 6175 "SearchFilter.c"
SearchFilterToolbarRatingFilterButton* _tmp83_;
gboolean _tmp84_;
gboolean _tmp85_;
@@ -6190,17 +6183,17 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp85_ = _tmp84_;
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = _tmp85_;
-#line 6194 "SearchFilter.c"
+#line 6187 "SearchFilter.c"
} else {
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = FALSE;
-#line 6198 "SearchFilter.c"
+#line 6191 "SearchFilter.c"
}
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp79_) {
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = TRUE;
-#line 6204 "SearchFilter.c"
+#line 6197 "SearchFilter.c"
} else {
gboolean _tmp86_ = FALSE;
SearchFilterToolbarToggleActionToolButton* _tmp87_;
@@ -6214,7 +6207,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp89_ = _tmp88_;
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp89_) {
-#line 6218 "SearchFilter.c"
+#line 6211 "SearchFilter.c"
SearchFilterToolbarRatingFilterButton* _tmp90_;
gboolean _tmp91_;
gboolean _tmp92_;
@@ -6226,15 +6219,15 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp92_ = _tmp91_;
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = _tmp92_;
-#line 6230 "SearchFilter.c"
+#line 6223 "SearchFilter.c"
} else {
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = FALSE;
-#line 6234 "SearchFilter.c"
+#line 6227 "SearchFilter.c"
}
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = _tmp86_;
-#line 6238 "SearchFilter.c"
+#line 6231 "SearchFilter.c"
}
#line 1321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp93_ = self->priv->sepr_flagged_rating;
@@ -6244,7 +6237,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp94_ = self->priv->search_filter;
#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 6248 "SearchFilter.c"
+#line 6241 "SearchFilter.c"
}
@@ -6265,7 +6258,7 @@ static void search_filter_toolbar_on_savedsearch_selected (SearchFilterToolbar*
self->priv->saved_search = _tmp1_;
#line 1330 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6269 "SearchFilter.c"
+#line 6262 "SearchFilter.c"
}
@@ -6278,7 +6271,7 @@ static void search_filter_toolbar_disable_savedsearch (SearchFilterToolbar* self
self->priv->saved_search = NULL;
#line 1335 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6282 "SearchFilter.c"
+#line 6275 "SearchFilter.c"
}
@@ -6303,12 +6296,14 @@ static void search_filter_toolbar_edit_dialog (SearchFilterToolbar* self, SavedS
#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = saved_search_dialog_new_edit_existing (_tmp2_);
#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp3_);
+#line 1340 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ssd = _tmp3_;
#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
saved_search_dialog_show (ssd);
#line 1338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _saved_search_dialog_unref0 (ssd);
-#line 6312 "SearchFilter.c"
+ _g_object_unref0 (ssd);
+#line 6307 "SearchFilter.c"
}
@@ -6333,7 +6328,7 @@ static void search_filter_toolbar_delete_dialog (SearchFilterToolbar* self, Save
_tmp3_ = dialogs_confirm_delete_saved_search (_tmp2_);
#line 1346 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_) {
-#line 6337 "SearchFilter.c"
+#line 6332 "SearchFilter.c"
CommandManager* _tmp4_;
CommandManager* _tmp5_;
SavedSearch* _tmp6_;
@@ -6355,7 +6350,7 @@ static void search_filter_toolbar_delete_dialog (SearchFilterToolbar* self, Save
_g_object_unref0 (_tmp8_);
#line 1347 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_command_manager_unref0 (_tmp5_);
-#line 6359 "SearchFilter.c"
+#line 6354 "SearchFilter.c"
}
}
@@ -6376,12 +6371,14 @@ static void search_filter_toolbar_add_dialog (SearchFilterToolbar* self) {
#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = saved_search_dialog_new ();
#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_object_ref_sink (_tmp2_);
+#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = _tmp2_;
#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
saved_search_dialog_show (_tmp3_);
#line 1352 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _saved_search_dialog_unref0 (_tmp3_);
-#line 6385 "SearchFilter.c"
+ _g_object_unref0 (_tmp3_);
+#line 6382 "SearchFilter.c"
}
@@ -6406,42 +6403,42 @@ static void search_filter_toolbar_on_popover_closed (SearchFilterToolbar* self)
_tmp3_ = _tmp2_->filter_popup;
#line 1359 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp3_);
-#line 6410 "SearchFilter.c"
+#line 6407 "SearchFilter.c"
}
static void _search_filter_toolbar_edit_dialog_search_filter_toolbar_saved_search_popover_edit_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_edit_dialog ((SearchFilterToolbar*) self, search);
-#line 6417 "SearchFilter.c"
+#line 6414 "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 1371 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_savedsearch_selected ((SearchFilterToolbar*) self, search);
-#line 6424 "SearchFilter.c"
+#line 6421 "SearchFilter.c"
}
static void _search_filter_toolbar_delete_dialog_search_filter_toolbar_saved_search_popover_delete_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_delete_dialog ((SearchFilterToolbar*) self, search);
-#line 6431 "SearchFilter.c"
+#line 6428 "SearchFilter.c"
}
static void _search_filter_toolbar_add_dialog_search_filter_toolbar_saved_search_popover_add_clicked (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_add_dialog ((SearchFilterToolbar*) self);
-#line 6438 "SearchFilter.c"
+#line 6435 "SearchFilter.c"
}
static void _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_popover_closed ((SearchFilterToolbar*) self);
-#line 6445 "SearchFilter.c"
+#line 6442 "SearchFilter.c"
}
@@ -6454,28 +6451,28 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp1_ = self->priv->elide_showing_again;
#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 6458 "SearchFilter.c"
+#line 6455 "SearchFilter.c"
SavedSearch* _tmp2_;
#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->saved_search;
#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 6464 "SearchFilter.c"
+#line 6461 "SearchFilter.c"
} else {
#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 6468 "SearchFilter.c"
+#line 6465 "SearchFilter.c"
}
#line 1363 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 6472 "SearchFilter.c"
+#line 6469 "SearchFilter.c"
} else {
SavedSearch* _tmp3_;
#line 1364 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->saved_search;
#line 1364 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 6479 "SearchFilter.c"
+#line 6476 "SearchFilter.c"
SearchFilterToolbarSavedSearchFilterButton* _tmp4_;
#line 1365 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
@@ -6487,7 +6484,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
search_filter_toolbar_saved_search_filter_button_set_active (_tmp4_, FALSE);
#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_disable_savedsearch (self);
-#line 6491 "SearchFilter.c"
+#line 6488 "SearchFilter.c"
} else {
SearchFilterToolbarSavedSearchFilterButton* _tmp5_;
SearchFilterToolbarSavedSearchPopover* _tmp6_;
@@ -6512,7 +6509,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp6_ = _tmp5_->filter_popup;
#line 1369 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_ != NULL) {
-#line 6516 "SearchFilter.c"
+#line 6513 "SearchFilter.c"
SearchFilterToolbarSavedSearchFilterButton* _tmp7_;
SearchFilterToolbarSavedSearchPopover* _tmp8_;
guint _tmp9_;
@@ -6568,7 +6565,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
g_signal_parse_name ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp21_, NULL, FALSE);
#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 6572 "SearchFilter.c"
+#line 6569 "SearchFilter.c"
}
#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = self->priv->saved_search_button;
@@ -6616,12 +6613,12 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp36_ = _tmp35_->filter_popup;
#line 1383 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_show_all (_tmp36_);
-#line 6620 "SearchFilter.c"
+#line 6617 "SearchFilter.c"
}
}
#line 1385 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->elide_showing_again = FALSE;
-#line 6625 "SearchFilter.c"
+#line 6622 "SearchFilter.c"
}
@@ -6633,7 +6630,7 @@ void search_filter_toolbar_take_focus (SearchFilterToolbar* self) {
_tmp0_ = self->priv->search_box;
#line 1389 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_get_focus (_tmp0_);
-#line 6637 "SearchFilter.c"
+#line 6634 "SearchFilter.c"
}
@@ -6664,18 +6661,18 @@ static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_c
if (_tmp3_ != 0) {
#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 6668 "SearchFilter.c"
+#line 6665 "SearchFilter.c"
} else {
gint _tmp4_;
#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = right_padding;
#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp4_ != 0;
-#line 6675 "SearchFilter.c"
+#line 6672 "SearchFilter.c"
}
#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_) {
-#line 6679 "SearchFilter.c"
+#line 6676 "SearchFilter.c"
GtkLabel* _tmp5_;
GtkLabel* _tmp6_;
GtkLabel* _tmp7_;
@@ -6702,7 +6699,7 @@ static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_c
_tmp10_ = right_padding;
#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 6706 "SearchFilter.c"
+#line 6703 "SearchFilter.c"
}
#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = self->priv->label;
@@ -6710,14 +6707,14 @@ static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_c
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 616 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6714 "SearchFilter.c"
+#line 6711 "SearchFilter.c"
}
static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_new (const gchar* s, gint left_padding, gint right_padding) {
#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 6721 "SearchFilter.c"
+#line 6718 "SearchFilter.c"
}
@@ -6728,14 +6725,14 @@ static void search_filter_toolbar_label_tool_item_class_init (SearchFilterToolba
g_type_class_add_private (klass, sizeof (SearchFilterToolbarLabelToolItemPrivate));
#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_label_tool_item_finalize;
-#line 6732 "SearchFilter.c"
+#line 6729 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_instance_init (SearchFilterToolbarLabelToolItem * self) {
#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_LABEL_TOOL_ITEM_GET_PRIVATE (self);
-#line 6739 "SearchFilter.c"
+#line 6736 "SearchFilter.c"
}
@@ -6747,7 +6744,7 @@ static void search_filter_toolbar_label_tool_item_finalize (GObject * obj) {
_g_object_unref0 (self->priv->label);
#line 613 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_label_tool_item_parent_class)->finalize (obj);
-#line 6751 "SearchFilter.c"
+#line 6748 "SearchFilter.c"
}
@@ -6813,14 +6810,14 @@ static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_a
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 631 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6817 "SearchFilter.c"
+#line 6814 "SearchFilter.c"
}
static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_action_tool_button_new (const gchar* action) {
#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 6824 "SearchFilter.c"
+#line 6821 "SearchFilter.c"
}
@@ -6864,7 +6861,7 @@ static void search_filter_toolbar_toggle_action_tool_button_set_icon_name (Searc
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 642 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (image);
-#line 6868 "SearchFilter.c"
+#line 6865 "SearchFilter.c"
}
@@ -6881,7 +6878,7 @@ static void search_filter_toolbar_toggle_action_tool_button_set_label (SearchFil
_tmp1_ = label;
#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 6885 "SearchFilter.c"
+#line 6882 "SearchFilter.c"
}
@@ -6892,14 +6889,14 @@ static void search_filter_toolbar_toggle_action_tool_button_class_init (SearchFi
g_type_class_add_private (klass, sizeof (SearchFilterToolbarToggleActionToolButtonPrivate));
#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_toggle_action_tool_button_finalize;
-#line 6896 "SearchFilter.c"
+#line 6893 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_instance_init (SearchFilterToolbarToggleActionToolButton * self) {
#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_TOGGLE_ACTION_TOOL_BUTTON_GET_PRIVATE (self);
-#line 6903 "SearchFilter.c"
+#line 6900 "SearchFilter.c"
}
@@ -6911,7 +6908,7 @@ static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject *
_g_object_unref0 (self->priv->button);
#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_toggle_action_tool_button_parent_class)->finalize (obj);
-#line 6915 "SearchFilter.c"
+#line 6912 "SearchFilter.c"
}
@@ -6930,42 +6927,42 @@ 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 686 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_action_text_changed ((SearchFilterToolbarSearchBox*) self, text);
-#line 6934 "SearchFilter.c"
+#line 6931 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_sensitivity_changed_text_action_sensitivity_changed (TextAction* _sender, gboolean sensitive, gpointer self) {
#line 687 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_sensitivity_changed ((SearchFilterToolbarSearchBox*) self, sensitive);
-#line 6941 "SearchFilter.c"
+#line 6938 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_visibility_changed_text_action_visibility_changed (TextAction* _sender, gboolean visible, gpointer self) {
#line 688 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_visibility_changed ((SearchFilterToolbarSearchBox*) self, visible);
-#line 6948 "SearchFilter.c"
+#line 6945 "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 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6955 "SearchFilter.c"
+#line 6952 "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 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6962 "SearchFilter.c"
+#line 6959 "SearchFilter.c"
}
static gpointer _text_action_ref0 (gpointer self) {
#line 668 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? text_action_ref (self) : NULL;
-#line 6969 "SearchFilter.c"
+#line 6966 "SearchFilter.c"
}
@@ -6974,7 +6971,7 @@ static gboolean _search_filter_toolbar_search_box_on_escape_key_gtk_widget_key_p
result = search_filter_toolbar_search_box_on_escape_key ((SearchFilterToolbarSearchBox*) self, event);
#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 6978 "SearchFilter.c"
+#line 6975 "SearchFilter.c"
}
@@ -7068,14 +7065,14 @@ SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_construct (GType
g_signal_connect_object (_tmp17_, "inserted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self, 0);
#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7072 "SearchFilter.c"
+#line 7069 "SearchFilter.c"
}
SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_new (TextAction* action) {
#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_search_box_construct (SEARCH_FILTER_TOOLBAR_TYPE_SEARCH_BOX, action);
-#line 7079 "SearchFilter.c"
+#line 7076 "SearchFilter.c"
}
@@ -7087,7 +7084,7 @@ void search_filter_toolbar_search_box_get_focus (SearchFilterToolbarSearchBox* s
_tmp0_ = self->priv->search_entry;
#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 7091 "SearchFilter.c"
+#line 7088 "SearchFilter.c"
}
@@ -7108,19 +7105,19 @@ static gboolean search_filter_toolbar_search_box_on_escape_key (SearchFilterTool
_tmp2_ = gdk_keyval_name (_tmp1_);
#line 701 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
-#line 7112 "SearchFilter.c"
+#line 7109 "SearchFilter.c"
TextAction* _tmp3_;
#line 702 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->action;
#line 702 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_clear (_tmp3_);
-#line 7118 "SearchFilter.c"
+#line 7115 "SearchFilter.c"
}
#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7124 "SearchFilter.c"
+#line 7121 "SearchFilter.c"
}
@@ -7182,7 +7179,7 @@ static void search_filter_toolbar_search_box_on_action_text_changed (SearchFilte
_tmp14_ = _tmp13_;
#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 7186 "SearchFilter.c"
+#line 7183 "SearchFilter.c"
}
@@ -7213,7 +7210,7 @@ static void search_filter_toolbar_search_box_on_entry_changed (SearchFilterToolb
_tmp5_ = self->priv->action;
#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 7217 "SearchFilter.c"
+#line 7214 "SearchFilter.c"
}
@@ -7225,7 +7222,7 @@ static void search_filter_toolbar_search_box_on_sensitivity_changed (SearchFilte
_tmp0_ = sensitive;
#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 7229 "SearchFilter.c"
+#line 7226 "SearchFilter.c"
}
@@ -7237,7 +7234,7 @@ static void search_filter_toolbar_search_box_on_visibility_changed (SearchFilter
_tmp0_ = visible;
#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 7241 "SearchFilter.c"
+#line 7238 "SearchFilter.c"
}
@@ -7251,23 +7248,23 @@ static void search_filter_toolbar_search_box_set_nullable_text (SearchFilterTool
_tmp1_ = text;
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_ != NULL) {
-#line 7255 "SearchFilter.c"
+#line 7252 "SearchFilter.c"
const gchar* _tmp2_;
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = text;
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_;
-#line 7261 "SearchFilter.c"
+#line 7258 "SearchFilter.c"
} else {
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = "";
-#line 7265 "SearchFilter.c"
+#line 7262 "SearchFilter.c"
}
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_entry;
#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 7271 "SearchFilter.c"
+#line 7268 "SearchFilter.c"
}
@@ -7278,14 +7275,14 @@ static void search_filter_toolbar_search_box_class_init (SearchFilterToolbarSear
g_type_class_add_private (klass, sizeof (SearchFilterToolbarSearchBoxPrivate));
#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_search_box_finalize;
-#line 7282 "SearchFilter.c"
+#line 7279 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_instance_init (SearchFilterToolbarSearchBox * self) {
#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_SEARCH_BOX_GET_PRIVATE (self);
-#line 7289 "SearchFilter.c"
+#line 7286 "SearchFilter.c"
}
@@ -7351,7 +7348,7 @@ static void search_filter_toolbar_search_box_finalize (GObject * obj) {
_text_action_unref0 (self->priv->action);
#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_search_box_parent_class)->finalize (obj);
-#line 7355 "SearchFilter.c"
+#line 7352 "SearchFilter.c"
}
@@ -7427,14 +7424,14 @@ SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_butto
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 740 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7431 "SearchFilter.c"
+#line 7428 "SearchFilter.c"
}
SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_button_new (GMenuModel* model) {
#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 7438 "SearchFilter.c"
+#line 7435 "SearchFilter.c"
}
@@ -7460,7 +7457,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
switch (_tmp0_) {
#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7464 "SearchFilter.c"
+#line 7461 "SearchFilter.c"
{
gchar* _tmp1_;
#line 759 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7471,11 +7468,11 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp1_;
#line 760 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7475 "SearchFilter.c"
+#line 7472 "SearchFilter.c"
}
#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7479 "SearchFilter.c"
+#line 7476 "SearchFilter.c"
{
gchar* _tmp2_;
#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7486,12 +7483,12 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp2_;
#line 764 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7490 "SearchFilter.c"
+#line 7487 "SearchFilter.c"
}
default:
#line 757 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7495 "SearchFilter.c"
+#line 7492 "SearchFilter.c"
{
gchar* _tmp3_;
#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7502,7 +7499,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp3_;
#line 769 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7506 "SearchFilter.c"
+#line 7503 "SearchFilter.c"
}
}
#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7533,7 +7530,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
_g_free0 (filename);
#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7537 "SearchFilter.c"
+#line 7534 "SearchFilter.c"
}
@@ -7557,7 +7554,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
switch (_tmp0_) {
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7561 "SearchFilter.c"
+#line 7558 "SearchFilter.c"
{
gint _tmp1_;
gint _tmp2_;
@@ -7569,11 +7566,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = _tmp1_ + _tmp2_;
#line 786 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7573 "SearchFilter.c"
+#line 7570 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7577 "SearchFilter.c"
+#line 7574 "SearchFilter.c"
{
gint _tmp3_;
gint _tmp4_;
@@ -7585,11 +7582,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp3_ * 2) + _tmp4_;
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7589 "SearchFilter.c"
+#line 7586 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 7593 "SearchFilter.c"
+#line 7590 "SearchFilter.c"
{
gint _tmp5_;
gint _tmp6_;
@@ -7601,11 +7598,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp5_ * 3) + _tmp6_;
#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7605 "SearchFilter.c"
+#line 7602 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7609 "SearchFilter.c"
+#line 7606 "SearchFilter.c"
{
gint _tmp7_;
gint _tmp8_;
@@ -7617,13 +7614,13 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp7_ * 4) + _tmp8_;
#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7621 "SearchFilter.c"
+#line 7618 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 7627 "SearchFilter.c"
+#line 7624 "SearchFilter.c"
{
gint _tmp9_;
#line 795 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7632,37 +7629,37 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = _tmp9_ * 5;
#line 795 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7636 "SearchFilter.c"
+#line 7633 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7640 "SearchFilter.c"
+#line 7637 "SearchFilter.c"
{
#line 797 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_REJECTED_OR_BETTER_FIXED_SIZE;
#line 797 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7646 "SearchFilter.c"
+#line 7643 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7650 "SearchFilter.c"
+#line 7647 "SearchFilter.c"
{
#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_UNRATED_OR_BETTER_FIXED_SIZE;
#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7656 "SearchFilter.c"
+#line 7653 "SearchFilter.c"
}
#line 784 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7660 "SearchFilter.c"
+#line 7657 "SearchFilter.c"
{
#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = icon_plus;
#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7666 "SearchFilter.c"
+#line 7663 "SearchFilter.c"
}
default:
{
@@ -7670,7 +7667,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = icon_base;
#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7674 "SearchFilter.c"
+#line 7671 "SearchFilter.c"
}
}
}
@@ -7696,7 +7693,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
switch (_tmp1_) {
#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7700 "SearchFilter.c"
+#line 7697 "SearchFilter.c"
{
GtkMenuButton* _tmp2_;
#line 811 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7705,11 +7702,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
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 7709 "SearchFilter.c"
+#line 7706 "SearchFilter.c"
}
#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7713 "SearchFilter.c"
+#line 7710 "SearchFilter.c"
{
GtkMenuButton* _tmp3_;
#line 814 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7718,11 +7715,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
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 7719 "SearchFilter.c"
}
#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 7726 "SearchFilter.c"
+#line 7723 "SearchFilter.c"
{
GtkMenuButton* _tmp4_;
#line 817 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7731,11 +7728,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
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"
break;
-#line 7735 "SearchFilter.c"
+#line 7732 "SearchFilter.c"
}
#line 809 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7739 "SearchFilter.c"
+#line 7736 "SearchFilter.c"
{
GtkMenuButton* _tmp5_;
#line 820 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7744,13 +7741,13 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
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"
break;
-#line 7748 "SearchFilter.c"
+#line 7745 "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"
+#line 7751 "SearchFilter.c"
{
GtkMenuButton* _tmp6_;
#line 824 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7759,7 +7756,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
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 7763 "SearchFilter.c"
+#line 7760 "SearchFilter.c"
}
default:
{
@@ -7786,7 +7783,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
_g_object_unref0 (_tmp11_);
#line 829 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7790 "SearchFilter.c"
+#line 7787 "SearchFilter.c"
}
}
#line 832 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7809,7 +7806,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
#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 7813 "SearchFilter.c"
+#line 7810 "SearchFilter.c"
}
@@ -7827,7 +7824,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_button_size (S
result = _tmp1_ + (2 * SEARCH_FILTER_TOOLBAR_FILTER_BUTTON_MARGIN);
#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7831 "SearchFilter.c"
+#line 7828 "SearchFilter.c"
}
@@ -7844,7 +7841,7 @@ void search_filter_toolbar_rating_filter_button_set_label (SearchFilterToolbarRa
_tmp1_ = label;
#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 7848 "SearchFilter.c"
+#line 7845 "SearchFilter.c"
}
@@ -7853,7 +7850,7 @@ static void search_filter_toolbar_rating_filter_button_class_init (SearchFilterT
search_filter_toolbar_rating_filter_button_parent_class = g_type_class_peek_parent (klass);
#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_rating_filter_button_finalize;
-#line 7857 "SearchFilter.c"
+#line 7854 "SearchFilter.c"
}
@@ -7869,7 +7866,7 @@ static void search_filter_toolbar_rating_filter_button_finalize (GObject * obj)
_g_object_unref0 (self->button);
#line 737 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_rating_filter_button_parent_class)->finalize (obj);
-#line 7873 "SearchFilter.c"
+#line 7870 "SearchFilter.c"
}
@@ -7888,7 +7885,7 @@ 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 873 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_on_clicked ((SearchFilterToolbarSavedSearchFilterButton*) self);
-#line 7892 "SearchFilter.c"
+#line 7889 "SearchFilter.c"
}
@@ -7948,14 +7945,14 @@ SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_f
_g_object_unref0 (image);
#line 854 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7952 "SearchFilter.c"
+#line 7949 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_filter_button_new (void) {
#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 7959 "SearchFilter.c"
+#line 7956 "SearchFilter.c"
}
@@ -7964,7 +7961,7 @@ static void search_filter_toolbar_saved_search_filter_button_on_clicked (SearchF
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
#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"
+#line 7965 "SearchFilter.c"
}
@@ -7979,7 +7976,7 @@ void search_filter_toolbar_saved_search_filter_button_set_active (SearchFilterTo
_tmp1_ = active;
#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toggle_button_set_active (_tmp0_, _tmp1_);
-#line 7983 "SearchFilter.c"
+#line 7980 "SearchFilter.c"
}
@@ -7996,7 +7993,7 @@ void search_filter_toolbar_saved_search_filter_button_set_label (SearchFilterToo
_tmp1_ = label;
#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 8000 "SearchFilter.c"
+#line 7997 "SearchFilter.c"
}
@@ -8013,7 +8010,7 @@ void search_filter_toolbar_saved_search_filter_button_restyle (SearchFilterToolb
_tmp1_ = self->button;
#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 8017 "SearchFilter.c"
+#line 8014 "SearchFilter.c"
}
@@ -8024,14 +8021,14 @@ static void search_filter_toolbar_saved_search_filter_button_class_init (SearchF
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_saved_search_filter_button_finalize;
#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"
+#line 8025 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_filter_button_instance_init (SearchFilterToolbarSavedSearchFilterButton * self) {
#line 849 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->filter_popup = NULL;
-#line 8035 "SearchFilter.c"
+#line 8032 "SearchFilter.c"
}
@@ -8053,7 +8050,7 @@ static void search_filter_toolbar_saved_search_filter_button_finalize (GObject *
_g_object_unref0 (self->button);
#line 848 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_saved_search_filter_button_parent_class)->finalize (obj);
-#line 8057 "SearchFilter.c"
+#line 8054 "SearchFilter.c"
}
@@ -8072,69 +8069,69 @@ 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 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_edit_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8076 "SearchFilter.c"
+#line 8073 "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 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_delete_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8083 "SearchFilter.c"
+#line 8080 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_add_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 977 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_add_click ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8090 "SearchFilter.c"
+#line 8087 "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 978 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_activate_row ((SearchFilterToolbarSavedSearchPopover*) self, row);
-#line 8097 "SearchFilter.c"
+#line 8094 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_popover_closed_gtk_popover_closed (GtkPopover* _sender, gpointer self) {
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_popover_closed ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8104 "SearchFilter.c"
+#line 8101 "SearchFilter.c"
}
-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) {
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((*length) == (*size)) {
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8115 "SearchFilter.c"
+#line 8112 "SearchFilter.c"
}
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8121 "SearchFilter.c"
+#line 8118 "SearchFilter.c"
}
-static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
+static void _vala_array_add135 (SearchFilterToolbarSavedSearchPopoverDataButton** * array, int* length, int* size, SearchFilterToolbarSavedSearchPopoverDataButton* value) {
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((*length) == (*size)) {
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8132 "SearchFilter.c"
+#line 8129 "SearchFilter.c"
}
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8138 "SearchFilter.c"
+#line 8135 "SearchFilter.c"
}
@@ -8200,7 +8197,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
self->priv->delete_buttons_length1 = 0;
#line 943 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_delete_buttons_size_ = self->priv->delete_buttons_length1;
-#line 8204 "SearchFilter.c"
+#line 8201 "SearchFilter.c"
{
GeeIterator* _search_it = NULL;
SavedSearchTable* _tmp6_;
@@ -8229,7 +8226,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
_search_it = _tmp11_;
#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
while (TRUE) {
-#line 8233 "SearchFilter.c"
+#line 8230 "SearchFilter.c"
GeeIterator* _tmp12_;
gboolean _tmp13_;
SavedSearch* search = NULL;
@@ -8277,7 +8274,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
if (!_tmp13_) {
#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8281 "SearchFilter.c"
+#line 8278 "SearchFilter.c"
}
#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _search_it;
@@ -8348,7 +8345,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
#line 955 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp33_ = _g_object_ref0 (_tmp32_);
#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_);
+ _vala_array_add134 (&self->priv->delete_buttons, &self->priv->delete_buttons_length1, &self->priv->_delete_buttons_size_, _tmp33_);
#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp34_ = search;
#line 957 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8376,7 +8373,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
#line 960 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp41_ = _g_object_ref0 (_tmp40_);
#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_);
+ _vala_array_add135 (&self->priv->edit_buttons, &self->priv->edit_buttons_length1, &self->priv->_edit_buttons_size_, _tmp41_);
#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp42_ = self->priv->list_box;
#line 962 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8393,11 +8390,11 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
_g_object_unref0 (row);
#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (search);
-#line 8397 "SearchFilter.c"
+#line 8394 "SearchFilter.c"
}
#line 945 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_search_it);
-#line 8401 "SearchFilter.c"
+#line 8398 "SearchFilter.c"
}
#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = (GtkButton*) gtk_button_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_BUTTON);
@@ -8435,14 +8432,14 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
search_filter_toolbar_saved_search_popover_restyle (self);
#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8439 "SearchFilter.c"
+#line 8436 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popover_new (GtkWidget* relative_to) {
#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 8446 "SearchFilter.c"
+#line 8443 "SearchFilter.c"
}
@@ -8462,7 +8459,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
_tmp1_ = self->priv->edit_buttons;
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1__length1 = self->priv->edit_buttons_length1;
-#line 8466 "SearchFilter.c"
+#line 8463 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -8474,14 +8471,14 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
button_collection_length1 = _tmp1__length1;
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp1__length1; button_it = button_it + 1) {
-#line 8478 "SearchFilter.c"
+#line 8475 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _g_object_ref0 (button_collection[button_it]);
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp2_;
-#line 8485 "SearchFilter.c"
+#line 8482 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp3_;
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8490,7 +8487,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp3_);
#line 984 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8494 "SearchFilter.c"
+#line 8491 "SearchFilter.c"
}
}
}
@@ -8498,7 +8495,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
_tmp4_ = self->priv->delete_buttons;
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 8502 "SearchFilter.c"
+#line 8499 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -8510,14 +8507,14 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
button_collection_length1 = _tmp4__length1;
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 8514 "SearchFilter.c"
+#line 8511 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 8521 "SearchFilter.c"
+#line 8518 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_;
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8526,7 +8523,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp6_);
#line 985 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8530 "SearchFilter.c"
+#line 8527 "SearchFilter.c"
}
}
}
@@ -8554,7 +8551,7 @@ static gboolean search_filter_toolbar_saved_search_popover_is_search_row (Search
result = FALSE;
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8558 "SearchFilter.c"
+#line 8555 "SearchFilter.c"
}
#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = row;
@@ -8576,13 +8573,13 @@ static gboolean search_filter_toolbar_saved_search_popover_is_search_row (Search
result = FALSE;
#line 990 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8580 "SearchFilter.c"
+#line 8577 "SearchFilter.c"
}
#line 991 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
#line 991 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8586 "SearchFilter.c"
+#line 8583 "SearchFilter.c"
}
@@ -8653,7 +8650,7 @@ static SavedSearch* search_filter_toolbar_saved_search_popover_get_search (Searc
_g_object_unref0 (button);
#line 996 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8657 "SearchFilter.c"
+#line 8654 "SearchFilter.c"
}
@@ -8671,7 +8668,7 @@ static void search_filter_toolbar_saved_search_popover_on_activate_row (SearchFi
_tmp1_ = search_filter_toolbar_saved_search_popover_is_search_row (self, _tmp0_);
#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 8675 "SearchFilter.c"
+#line 8672 "SearchFilter.c"
GtkListBoxRow* _tmp2_;
SavedSearch* _tmp3_;
SavedSearch* _tmp4_;
@@ -8685,13 +8682,13 @@ static void search_filter_toolbar_saved_search_popover_on_activate_row (SearchFi
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 8689 "SearchFilter.c"
+#line 8686 "SearchFilter.c"
}
#line 1002 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->popover;
#line 1002 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 8695 "SearchFilter.c"
+#line 8692 "SearchFilter.c"
}
@@ -8705,7 +8702,7 @@ static void search_filter_toolbar_saved_search_popover_on_edit_click (SearchFilt
_tmp0_ = search;
#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"
+#line 8706 "SearchFilter.c"
}
@@ -8719,7 +8716,7 @@ static void search_filter_toolbar_saved_search_popover_on_delete_click (SearchFi
_tmp0_ = search;
#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"
+#line 8720 "SearchFilter.c"
}
@@ -8728,7 +8725,7 @@ static void search_filter_toolbar_saved_search_popover_on_add_click (SearchFilte
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
#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"
+#line 8729 "SearchFilter.c"
}
@@ -8737,7 +8734,7 @@ static void search_filter_toolbar_saved_search_popover_on_popover_closed (Search
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
#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"
+#line 8738 "SearchFilter.c"
}
@@ -8749,7 +8746,7 @@ void search_filter_toolbar_saved_search_popover_show_all (SearchFilterToolbarSav
_tmp0_ = self->priv->popover;
#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 8753 "SearchFilter.c"
+#line 8750 "SearchFilter.c"
}
@@ -8761,14 +8758,14 @@ void search_filter_toolbar_saved_search_popover_hide (SearchFilterToolbarSavedSe
_tmp0_ = self->priv->popover;
#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 8765 "SearchFilter.c"
+#line 8762 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 925 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_on_click ((SearchFilterToolbarSavedSearchPopoverDataButton*) self);
-#line 8772 "SearchFilter.c"
+#line 8769 "SearchFilter.c"
}
@@ -8811,14 +8808,14 @@ static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_sa
g_signal_connect_object (_tmp4_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked, self, 0);
#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8815 "SearchFilter.c"
+#line 8812 "SearchFilter.c"
}
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_new (SavedSearch* search, const gchar* name) {
#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 8822 "SearchFilter.c"
+#line 8819 "SearchFilter.c"
}
@@ -8835,7 +8832,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_restyle (Sear
_tmp1_ = self->priv->button;
#line 930 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (_tmp1_, GTK_RELIEF_NONE);
-#line 8839 "SearchFilter.c"
+#line 8836 "SearchFilter.c"
}
@@ -8847,7 +8844,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_on_click (Sea
_tmp0_ = self->priv->_search;
#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"
+#line 8848 "SearchFilter.c"
}
@@ -8862,7 +8859,7 @@ static SavedSearch* search_filter_toolbar_saved_search_popover_data_button_get_s
result = _tmp0_;
#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8866 "SearchFilter.c"
+#line 8863 "SearchFilter.c"
}
@@ -8871,7 +8868,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_set_search (S
g_return_if_fail (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_IS_DATA_BUTTON (self));
#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"
+#line 8872 "SearchFilter.c"
SavedSearch* _tmp0_;
SavedSearch* _tmp1_;
#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8884,7 +8881,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_set_search (S
self->priv->_search = _tmp1_;
#line 910 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_notify ((GObject *) self, "search");
-#line 8888 "SearchFilter.c"
+#line 8885 "SearchFilter.c"
}
}
@@ -8904,7 +8901,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_class_init (S
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"
+#line 8905 "SearchFilter.c"
}
@@ -8913,7 +8910,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_instance_init
self->priv = SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_GET_PRIVATE (self);
#line 909 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = NULL;
-#line 8917 "SearchFilter.c"
+#line 8914 "SearchFilter.c"
}
@@ -8935,7 +8932,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_finalize (GOb
_g_object_unref0 (self->priv->_search);
#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 8939 "SearchFilter.c"
+#line 8936 "SearchFilter.c"
}
@@ -8962,13 +8959,13 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_get_pro
g_value_set_object (value, search_filter_toolbar_saved_search_popover_data_button_get_search (self));
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8966 "SearchFilter.c"
+#line 8963 "SearchFilter.c"
default:
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8972 "SearchFilter.c"
+#line 8969 "SearchFilter.c"
}
}
@@ -8984,13 +8981,13 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_pro
search_filter_toolbar_saved_search_popover_data_button_set_search (self, g_value_get_object (value));
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8988 "SearchFilter.c"
+#line 8985 "SearchFilter.c"
default:
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 908 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8994 "SearchFilter.c"
+#line 8991 "SearchFilter.c"
}
}
@@ -8998,7 +8995,7 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_pro
static void search_filter_toolbar_value_saved_search_popover_init (GValue* value) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9002 "SearchFilter.c"
+#line 8999 "SearchFilter.c"
}
@@ -9007,7 +9004,7 @@ static void search_filter_toolbar_value_saved_search_popover_free_value (GValue*
if (value->data[0].v_pointer) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (value->data[0].v_pointer);
-#line 9011 "SearchFilter.c"
+#line 9008 "SearchFilter.c"
}
}
@@ -9017,11 +9014,11 @@ static void search_filter_toolbar_value_saved_search_popover_copy_value (const G
if (src_value->data[0].v_pointer) {
#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 9021 "SearchFilter.c"
+#line 9018 "SearchFilter.c"
} else {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9025 "SearchFilter.c"
+#line 9022 "SearchFilter.c"
}
}
@@ -9029,37 +9026,37 @@ static void search_filter_toolbar_value_saved_search_popover_copy_value (const G
static gpointer search_filter_toolbar_value_saved_search_popover_peek_pointer (const GValue* value) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 9033 "SearchFilter.c"
+#line 9030 "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 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 9040 "SearchFilter.c"
+#line 9037 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopover * object;
object = collect_values[0].v_pointer;
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#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 9047 "SearchFilter.c"
+#line 9044 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#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 9051 "SearchFilter.c"
+#line 9048 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_toolbar_saved_search_popover_ref (object);
-#line 9055 "SearchFilter.c"
+#line 9052 "SearchFilter.c"
} else {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9059 "SearchFilter.c"
+#line 9056 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9063 "SearchFilter.c"
+#line 9060 "SearchFilter.c"
}
@@ -9070,25 +9067,25 @@ static gchar* search_filter_toolbar_value_saved_search_popover_lcopy_value (cons
if (!object_p) {
#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 9074 "SearchFilter.c"
+#line 9071 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 9080 "SearchFilter.c"
+#line 9077 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 9084 "SearchFilter.c"
+#line 9081 "SearchFilter.c"
} else {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9088 "SearchFilter.c"
+#line 9085 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9092 "SearchFilter.c"
+#line 9089 "SearchFilter.c"
}
@@ -9102,7 +9099,7 @@ GParamSpec* search_filter_toolbar_param_spec_saved_search_popover (const gchar*
G_PARAM_SPEC (spec)->value_type = object_type;
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 9106 "SearchFilter.c"
+#line 9103 "SearchFilter.c"
}
@@ -9111,7 +9108,7 @@ gpointer search_filter_toolbar_value_get_saved_search_popover (const GValue* val
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER), NULL);
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 9115 "SearchFilter.c"
+#line 9112 "SearchFilter.c"
}
@@ -9131,17 +9128,17 @@ void search_filter_toolbar_value_set_saved_search_popover (GValue* value, gpoint
value->data[0].v_pointer = v_object;
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9135 "SearchFilter.c"
+#line 9132 "SearchFilter.c"
} else {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9139 "SearchFilter.c"
+#line 9136 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9145 "SearchFilter.c"
+#line 9142 "SearchFilter.c"
}
}
@@ -9160,17 +9157,17 @@ void search_filter_toolbar_value_take_saved_search_popover (GValue* value, gpoin
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 9164 "SearchFilter.c"
+#line 9161 "SearchFilter.c"
} else {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9168 "SearchFilter.c"
+#line 9165 "SearchFilter.c"
}
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9174 "SearchFilter.c"
+#line 9171 "SearchFilter.c"
}
}
@@ -9192,7 +9189,7 @@ static void search_filter_toolbar_saved_search_popover_class_init (SearchFilterT
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"
+#line 9193 "SearchFilter.c"
}
@@ -9219,7 +9216,7 @@ static void search_filter_toolbar_saved_search_popover_instance_init (SearchFilt
self->priv->add = NULL;
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 9223 "SearchFilter.c"
+#line 9220 "SearchFilter.c"
}
@@ -9243,7 +9240,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
_tmp0_ = self->priv->edit_buttons;
#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0__length1 = self->priv->edit_buttons_length1;
-#line 9247 "SearchFilter.c"
+#line 9244 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -9255,14 +9252,14 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
button_collection_length1 = _tmp0__length1;
#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp0__length1; button_it = button_it + 1) {
-#line 9259 "SearchFilter.c"
+#line 9256 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp1_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _g_object_ref0 (button_collection[button_it]);
#line 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp1_;
-#line 9266 "SearchFilter.c"
+#line 9263 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_;
guint _tmp3_;
@@ -9274,7 +9271,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
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 975 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9278 "SearchFilter.c"
+#line 9275 "SearchFilter.c"
}
}
}
@@ -9282,7 +9279,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
_tmp4_ = self->priv->delete_buttons;
#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 9286 "SearchFilter.c"
+#line 9283 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -9294,14 +9291,14 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
button_collection_length1 = _tmp4__length1;
#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 9298 "SearchFilter.c"
+#line 9295 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
#line 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 9305 "SearchFilter.c"
+#line 9302 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_;
guint _tmp7_;
@@ -9313,7 +9310,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
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 976 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9317 "SearchFilter.c"
+#line 9314 "SearchFilter.c"
}
}
}
@@ -9345,7 +9342,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
self->priv->delete_buttons = (_vala_array_free (self->priv->delete_buttons, self->priv->delete_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
#line 899 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->add);
-#line 9349 "SearchFilter.c"
+#line 9346 "SearchFilter.c"
}
@@ -9370,7 +9367,7 @@ gpointer search_filter_toolbar_saved_search_popover_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 9374 "SearchFilter.c"
+#line 9371 "SearchFilter.c"
}
@@ -9383,7 +9380,7 @@ void search_filter_toolbar_saved_search_popover_unref (gpointer instance) {
SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_GET_CLASS (self)->finalize (self);
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9387 "SearchFilter.c"
+#line 9384 "SearchFilter.c"
}
}
@@ -9395,7 +9392,7 @@ static void search_filter_toolbar_class_init (SearchFilterToolbarClass * klass)
g_type_class_add_private (klass, sizeof (SearchFilterToolbarPrivate));
#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_finalize;
-#line 9399 "SearchFilter.c"
+#line 9396 "SearchFilter.c"
}
@@ -9434,7 +9431,7 @@ static void search_filter_toolbar_instance_init (SearchFilterToolbar * self) {
self->priv->elide_showing_again = FALSE;
#line 1038 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_filter = NULL;
-#line 9438 "SearchFilter.c"
+#line 9435 "SearchFilter.c"
}
@@ -9552,7 +9549,7 @@ static void search_filter_toolbar_finalize (GObject * obj) {
_g_object_unref0 (self->priv->sepr_rating_saved);
#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_parent_class)->finalize (obj);
-#line 9556 "SearchFilter.c"
+#line 9553 "SearchFilter.c"
}