From 49120f48474fc8fdc2448c75d961bc238213cfac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 1 May 2018 14:34:32 +0200 Subject: New upstream version 0.28.2 --- src/Properties.c | 1060 +++++++++++++++++++++++++++--------------------------- 1 file changed, 522 insertions(+), 538 deletions(-) (limited to 'src/Properties.c') diff --git a/src/Properties.c b/src/Properties.c index d14faa7..21f7671 100644 --- a/src/Properties.c +++ b/src/Properties.c @@ -636,6 +636,7 @@ enum { }; ExtendedPropertiesWindow* extended_properties_window_new (GtkWindow* owner); ExtendedPropertiesWindow* extended_properties_window_construct (GType object_type, GtkWindow* owner); +gint resources_use_header_bar (void); static gboolean _gtk_widget_hide_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_new (void); static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_construct (GType object_type); @@ -699,14 +700,14 @@ Properties* properties_construct (GType object_type) { gtk_grid_set_column_spacing (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), 6); #line 10 "/home/jens/Source/shotwell/src/Properties.vala" return self; -#line 703 "Properties.c" +#line 704 "Properties.c" } static gpointer _g_object_ref0 (gpointer self) { #line 31 "/home/jens/Source/shotwell/src/Properties.vala" return self ? g_object_ref (self) : NULL; -#line 710 "Properties.c" +#line 711 "Properties.c" } @@ -756,7 +757,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _tmp6_ = multi_line; #line 23 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp6_) { -#line 760 "Properties.c" +#line 761 "Properties.c" GtkScrolledWindow* info_scroll = NULL; GtkScrolledWindow* _tmp7_; GtkScrolledWindow* _tmp8_; @@ -836,14 +837,14 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar if (_tmp21_) { #line 37 "/home/jens/Source/shotwell/src/Properties.vala" _tmp19_ = ""; -#line 840 "Properties.c" +#line 841 "Properties.c" } else { const gchar* _tmp22_; #line 37 "/home/jens/Source/shotwell/src/Properties.vala" _tmp22_ = info_text; #line 37 "/home/jens/Source/shotwell/src/Properties.vala" _tmp19_ = _tmp22_; -#line 847 "Properties.c" +#line 848 "Properties.c" } #line 37 "/home/jens/Source/shotwell/src/Properties.vala" _tmp23_ = view; @@ -881,7 +882,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _g_object_unref0 (view); #line 23 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (info_scroll); -#line 885 "Properties.c" +#line 886 "Properties.c" } else { GtkLabel* info_label = NULL; GtkLabel* _tmp32_; @@ -911,14 +912,14 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar if (_tmp35_) { #line 44 "/home/jens/Source/shotwell/src/Properties.vala" _tmp33_ = ""; -#line 915 "Properties.c" +#line 916 "Properties.c" } else { const gchar* _tmp36_; #line 44 "/home/jens/Source/shotwell/src/Properties.vala" _tmp36_ = info_text; #line 44 "/home/jens/Source/shotwell/src/Properties.vala" _tmp33_ = _tmp36_; -#line 922 "Properties.c" +#line 923 "Properties.c" } #line 44 "/home/jens/Source/shotwell/src/Properties.vala" _tmp37_ = info_label; @@ -958,7 +959,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar info = _tmp45_; #line 23 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (info_label); -#line 962 "Properties.c" +#line 963 "Properties.c" } #line 54 "/home/jens/Source/shotwell/src/Properties.vala" _tmp46_ = label; @@ -970,7 +971,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _tmp48_ = multi_line; #line 56 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp48_) { -#line 974 "Properties.c" +#line 975 "Properties.c" GtkWidget* _tmp49_; guint _tmp50_; #line 57 "/home/jens/Source/shotwell/src/Properties.vala" @@ -979,7 +980,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _tmp50_ = self->priv->line_count; #line 57 "/home/jens/Source/shotwell/src/Properties.vala" gtk_grid_attach (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), _tmp49_, 1, (gint) _tmp50_, 1, 2); -#line 983 "Properties.c" +#line 984 "Properties.c" } else { GtkWidget* _tmp51_; guint _tmp52_; @@ -989,7 +990,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _tmp52_ = self->priv->line_count; #line 59 "/home/jens/Source/shotwell/src/Properties.vala" gtk_grid_attach (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_grid_get_type (), GtkGrid), _tmp51_, 1, (gint) _tmp52_, 1, 1); -#line 993 "Properties.c" +#line 994 "Properties.c" } #line 62 "/home/jens/Source/shotwell/src/Properties.vala" _tmp53_ = self->priv->line_count; @@ -999,7 +1000,7 @@ void properties_add_line (Properties* self, const gchar* label_text, const gchar _g_object_unref0 (info); #line 15 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (label); -#line 1003 "Properties.c" +#line 1004 "Properties.c" } @@ -1045,7 +1046,7 @@ static gchar* g_time_format (struct tm *self, const gchar* format) { buffer = (g_free (buffer), NULL); #line 2857 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1049 "Properties.c" +#line 1050 "Properties.c" } @@ -1063,7 +1064,7 @@ static gchar string_get (const gchar* self, glong index) { result = _tmp1_; #line 1111 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1067 "Properties.c" +#line 1068 "Properties.c" } @@ -1086,7 +1087,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { _tmp3_ = end; #line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp3_ == NULL) { -#line 1090 "Properties.c" +#line 1091 "Properties.c" glong _tmp4_; #line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp4_ = maxlen; @@ -1094,7 +1095,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = _tmp4_; #line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1098 "Properties.c" +#line 1099 "Properties.c" } else { gchar* _tmp5_; gchar* _tmp6_; @@ -1106,7 +1107,7 @@ static glong string_strnlen (gchar* str, glong maxlen) { result = (glong) (_tmp5_ - _tmp6_); #line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1110 "Properties.c" +#line 1111 "Properties.c" } } @@ -1130,21 +1131,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp1_ = offset; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp1_ >= ((glong) 0)) { -#line 1134 "Properties.c" +#line 1135 "Properties.c" glong _tmp2_; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp2_ = len; #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = _tmp2_ >= ((glong) 0); -#line 1140 "Properties.c" +#line 1141 "Properties.c" } else { #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = FALSE; -#line 1144 "Properties.c" +#line 1145 "Properties.c" } #line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 1148 "Properties.c" +#line 1149 "Properties.c" glong _tmp3_; glong _tmp4_; glong _tmp5_; @@ -1156,7 +1157,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); #line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" string_length = _tmp5_; -#line 1160 "Properties.c" +#line 1161 "Properties.c" } else { gint _tmp6_; gint _tmp7_; @@ -1166,13 +1167,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp7_ = _tmp6_; #line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" string_length = (glong) _tmp7_; -#line 1170 "Properties.c" +#line 1171 "Properties.c" } #line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp8_ = offset; #line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp8_ < ((glong) 0)) { -#line 1176 "Properties.c" +#line 1177 "Properties.c" glong _tmp9_; glong _tmp10_; glong _tmp11_; @@ -1186,7 +1187,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp11_ = offset; #line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); -#line 1190 "Properties.c" +#line 1191 "Properties.c" } else { glong _tmp12_; glong _tmp13_; @@ -1196,13 +1197,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp13_ = string_length; #line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); -#line 1200 "Properties.c" +#line 1201 "Properties.c" } #line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp14_ = len; #line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp14_ < ((glong) 0)) { -#line 1206 "Properties.c" +#line 1207 "Properties.c" glong _tmp15_; glong _tmp16_; #line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -1211,7 +1212,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { _tmp16_ = offset; #line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" len = _tmp15_ - _tmp16_; -#line 1215 "Properties.c" +#line 1216 "Properties.c" } #line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp17_ = offset; @@ -1231,7 +1232,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) { result = _tmp22_; #line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 1235 "Properties.c" +#line 1236 "Properties.c" } @@ -1266,7 +1267,7 @@ gchar* properties_get_prettyprint_time (Properties* self, struct tm* time) { _tmp5_ = string_get (_tmp4_, (glong) 0); #line 68 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp5_ == '0') { -#line 1270 "Properties.c" +#line 1271 "Properties.c" const gchar* _tmp6_; gchar* _tmp7_; #line 69 "/home/jens/Source/shotwell/src/Properties.vala" @@ -1277,13 +1278,13 @@ gchar* properties_get_prettyprint_time (Properties* self, struct tm* time) { _g_free0 (timestring); #line 69 "/home/jens/Source/shotwell/src/Properties.vala" timestring = _tmp7_; -#line 1281 "Properties.c" +#line 1282 "Properties.c" } #line 71 "/home/jens/Source/shotwell/src/Properties.vala" result = timestring; #line 71 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 1287 "Properties.c" +#line 1288 "Properties.c" } @@ -1318,7 +1319,7 @@ gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm _tmp5_ = string_get (_tmp4_, (glong) 0); #line 77 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp5_ == '0') { -#line 1322 "Properties.c" +#line 1323 "Properties.c" const gchar* _tmp6_; gchar* _tmp7_; #line 78 "/home/jens/Source/shotwell/src/Properties.vala" @@ -1329,13 +1330,13 @@ gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm _g_free0 (timestring); #line 78 "/home/jens/Source/shotwell/src/Properties.vala" timestring = _tmp7_; -#line 1333 "Properties.c" +#line 1334 "Properties.c" } #line 80 "/home/jens/Source/shotwell/src/Properties.vala" result = timestring; #line 80 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 1339 "Properties.c" +#line 1340 "Properties.c" } @@ -1350,7 +1351,7 @@ static void g_time_local (time_t time, struct tm* result) { *result = _result_; #line 2847 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return; -#line 1354 "Properties.c" +#line 1355 "Properties.c" } @@ -1387,7 +1388,7 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _tmp6_ = _tmp5_.tm_yday; #line 86 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp4_ == _tmp6_) { -#line 1391 "Properties.c" +#line 1392 "Properties.c" struct tm _tmp7_; gint _tmp8_; struct tm _tmp9_; @@ -1402,15 +1403,15 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _tmp10_ = _tmp9_.tm_year; #line 86 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = _tmp8_ == _tmp10_; -#line 1406 "Properties.c" +#line 1407 "Properties.c" } else { #line 86 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = FALSE; -#line 1410 "Properties.c" +#line 1411 "Properties.c" } #line 86 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp2_) { -#line 1414 "Properties.c" +#line 1415 "Properties.c" gchar* _tmp11_; #line 87 "/home/jens/Source/shotwell/src/Properties.vala" _tmp11_ = g_strdup (_ ("Today")); @@ -1418,7 +1419,7 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _g_free0 (date_string); #line 87 "/home/jens/Source/shotwell/src/Properties.vala" date_string = _tmp11_; -#line 1422 "Properties.c" +#line 1423 "Properties.c" } else { gboolean _tmp12_ = FALSE; struct tm _tmp13_; @@ -1435,7 +1436,7 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _tmp16_ = _tmp15_.tm_yday; #line 88 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp14_ == (_tmp16_ - 1)) { -#line 1439 "Properties.c" +#line 1440 "Properties.c" struct tm _tmp17_; gint _tmp18_; struct tm _tmp19_; @@ -1450,15 +1451,15 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _tmp20_ = _tmp19_.tm_year; #line 88 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp18_ == _tmp20_; -#line 1454 "Properties.c" +#line 1455 "Properties.c" } else { #line 88 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = FALSE; -#line 1458 "Properties.c" +#line 1459 "Properties.c" } #line 88 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp12_) { -#line 1462 "Properties.c" +#line 1463 "Properties.c" gchar* _tmp21_; #line 89 "/home/jens/Source/shotwell/src/Properties.vala" _tmp21_ = g_strdup (_ ("Yesterday")); @@ -1466,7 +1467,7 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _g_free0 (date_string); #line 89 "/home/jens/Source/shotwell/src/Properties.vala" date_string = _tmp21_; -#line 1470 "Properties.c" +#line 1471 "Properties.c" } else { struct tm _tmp22_; gchar* _tmp23_; @@ -1478,21 +1479,21 @@ gchar* properties_get_prettyprint_date (Properties* self, struct tm* date) { _g_free0 (date_string); #line 91 "/home/jens/Source/shotwell/src/Properties.vala" date_string = _tmp23_; -#line 1482 "Properties.c" +#line 1483 "Properties.c" } } #line 94 "/home/jens/Source/shotwell/src/Properties.vala" result = date_string; #line 94 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 1489 "Properties.c" +#line 1490 "Properties.c" } static void properties_real_get_single_properties (Properties* self, DataView* view) { #line 97 "/home/jens/Source/shotwell/src/Properties.vala" g_return_if_fail (IS_DATA_VIEW (view)); -#line 1496 "Properties.c" +#line 1497 "Properties.c" } @@ -1501,14 +1502,14 @@ void properties_get_single_properties (Properties* self, DataView* view) { g_return_if_fail (IS_PROPERTIES (self)); #line 97 "/home/jens/Source/shotwell/src/Properties.vala" PROPERTIES_GET_CLASS (self)->get_single_properties (self, view); -#line 1505 "Properties.c" +#line 1506 "Properties.c" } static void properties_real_get_multiple_properties (Properties* self, GeeIterable* iter) { #line 100 "/home/jens/Source/shotwell/src/Properties.vala" g_return_if_fail ((iter == NULL) || GEE_IS_ITERABLE (iter)); -#line 1512 "Properties.c" +#line 1513 "Properties.c" } @@ -1517,7 +1518,7 @@ void properties_get_multiple_properties (Properties* self, GeeIterable* iter) { g_return_if_fail (IS_PROPERTIES (self)); #line 100 "/home/jens/Source/shotwell/src/Properties.vala" PROPERTIES_GET_CLASS (self)->get_multiple_properties (self, iter); -#line 1521 "Properties.c" +#line 1522 "Properties.c" } @@ -1550,7 +1551,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page _data_collection_unref0 (view); #line 106 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 1554 "Properties.c" +#line 1555 "Properties.c" } #line 109 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = view; @@ -1564,7 +1565,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page _tmp5_ = count; #line 111 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp5_ != 0) { -#line 1568 "Properties.c" +#line 1569 "Properties.c" ViewCollection* _tmp6_; GeeList* _tmp7_; #line 112 "/home/jens/Source/shotwell/src/Properties.vala" @@ -1575,7 +1576,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page _g_object_unref0 (iter); #line 112 "/home/jens/Source/shotwell/src/Properties.vala" iter = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable); -#line 1579 "Properties.c" +#line 1580 "Properties.c" } else { ViewCollection* _tmp8_; gint _tmp9_; @@ -1595,7 +1596,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page _g_object_unref0 (iter); #line 115 "/home/jens/Source/shotwell/src/Properties.vala" iter = G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ITERABLE, GeeIterable); -#line 1599 "Properties.c" +#line 1600 "Properties.c" } #line 118 "/home/jens/Source/shotwell/src/Properties.vala" _tmp13_ = iter; @@ -1603,14 +1604,14 @@ static void properties_real_get_properties (Properties* self, Page* current_page if (_tmp13_ == NULL) { #line 118 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = TRUE; -#line 1607 "Properties.c" +#line 1608 "Properties.c" } else { gint _tmp14_; #line 118 "/home/jens/Source/shotwell/src/Properties.vala" _tmp14_ = count; #line 118 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp14_ == 0; -#line 1614 "Properties.c" +#line 1615 "Properties.c" } #line 118 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp12_) { @@ -1620,13 +1621,13 @@ static void properties_real_get_properties (Properties* self, Page* current_page _data_collection_unref0 (view); #line 119 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 1624 "Properties.c" +#line 1625 "Properties.c" } #line 121 "/home/jens/Source/shotwell/src/Properties.vala" _tmp15_ = count; #line 121 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp15_ == 1) { -#line 1630 "Properties.c" +#line 1631 "Properties.c" { GeeIterator* _item_it = NULL; GeeIterable* _tmp16_; @@ -1639,7 +1640,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page _item_it = _tmp17_; #line 122 "/home/jens/Source/shotwell/src/Properties.vala" while (TRUE) { -#line 1643 "Properties.c" +#line 1644 "Properties.c" GeeIterator* _tmp18_; gboolean _tmp19_; DataView* item = NULL; @@ -1654,7 +1655,7 @@ static void properties_real_get_properties (Properties* self, Page* current_page if (!_tmp19_) { #line 122 "/home/jens/Source/shotwell/src/Properties.vala" break; -#line 1658 "Properties.c" +#line 1659 "Properties.c" } #line 122 "/home/jens/Source/shotwell/src/Properties.vala" _tmp20_ = _item_it; @@ -1670,11 +1671,11 @@ static void properties_real_get_properties (Properties* self, Page* current_page _g_object_unref0 (item); #line 124 "/home/jens/Source/shotwell/src/Properties.vala" break; -#line 1674 "Properties.c" +#line 1675 "Properties.c" } #line 122 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (_item_it); -#line 1678 "Properties.c" +#line 1679 "Properties.c" } } else { GeeIterable* _tmp23_; @@ -1682,13 +1683,13 @@ static void properties_real_get_properties (Properties* self, Page* current_page _tmp23_ = iter; #line 127 "/home/jens/Source/shotwell/src/Properties.vala" properties_get_multiple_properties (self, _tmp23_); -#line 1686 "Properties.c" +#line 1687 "Properties.c" } #line 103 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (iter); #line 103 "/home/jens/Source/shotwell/src/Properties.vala" _data_collection_unref0 (view); -#line 1692 "Properties.c" +#line 1693 "Properties.c" } @@ -1697,7 +1698,7 @@ void properties_get_properties (Properties* self, Page* current_page) { g_return_if_fail (IS_PROPERTIES (self)); #line 103 "/home/jens/Source/shotwell/src/Properties.vala" PROPERTIES_GET_CLASS (self)->get_properties (self, current_page); -#line 1701 "Properties.c" +#line 1702 "Properties.c" } @@ -1705,7 +1706,7 @@ static void properties_real_clear_properties (Properties* self) { GList* _tmp0_; #line 132 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer)); -#line 1709 "Properties.c" +#line 1710 "Properties.c" { GList* child_collection = NULL; GList* child_it = NULL; @@ -1713,14 +1714,14 @@ static void properties_real_clear_properties (Properties* self) { child_collection = _tmp0_; #line 132 "/home/jens/Source/shotwell/src/Properties.vala" for (child_it = child_collection; child_it != NULL; child_it = child_it->next) { -#line 1717 "Properties.c" +#line 1718 "Properties.c" GtkWidget* _tmp1_; GtkWidget* child = NULL; #line 132 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = _g_object_ref0 ((GtkWidget*) child_it->data); #line 132 "/home/jens/Source/shotwell/src/Properties.vala" child = _tmp1_; -#line 1724 "Properties.c" +#line 1725 "Properties.c" { GtkWidget* _tmp2_; #line 133 "/home/jens/Source/shotwell/src/Properties.vala" @@ -1729,16 +1730,16 @@ static void properties_real_clear_properties (Properties* self) { gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), _tmp2_); #line 132 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (child); -#line 1733 "Properties.c" +#line 1734 "Properties.c" } } #line 132 "/home/jens/Source/shotwell/src/Properties.vala" _g_list_free0 (child_collection); -#line 1738 "Properties.c" +#line 1739 "Properties.c" } #line 135 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->line_count = (guint) 0; -#line 1742 "Properties.c" +#line 1743 "Properties.c" } @@ -1747,7 +1748,7 @@ void properties_clear_properties (Properties* self) { g_return_if_fail (IS_PROPERTIES (self)); #line 131 "/home/jens/Source/shotwell/src/Properties.vala" PROPERTIES_GET_CLASS (self)->clear_properties (self); -#line 1751 "Properties.c" +#line 1752 "Properties.c" } @@ -1765,7 +1766,7 @@ void properties_update_properties (Properties* self, Page* page) { properties_internal_update_properties (self, _tmp0_); #line 141 "/home/jens/Source/shotwell/src/Properties.vala" gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 1769 "Properties.c" +#line 1770 "Properties.c" } @@ -1777,7 +1778,7 @@ static void properties_real_internal_update_properties (Properties* self, Page* _tmp0_ = page; #line 145 "/home/jens/Source/shotwell/src/Properties.vala" properties_get_properties (self, _tmp0_); -#line 1781 "Properties.c" +#line 1782 "Properties.c" } @@ -1786,7 +1787,7 @@ void properties_internal_update_properties (Properties* self, Page* page) { g_return_if_fail (IS_PROPERTIES (self)); #line 144 "/home/jens/Source/shotwell/src/Properties.vala" PROPERTIES_GET_CLASS (self)->internal_update_properties (self, page); -#line 1790 "Properties.c" +#line 1791 "Properties.c" } @@ -1796,7 +1797,7 @@ void properties_unselect_text (Properties* self) { g_return_if_fail (IS_PROPERTIES (self)); #line 149 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = gtk_container_get_children (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer)); -#line 1800 "Properties.c" +#line 1801 "Properties.c" { GList* child_collection = NULL; GList* child_it = NULL; @@ -1804,36 +1805,36 @@ void properties_unselect_text (Properties* self) { child_collection = _tmp0_; #line 149 "/home/jens/Source/shotwell/src/Properties.vala" for (child_it = child_collection; child_it != NULL; child_it = child_it->next) { -#line 1808 "Properties.c" +#line 1809 "Properties.c" GtkWidget* _tmp1_; GtkWidget* child = NULL; #line 149 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = _g_object_ref0 ((GtkWidget*) child_it->data); #line 149 "/home/jens/Source/shotwell/src/Properties.vala" child = _tmp1_; -#line 1815 "Properties.c" +#line 1816 "Properties.c" { GtkWidget* _tmp2_; #line 150 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = child; #line 150 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_label_get_type ())) { -#line 1822 "Properties.c" +#line 1823 "Properties.c" GtkWidget* _tmp3_; #line 151 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = child; #line 151 "/home/jens/Source/shotwell/src/Properties.vala" gtk_label_select_region (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_label_get_type (), GtkLabel), 0, 0); -#line 1828 "Properties.c" +#line 1829 "Properties.c" } #line 149 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (child); -#line 1832 "Properties.c" +#line 1833 "Properties.c" } } #line 149 "/home/jens/Source/shotwell/src/Properties.vala" _g_list_free0 (child_collection); -#line 1837 "Properties.c" +#line 1838 "Properties.c" } } @@ -1855,7 +1856,7 @@ static void properties_class_init (PropertiesClass * klass) { ((PropertiesClass *) klass)->internal_update_properties = (void (*) (Properties *, Page*)) properties_real_internal_update_properties; #line 7 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (klass)->finalize = properties_finalize; -#line 1859 "Properties.c" +#line 1860 "Properties.c" } @@ -1864,7 +1865,7 @@ static void properties_instance_init (Properties * self) { self->priv = PROPERTIES_GET_PRIVATE (self); #line 8 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->line_count = (guint) 0; -#line 1868 "Properties.c" +#line 1869 "Properties.c" } @@ -1874,7 +1875,7 @@ static void properties_finalize (GObject * obj) { self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROPERTIES, Properties); #line 7 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (properties_parent_class)->finalize (obj); -#line 1878 "Properties.c" +#line 1879 "Properties.c" } @@ -1896,14 +1897,14 @@ BasicProperties* basic_properties_construct (GType object_type) { self = (BasicProperties*) properties_construct (object_type); #line 171 "/home/jens/Source/shotwell/src/Properties.vala" return self; -#line 1900 "Properties.c" +#line 1901 "Properties.c" } BasicProperties* basic_properties_new (void) { #line 171 "/home/jens/Source/shotwell/src/Properties.vala" return basic_properties_construct (TYPE_BASIC_PROPERTIES); -#line 1907 "Properties.c" +#line 1908 "Properties.c" } @@ -1969,14 +1970,14 @@ static void basic_properties_real_clear_properties (Properties* base) { _g_free0 (self->priv->raw_assoc); #line 188 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->raw_assoc = _tmp5_; -#line 1973 "Properties.c" +#line 1974 "Properties.c" } static gpointer _media_metadata_ref0 (gpointer self) { #line 203 "/home/jens/Source/shotwell/src/Properties.vala" return self ? media_metadata_ref (self) : NULL; -#line 1980 "Properties.c" +#line 1981 "Properties.c" } @@ -2018,18 +2019,18 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, TYPE_PHOTO_SOURCE)) { #line 198 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = TRUE; -#line 2022 "Properties.c" +#line 2023 "Properties.c" } else { DataSource* _tmp7_; #line 198 "/home/jens/Source/shotwell/src/Properties.vala" _tmp7_ = source; #line 198 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_PHOTO_IMPORT_SOURCE); -#line 2029 "Properties.c" +#line 2030 "Properties.c" } #line 198 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp5_) { -#line 2033 "Properties.c" +#line 2034 "Properties.c" time_t _tmp8_ = 0; DataSource* _tmp9_; time_t _tmp14_; @@ -2045,7 +2046,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp9_ = source; #line 199 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_PHOTO_SOURCE)) { -#line 2049 "Properties.c" +#line 2050 "Properties.c" DataSource* _tmp10_; time_t _tmp11_; #line 199 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2054,7 +2055,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp11_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource)); #line 199 "/home/jens/Source/shotwell/src/Properties.vala" _tmp8_ = _tmp11_; -#line 2058 "Properties.c" +#line 2059 "Properties.c" } else { DataSource* _tmp12_; time_t _tmp13_; @@ -2064,7 +2065,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp13_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource), TYPE_IMPORT_SOURCE, ImportSource)); #line 200 "/home/jens/Source/shotwell/src/Properties.vala" _tmp8_ = _tmp13_; -#line 2068 "Properties.c" +#line 2069 "Properties.c" } #line 199 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp8_; @@ -2076,7 +2077,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp16_ = source; #line 203 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_PHOTO_SOURCE)) { -#line 2080 "Properties.c" +#line 2081 "Properties.c" DataSource* _tmp17_; PhotoMetadata* _tmp18_; #line 203 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2087,7 +2088,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _media_metadata_unref0 (_tmp15_); #line 203 "/home/jens/Source/shotwell/src/Properties.vala" _tmp15_ = _tmp18_; -#line 2091 "Properties.c" +#line 2092 "Properties.c" } else { DataSource* _tmp19_; PhotoMetadata* _tmp20_; @@ -2099,7 +2100,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _media_metadata_unref0 (_tmp15_); #line 204 "/home/jens/Source/shotwell/src/Properties.vala" _tmp15_ = _tmp20_; -#line 2103 "Properties.c" +#line 2104 "Properties.c" } #line 203 "/home/jens/Source/shotwell/src/Properties.vala" _tmp21_ = _media_metadata_ref0 (_tmp15_); @@ -2109,7 +2110,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp22_ = metadata; #line 206 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp22_ != NULL) { -#line 2113 "Properties.c" +#line 2114 "Properties.c" PhotoMetadata* _tmp23_; gchar* _tmp24_; const gchar* _tmp25_; @@ -2136,7 +2137,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp25_ = self->priv->exposure; #line 208 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp25_ == NULL) { -#line 2140 "Properties.c" +#line 2141 "Properties.c" gchar* _tmp26_; #line 209 "/home/jens/Source/shotwell/src/Properties.vala" _tmp26_ = g_strdup (""); @@ -2144,7 +2145,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _g_free0 (self->priv->exposure); #line 209 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->exposure = _tmp26_; -#line 2148 "Properties.c" +#line 2149 "Properties.c" } #line 211 "/home/jens/Source/shotwell/src/Properties.vala" _tmp27_ = metadata; @@ -2158,7 +2159,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp29_ = self->priv->aperture; #line 212 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp29_ == NULL) { -#line 2162 "Properties.c" +#line 2163 "Properties.c" gchar* _tmp30_; #line 213 "/home/jens/Source/shotwell/src/Properties.vala" _tmp30_ = g_strdup (""); @@ -2166,7 +2167,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _g_free0 (self->priv->aperture); #line 213 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->aperture = _tmp30_; -#line 2170 "Properties.c" +#line 2171 "Properties.c" } #line 215 "/home/jens/Source/shotwell/src/Properties.vala" _tmp31_ = metadata; @@ -2180,7 +2181,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp33_ = self->priv->iso; #line 216 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp33_ == NULL) { -#line 2184 "Properties.c" +#line 2185 "Properties.c" gchar* _tmp34_; #line 217 "/home/jens/Source/shotwell/src/Properties.vala" _tmp34_ = g_strdup (""); @@ -2188,7 +2189,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _g_free0 (self->priv->iso); #line 217 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->iso = _tmp34_; -#line 2192 "Properties.c" +#line 2193 "Properties.c" } #line 219 "/home/jens/Source/shotwell/src/Properties.vala" _tmp36_ = metadata; @@ -2202,7 +2203,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _dimensions_free0 (_tmp38_); #line 219 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp39_) { -#line 2206 "Properties.c" +#line 2207 "Properties.c" PhotoMetadata* _tmp40_; Orientation _tmp41_; PhotoMetadata* _tmp42_; @@ -2228,21 +2229,21 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp35_ = _tmp46_; #line 220 "/home/jens/Source/shotwell/src/Properties.vala" _dimensions_free0 (_tmp44_); -#line 2232 "Properties.c" +#line 2233 "Properties.c" } else { #line 221 "/home/jens/Source/shotwell/src/Properties.vala" dimensions_init (&_tmp35_, 0, 0); -#line 2236 "Properties.c" +#line 2237 "Properties.c" } #line 219 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->dimensions = _tmp35_; -#line 2240 "Properties.c" +#line 2241 "Properties.c" } #line 224 "/home/jens/Source/shotwell/src/Properties.vala" _tmp47_ = source; #line 224 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp47_, TYPE_PHOTO_SOURCE)) { -#line 2246 "Properties.c" +#line 2247 "Properties.c" DataSource* _tmp48_; Dimensions _tmp49_ = {0}; #line 225 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2251,13 +2252,13 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp49_); #line 225 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->dimensions = _tmp49_; -#line 2255 "Properties.c" +#line 2256 "Properties.c" } #line 227 "/home/jens/Source/shotwell/src/Properties.vala" _tmp51_ = source; #line 227 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, TYPE_PHOTO)) { -#line 2261 "Properties.c" +#line 2262 "Properties.c" DataSource* _tmp52_; PhotoFileFormat _tmp53_; #line 227 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2266,15 +2267,15 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp53_ = photo_get_master_file_format (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_PHOTO, Photo)); #line 227 "/home/jens/Source/shotwell/src/Properties.vala" _tmp50_ = _tmp53_ == PHOTO_FILE_FORMAT_RAW; -#line 2270 "Properties.c" +#line 2271 "Properties.c" } else { #line 227 "/home/jens/Source/shotwell/src/Properties.vala" _tmp50_ = FALSE; -#line 2274 "Properties.c" +#line 2275 "Properties.c" } #line 227 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp50_) { -#line 2278 "Properties.c" +#line 2279 "Properties.c" Photo* photo = NULL; DataSource* _tmp54_; Photo* _tmp55_; @@ -2309,11 +2310,11 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV if (_tmp61_) { #line 230 "/home/jens/Source/shotwell/src/Properties.vala" _tmp59_ = _ ("RAW+JPEG"); -#line 2313 "Properties.c" +#line 2314 "Properties.c" } else { #line 230 "/home/jens/Source/shotwell/src/Properties.vala" _tmp59_ = ""; -#line 2317 "Properties.c" +#line 2318 "Properties.c" } #line 230 "/home/jens/Source/shotwell/src/Properties.vala" _tmp62_ = g_strdup (_tmp59_); @@ -2323,20 +2324,20 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV self->priv->raw_assoc = _tmp62_; #line 227 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (photo); -#line 2327 "Properties.c" +#line 2328 "Properties.c" } #line 198 "/home/jens/Source/shotwell/src/Properties.vala" _media_metadata_unref0 (metadata); #line 198 "/home/jens/Source/shotwell/src/Properties.vala" _media_metadata_unref0 (_tmp15_); -#line 2333 "Properties.c" +#line 2334 "Properties.c" } else { DataSource* _tmp63_; #line 232 "/home/jens/Source/shotwell/src/Properties.vala" _tmp63_ = source; #line 232 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp63_, TYPE_EVENT_SOURCE)) { -#line 2340 "Properties.c" +#line 2341 "Properties.c" EventSource* event_source = NULL; DataSource* _tmp64_; EventSource* _tmp65_; @@ -2395,7 +2396,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV self->priv->video_count = _tmp76_; #line 232 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (event_source); -#line 2399 "Properties.c" +#line 2400 "Properties.c" } else { gboolean _tmp77_ = FALSE; DataSource* _tmp78_; @@ -2405,25 +2406,25 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp78_, TYPE_VIDEO_SOURCE)) { #line 245 "/home/jens/Source/shotwell/src/Properties.vala" _tmp77_ = TRUE; -#line 2409 "Properties.c" +#line 2410 "Properties.c" } else { DataSource* _tmp79_; #line 245 "/home/jens/Source/shotwell/src/Properties.vala" _tmp79_ = source; #line 245 "/home/jens/Source/shotwell/src/Properties.vala" _tmp77_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp79_, TYPE_VIDEO_IMPORT_SOURCE); -#line 2416 "Properties.c" +#line 2417 "Properties.c" } #line 245 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp77_) { -#line 2420 "Properties.c" +#line 2421 "Properties.c" DataSource* _tmp80_; time_t _tmp93_; #line 246 "/home/jens/Source/shotwell/src/Properties.vala" _tmp80_ = source; #line 246 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp80_, TYPE_VIDEO_SOURCE)) { -#line 2427 "Properties.c" +#line 2428 "Properties.c" Video* video = NULL; DataSource* _tmp81_; Video* _tmp82_; @@ -2451,7 +2452,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp86_ = video_get_is_interpretable (_tmp85_); #line 250 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp86_) { -#line 2455 "Properties.c" +#line 2456 "Properties.c" Video* _tmp87_; Dimensions _tmp88_ = {0}; #line 251 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2460,7 +2461,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV video_get_frame_dimensions (_tmp87_, &_tmp88_); #line 251 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->dimensions = _tmp88_; -#line 2464 "Properties.c" +#line 2465 "Properties.c" } #line 253 "/home/jens/Source/shotwell/src/Properties.vala" _tmp89_ = video; @@ -2470,7 +2471,7 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV self->priv->start_time = _tmp90_; #line 246 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (video); -#line 2474 "Properties.c" +#line 2475 "Properties.c" } else { DataSource* _tmp91_; time_t _tmp92_; @@ -2480,19 +2481,19 @@ static void basic_properties_real_get_single_properties (Properties* base, DataV _tmp92_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, TYPE_VIDEO_IMPORT_SOURCE, VideoImportSource), TYPE_IMPORT_SOURCE, ImportSource)); #line 255 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp92_; -#line 2484 "Properties.c" +#line 2485 "Properties.c" } #line 257 "/home/jens/Source/shotwell/src/Properties.vala" _tmp93_ = self->priv->start_time; #line 257 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp93_; -#line 2490 "Properties.c" +#line 2491 "Properties.c" } } } #line 191 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (source); -#line 2496 "Properties.c" +#line 2497 "Properties.c" } @@ -2511,7 +2512,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee self->priv->photo_count = 0; #line 265 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->video_count = 0; -#line 2515 "Properties.c" +#line 2516 "Properties.c" { GeeIterator* _view_it = NULL; GeeIterable* _tmp1_; @@ -2524,7 +2525,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _view_it = _tmp2_; #line 266 "/home/jens/Source/shotwell/src/Properties.vala" while (TRUE) { -#line 2528 "Properties.c" +#line 2529 "Properties.c" GeeIterator* _tmp3_; gboolean _tmp4_; DataView* view = NULL; @@ -2543,7 +2544,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (!_tmp4_) { #line 266 "/home/jens/Source/shotwell/src/Properties.vala" break; -#line 2547 "Properties.c" +#line 2548 "Properties.c" } #line 266 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = _view_it; @@ -2563,18 +2564,18 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, TYPE_PHOTO_SOURCE)) { #line 269 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = TRUE; -#line 2567 "Properties.c" +#line 2568 "Properties.c" } else { DataSource* _tmp11_; #line 269 "/home/jens/Source/shotwell/src/Properties.vala" _tmp11_ = source; #line 269 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, TYPE_PHOTO_IMPORT_SOURCE); -#line 2574 "Properties.c" +#line 2575 "Properties.c" } #line 269 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp9_) { -#line 2578 "Properties.c" +#line 2579 "Properties.c" time_t _tmp12_ = 0; DataSource* _tmp13_; time_t exposure_time = 0; @@ -2584,7 +2585,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp13_ = source; #line 270 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_PHOTO_SOURCE)) { -#line 2588 "Properties.c" +#line 2589 "Properties.c" DataSource* _tmp14_; time_t _tmp15_; #line 271 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2593,7 +2594,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp15_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PHOTO_SOURCE, PhotoSource), TYPE_MEDIA_SOURCE, MediaSource)); #line 271 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp15_; -#line 2597 "Properties.c" +#line 2598 "Properties.c" } else { DataSource* _tmp16_; time_t _tmp17_; @@ -2603,7 +2604,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp17_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource), TYPE_IMPORT_SOURCE, ImportSource)); #line 272 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp17_; -#line 2607 "Properties.c" +#line 2608 "Properties.c" } #line 270 "/home/jens/Source/shotwell/src/Properties.vala" exposure_time = _tmp12_; @@ -2611,7 +2612,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp18_ = exposure_time; #line 274 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp18_ != ((time_t) 0)) { -#line 2615 "Properties.c" +#line 2616 "Properties.c" gboolean _tmp19_ = FALSE; time_t _tmp20_; gboolean _tmp24_ = FALSE; @@ -2622,7 +2623,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp20_ == ((time_t) 0)) { #line 275 "/home/jens/Source/shotwell/src/Properties.vala" _tmp19_ = TRUE; -#line 2626 "Properties.c" +#line 2627 "Properties.c" } else { time_t _tmp21_; time_t _tmp22_; @@ -2632,17 +2633,17 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp22_ = self->priv->start_time; #line 275 "/home/jens/Source/shotwell/src/Properties.vala" _tmp19_ = _tmp21_ < _tmp22_; -#line 2636 "Properties.c" +#line 2637 "Properties.c" } #line 275 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp19_) { -#line 2640 "Properties.c" +#line 2641 "Properties.c" time_t _tmp23_; #line 276 "/home/jens/Source/shotwell/src/Properties.vala" _tmp23_ = exposure_time; #line 276 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp23_; -#line 2646 "Properties.c" +#line 2647 "Properties.c" } #line 278 "/home/jens/Source/shotwell/src/Properties.vala" _tmp25_ = self->priv->end_time; @@ -2650,7 +2651,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp25_ == ((time_t) 0)) { #line 278 "/home/jens/Source/shotwell/src/Properties.vala" _tmp24_ = TRUE; -#line 2654 "Properties.c" +#line 2655 "Properties.c" } else { time_t _tmp26_; time_t _tmp27_; @@ -2660,31 +2661,31 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp27_ = self->priv->end_time; #line 278 "/home/jens/Source/shotwell/src/Properties.vala" _tmp24_ = _tmp26_ > _tmp27_; -#line 2664 "Properties.c" +#line 2665 "Properties.c" } #line 278 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp24_) { -#line 2668 "Properties.c" +#line 2669 "Properties.c" time_t _tmp28_; #line 279 "/home/jens/Source/shotwell/src/Properties.vala" _tmp28_ = exposure_time; #line 279 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp28_; -#line 2674 "Properties.c" +#line 2675 "Properties.c" } } #line 282 "/home/jens/Source/shotwell/src/Properties.vala" _tmp29_ = self->priv->photo_count; #line 282 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->photo_count = _tmp29_ + 1; -#line 2681 "Properties.c" +#line 2682 "Properties.c" } else { DataSource* _tmp30_; #line 283 "/home/jens/Source/shotwell/src/Properties.vala" _tmp30_ = source; #line 283 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_EVENT_SOURCE)) { -#line 2688 "Properties.c" +#line 2689 "Properties.c" EventSource* event_source = NULL; DataSource* _tmp31_; EventSource* _tmp32_; @@ -2719,7 +2720,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp33_ == -1) { #line 287 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->event_count = 0; -#line 2723 "Properties.c" +#line 2724 "Properties.c" } #line 289 "/home/jens/Source/shotwell/src/Properties.vala" _tmp36_ = self->priv->start_time; @@ -2727,7 +2728,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp36_ == ((time_t) 0)) { #line 289 "/home/jens/Source/shotwell/src/Properties.vala" _tmp35_ = TRUE; -#line 2731 "Properties.c" +#line 2732 "Properties.c" } else { EventSource* _tmp37_; time_t _tmp38_; @@ -2740,11 +2741,11 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp39_ = self->priv->start_time; #line 289 "/home/jens/Source/shotwell/src/Properties.vala" _tmp35_ = _tmp38_ < _tmp39_; -#line 2744 "Properties.c" +#line 2745 "Properties.c" } #line 289 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp35_) { -#line 2748 "Properties.c" +#line 2749 "Properties.c" EventSource* _tmp40_; time_t _tmp41_; #line 290 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2753,15 +2754,15 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp41_ = event_source_get_start_time (_tmp40_); #line 290 "/home/jens/Source/shotwell/src/Properties.vala" _tmp34_ = _tmp41_ != ((time_t) 0); -#line 2757 "Properties.c" +#line 2758 "Properties.c" } else { #line 289 "/home/jens/Source/shotwell/src/Properties.vala" _tmp34_ = FALSE; -#line 2761 "Properties.c" +#line 2762 "Properties.c" } #line 289 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp34_) { -#line 2765 "Properties.c" +#line 2766 "Properties.c" EventSource* _tmp42_; time_t _tmp43_; #line 291 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2770,7 +2771,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp43_ = event_source_get_start_time (_tmp42_); #line 291 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp43_; -#line 2774 "Properties.c" +#line 2775 "Properties.c" } #line 293 "/home/jens/Source/shotwell/src/Properties.vala" _tmp46_ = self->priv->end_time; @@ -2778,7 +2779,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp46_ == ((time_t) 0)) { #line 293 "/home/jens/Source/shotwell/src/Properties.vala" _tmp45_ = TRUE; -#line 2782 "Properties.c" +#line 2783 "Properties.c" } else { EventSource* _tmp47_; time_t _tmp48_; @@ -2791,11 +2792,11 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp49_ = self->priv->end_time; #line 293 "/home/jens/Source/shotwell/src/Properties.vala" _tmp45_ = _tmp48_ > _tmp49_; -#line 2795 "Properties.c" +#line 2796 "Properties.c" } #line 293 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp45_) { -#line 2799 "Properties.c" +#line 2800 "Properties.c" EventSource* _tmp50_; time_t _tmp51_; #line 294 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2804,15 +2805,15 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp51_ = event_source_get_end_time (_tmp50_); #line 294 "/home/jens/Source/shotwell/src/Properties.vala" _tmp44_ = _tmp51_ != ((time_t) 0); -#line 2808 "Properties.c" +#line 2809 "Properties.c" } else { #line 293 "/home/jens/Source/shotwell/src/Properties.vala" _tmp44_ = FALSE; -#line 2812 "Properties.c" +#line 2813 "Properties.c" } #line 293 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp44_) { -#line 2816 "Properties.c" +#line 2817 "Properties.c" EventSource* _tmp52_; time_t _tmp53_; #line 295 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2821,7 +2822,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp53_ = event_source_get_end_time (_tmp52_); #line 295 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp53_; -#line 2825 "Properties.c" +#line 2826 "Properties.c" } else { gboolean _tmp54_ = FALSE; time_t _tmp55_; @@ -2831,7 +2832,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp55_ == ((time_t) 0)) { #line 296 "/home/jens/Source/shotwell/src/Properties.vala" _tmp54_ = TRUE; -#line 2835 "Properties.c" +#line 2836 "Properties.c" } else { EventSource* _tmp56_; time_t _tmp57_; @@ -2844,11 +2845,11 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp58_ = self->priv->end_time; #line 296 "/home/jens/Source/shotwell/src/Properties.vala" _tmp54_ = _tmp57_ > _tmp58_; -#line 2848 "Properties.c" +#line 2849 "Properties.c" } #line 296 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp54_) { -#line 2852 "Properties.c" +#line 2853 "Properties.c" EventSource* _tmp59_; time_t _tmp60_; #line 297 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2857,7 +2858,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp60_ = event_source_get_start_time (_tmp59_); #line 297 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp60_; -#line 2861 "Properties.c" +#line 2862 "Properties.c" } } #line 302 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2892,7 +2893,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee self->priv->event_count = _tmp70_ + 1; #line 283 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (event_source); -#line 2896 "Properties.c" +#line 2897 "Properties.c" } else { gboolean _tmp71_ = FALSE; DataSource* _tmp72_; @@ -2902,18 +2903,18 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp72_, TYPE_VIDEO_SOURCE)) { #line 308 "/home/jens/Source/shotwell/src/Properties.vala" _tmp71_ = TRUE; -#line 2906 "Properties.c" +#line 2907 "Properties.c" } else { DataSource* _tmp73_; #line 308 "/home/jens/Source/shotwell/src/Properties.vala" _tmp73_ = source; #line 308 "/home/jens/Source/shotwell/src/Properties.vala" _tmp71_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp73_, TYPE_VIDEO_IMPORT_SOURCE); -#line 2913 "Properties.c" +#line 2914 "Properties.c" } #line 308 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp71_) { -#line 2917 "Properties.c" +#line 2918 "Properties.c" time_t _tmp74_ = 0; DataSource* _tmp75_; time_t exposure_time = 0; @@ -2923,7 +2924,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp75_ = source; #line 309 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, TYPE_VIDEO_SOURCE)) { -#line 2927 "Properties.c" +#line 2928 "Properties.c" DataSource* _tmp76_; time_t _tmp77_; #line 310 "/home/jens/Source/shotwell/src/Properties.vala" @@ -2932,7 +2933,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp77_ = media_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, TYPE_VIDEO_SOURCE, VideoSource), TYPE_MEDIA_SOURCE, MediaSource)); #line 310 "/home/jens/Source/shotwell/src/Properties.vala" _tmp74_ = _tmp77_; -#line 2936 "Properties.c" +#line 2937 "Properties.c" } else { DataSource* _tmp78_; time_t _tmp79_; @@ -2942,7 +2943,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp79_ = import_source_get_exposure_time (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, TYPE_VIDEO_IMPORT_SOURCE, VideoImportSource), TYPE_IMPORT_SOURCE, ImportSource)); #line 311 "/home/jens/Source/shotwell/src/Properties.vala" _tmp74_ = _tmp79_; -#line 2946 "Properties.c" +#line 2947 "Properties.c" } #line 309 "/home/jens/Source/shotwell/src/Properties.vala" exposure_time = _tmp74_; @@ -2950,7 +2951,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp80_ = exposure_time; #line 313 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp80_ != ((time_t) 0)) { -#line 2954 "Properties.c" +#line 2955 "Properties.c" gboolean _tmp81_ = FALSE; time_t _tmp82_; gboolean _tmp86_ = FALSE; @@ -2961,7 +2962,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp82_ == ((time_t) 0)) { #line 314 "/home/jens/Source/shotwell/src/Properties.vala" _tmp81_ = TRUE; -#line 2965 "Properties.c" +#line 2966 "Properties.c" } else { time_t _tmp83_; time_t _tmp84_; @@ -2971,17 +2972,17 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp84_ = self->priv->start_time; #line 314 "/home/jens/Source/shotwell/src/Properties.vala" _tmp81_ = _tmp83_ < _tmp84_; -#line 2975 "Properties.c" +#line 2976 "Properties.c" } #line 314 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp81_) { -#line 2979 "Properties.c" +#line 2980 "Properties.c" time_t _tmp85_; #line 315 "/home/jens/Source/shotwell/src/Properties.vala" _tmp85_ = exposure_time; #line 315 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp85_; -#line 2985 "Properties.c" +#line 2986 "Properties.c" } #line 317 "/home/jens/Source/shotwell/src/Properties.vala" _tmp87_ = self->priv->end_time; @@ -2989,7 +2990,7 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee if (_tmp87_ == ((time_t) 0)) { #line 317 "/home/jens/Source/shotwell/src/Properties.vala" _tmp86_ = TRUE; -#line 2993 "Properties.c" +#line 2994 "Properties.c" } else { time_t _tmp88_; time_t _tmp89_; @@ -2999,24 +3000,24 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _tmp89_ = self->priv->end_time; #line 317 "/home/jens/Source/shotwell/src/Properties.vala" _tmp86_ = _tmp88_ > _tmp89_; -#line 3003 "Properties.c" +#line 3004 "Properties.c" } #line 317 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp86_) { -#line 3007 "Properties.c" +#line 3008 "Properties.c" time_t _tmp90_; #line 318 "/home/jens/Source/shotwell/src/Properties.vala" _tmp90_ = exposure_time; #line 318 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp90_; -#line 3013 "Properties.c" +#line 3014 "Properties.c" } } #line 321 "/home/jens/Source/shotwell/src/Properties.vala" _tmp91_ = self->priv->video_count; #line 321 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->video_count = _tmp91_ + 1; -#line 3020 "Properties.c" +#line 3021 "Properties.c" } } } @@ -3024,11 +3025,11 @@ static void basic_properties_real_get_multiple_properties (Properties* base, Gee _g_object_unref0 (source); #line 266 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (view); -#line 3028 "Properties.c" +#line 3029 "Properties.c" } #line 266 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (_view_it); -#line 3032 "Properties.c" +#line 3033 "Properties.c" } } @@ -3050,25 +3051,25 @@ static void basic_properties_real_get_properties (Properties* base, Page* curren _tmp1_ = self->priv->end_time; #line 329 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp1_ == ((time_t) 0)) { -#line 3054 "Properties.c" +#line 3055 "Properties.c" time_t _tmp2_; #line 330 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = self->priv->start_time; #line 330 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp2_; -#line 3060 "Properties.c" +#line 3061 "Properties.c" } #line 331 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = self->priv->start_time; #line 331 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp3_ == ((time_t) 0)) { -#line 3066 "Properties.c" +#line 3067 "Properties.c" time_t _tmp4_; #line 332 "/home/jens/Source/shotwell/src/Properties.vala" _tmp4_ = self->priv->end_time; #line 332 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->start_time = _tmp4_; -#line 3072 "Properties.c" +#line 3073 "Properties.c" } } @@ -3101,21 +3102,21 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp2_ = self->priv->title; #line 339 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp2_, "") == 0) { -#line 3105 "Properties.c" +#line 3106 "Properties.c" Page* _tmp3_; #line 339 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = page; #line 339 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, TYPE_TAG_PAGE); -#line 3111 "Properties.c" +#line 3112 "Properties.c" } else { #line 339 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = FALSE; -#line 3115 "Properties.c" +#line 3116 "Properties.c" } #line 339 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp1_) { -#line 3119 "Properties.c" +#line 3120 "Properties.c" Page* _tmp4_; Tag* _tmp5_; Tag* _tmp6_; @@ -3134,13 +3135,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, self->priv->title = _tmp7_; #line 340 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (_tmp6_); -#line 3138 "Properties.c" +#line 3139 "Properties.c" } #line 342 "/home/jens/Source/shotwell/src/Properties.vala" _tmp8_ = self->priv->title; #line 342 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp8_, "") != 0) { -#line 3144 "Properties.c" +#line 3145 "Properties.c" const gchar* _tmp9_; gchar* _tmp10_; gchar* _tmp11_; @@ -3154,7 +3155,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Title:"), _tmp11_, FALSE); #line 343 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp11_); -#line 3158 "Properties.c" +#line 3159 "Properties.c" } #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _tmp13_ = self->priv->photo_count; @@ -3162,18 +3163,18 @@ static void basic_properties_real_internal_update_properties (Properties* base, if (_tmp13_ >= 0) { #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = TRUE; -#line 3166 "Properties.c" +#line 3167 "Properties.c" } else { gint _tmp14_; #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _tmp14_ = self->priv->video_count; #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp14_ >= 0; -#line 3173 "Properties.c" +#line 3174 "Properties.c" } #line 345 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp12_) { -#line 3177 "Properties.c" +#line 3178 "Properties.c" gchar* label = NULL; gchar* _tmp15_; gint _tmp16_; @@ -3198,7 +3199,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp16_ = self->priv->event_count; #line 348 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp16_ >= 0) { -#line 3202 "Properties.c" +#line 3203 "Properties.c" gchar* event_num_string = NULL; gint _tmp17_; gint _tmp18_; @@ -3228,7 +3229,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, label = _tmp22_; #line 348 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (event_num_string); -#line 3232 "Properties.c" +#line 3233 "Properties.c" } #line 356 "/home/jens/Source/shotwell/src/Properties.vala" _tmp23_ = self->priv->photo_count; @@ -3250,21 +3251,21 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp30_ = self->priv->photo_count; #line 361 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp30_ == 0) { -#line 3254 "Properties.c" +#line 3255 "Properties.c" gint _tmp31_; #line 361 "/home/jens/Source/shotwell/src/Properties.vala" _tmp31_ = self->priv->video_count; #line 361 "/home/jens/Source/shotwell/src/Properties.vala" _tmp29_ = _tmp31_ > 0; -#line 3260 "Properties.c" +#line 3261 "Properties.c" } else { #line 361 "/home/jens/Source/shotwell/src/Properties.vala" _tmp29_ = FALSE; -#line 3264 "Properties.c" +#line 3265 "Properties.c" } #line 361 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp29_) { -#line 3268 "Properties.c" +#line 3269 "Properties.c" const gchar* _tmp32_; const gchar* _tmp33_; #line 362 "/home/jens/Source/shotwell/src/Properties.vala" @@ -3281,7 +3282,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (label); #line 363 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 3285 "Properties.c" +#line 3286 "Properties.c" } #line 366 "/home/jens/Source/shotwell/src/Properties.vala" _tmp34_ = label; @@ -3293,13 +3294,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp36_ = self->priv->video_count; #line 368 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp36_ > 0) { -#line 3297 "Properties.c" +#line 3298 "Properties.c" const gchar* _tmp37_; #line 369 "/home/jens/Source/shotwell/src/Properties.vala" _tmp37_ = video_num_string; #line 369 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp37_, FALSE); -#line 3303 "Properties.c" +#line 3304 "Properties.c" } #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (video_num_string); @@ -3307,13 +3308,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (photo_num_string); #line 345 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (label); -#line 3311 "Properties.c" +#line 3312 "Properties.c" } #line 372 "/home/jens/Source/shotwell/src/Properties.vala" _tmp38_ = self->priv->start_time; #line 372 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp38_ != ((time_t) 0)) { -#line 3317 "Properties.c" +#line 3318 "Properties.c" gchar* start_date = NULL; time_t _tmp39_; struct tm _tmp40_ = {0}; @@ -3370,7 +3371,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp52_ = end_date; #line 378 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp51_, _tmp52_) == 0) { -#line 3374 "Properties.c" +#line 3375 "Properties.c" const gchar* _tmp53_; const gchar* _tmp54_; const gchar* _tmp55_; @@ -3384,13 +3385,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp55_ = end_time; #line 382 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp54_, _tmp55_) == 0) { -#line 3388 "Properties.c" +#line 3389 "Properties.c" const gchar* _tmp56_; #line 384 "/home/jens/Source/shotwell/src/Properties.vala" _tmp56_ = start_time; #line 384 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Time:"), _tmp56_, FALSE); -#line 3394 "Properties.c" +#line 3395 "Properties.c" } else { const gchar* _tmp57_; const gchar* _tmp58_; @@ -3402,7 +3403,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp58_ = end_time; #line 388 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("To:"), _tmp58_, FALSE); -#line 3406 "Properties.c" +#line 3407 "Properties.c" } } else { const gchar* _tmp59_; @@ -3415,7 +3416,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp60_ = end_date; #line 393 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("To:"), _tmp60_, FALSE); -#line 3419 "Properties.c" +#line 3420 "Properties.c" } #line 372 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (end_time); @@ -3425,13 +3426,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (start_time); #line 372 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (start_date); -#line 3429 "Properties.c" +#line 3430 "Properties.c" } #line 397 "/home/jens/Source/shotwell/src/Properties.vala" _tmp61_ = dimensions_has_area (&self->priv->dimensions); #line 397 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp61_) { -#line 3435 "Properties.c" +#line 3436 "Properties.c" gchar* label = NULL; gchar* _tmp62_; gboolean _tmp63_; @@ -3443,7 +3444,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp63_ = dimensions_has_area (&self->priv->dimensions); #line 400 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp63_) { -#line 3447 "Properties.c" +#line 3448 "Properties.c" const gchar* _tmp64_; Dimensions _tmp65_; gint _tmp66_; @@ -3476,17 +3477,17 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (label); #line 402 "/home/jens/Source/shotwell/src/Properties.vala" label = _tmp71_; -#line 3480 "Properties.c" +#line 3481 "Properties.c" } #line 397 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (label); -#line 3484 "Properties.c" +#line 3485 "Properties.c" } #line 406 "/home/jens/Source/shotwell/src/Properties.vala" _tmp72_ = self->priv->clip_duration; #line 406 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp72_ > 0.0) { -#line 3490 "Properties.c" +#line 3491 "Properties.c" gdouble _tmp73_; gchar* _tmp74_; gchar* _tmp75_; @@ -3500,31 +3501,31 @@ static void basic_properties_real_internal_update_properties (Properties* base, properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Duration:"), _tmp75_, FALSE); #line 407 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp75_); -#line 3504 "Properties.c" +#line 3505 "Properties.c" } #line 410 "/home/jens/Source/shotwell/src/Properties.vala" _tmp76_ = self->priv->raw_developer; #line 410 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp76_, "") != 0) { -#line 3510 "Properties.c" +#line 3511 "Properties.c" const gchar* _tmp77_; #line 411 "/home/jens/Source/shotwell/src/Properties.vala" _tmp77_ = self->priv->raw_developer; #line 411 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Developer:"), _tmp77_, FALSE); -#line 3516 "Properties.c" +#line 3517 "Properties.c" } #line 415 "/home/jens/Source/shotwell/src/Properties.vala" _tmp78_ = self->priv->raw_assoc; #line 415 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp78_, "") != 0) { -#line 3522 "Properties.c" +#line 3523 "Properties.c" const gchar* _tmp79_; #line 416 "/home/jens/Source/shotwell/src/Properties.vala" _tmp79_ = self->priv->raw_assoc; #line 416 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp79_, FALSE); -#line 3528 "Properties.c" +#line 3529 "Properties.c" } #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp82_ = self->priv->exposure; @@ -3532,31 +3533,31 @@ static void basic_properties_real_internal_update_properties (Properties* base, if (g_strcmp0 (_tmp82_, "") != 0) { #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp81_ = TRUE; -#line 3536 "Properties.c" +#line 3537 "Properties.c" } else { const gchar* _tmp83_; #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp83_ = self->priv->aperture; #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp81_ = g_strcmp0 (_tmp83_, "") != 0; -#line 3543 "Properties.c" +#line 3544 "Properties.c" } #line 418 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp81_) { #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp80_ = TRUE; -#line 3549 "Properties.c" +#line 3550 "Properties.c" } else { const gchar* _tmp84_; #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp84_ = self->priv->iso; #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _tmp80_ = g_strcmp0 (_tmp84_, "") != 0; -#line 3556 "Properties.c" +#line 3557 "Properties.c" } #line 418 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp80_) { -#line 3560 "Properties.c" +#line 3561 "Properties.c" gchar* line = NULL; const gchar* _tmp85_; const gchar* _tmp88_; @@ -3569,7 +3570,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp85_ = self->priv->exposure; #line 422 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp85_, "") != 0) { -#line 3573 "Properties.c" +#line 3574 "Properties.c" const gchar* _tmp86_; gchar* _tmp87_; #line 423 "/home/jens/Source/shotwell/src/Properties.vala" @@ -3580,19 +3581,19 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (line); #line 423 "/home/jens/Source/shotwell/src/Properties.vala" line = _tmp87_; -#line 3584 "Properties.c" +#line 3585 "Properties.c" } #line 425 "/home/jens/Source/shotwell/src/Properties.vala" _tmp88_ = self->priv->aperture; #line 425 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp88_, "") != 0) { -#line 3590 "Properties.c" +#line 3591 "Properties.c" const gchar* _tmp89_; #line 426 "/home/jens/Source/shotwell/src/Properties.vala" _tmp89_ = line; #line 426 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp89_ != NULL) { -#line 3596 "Properties.c" +#line 3597 "Properties.c" const gchar* _tmp90_; const gchar* _tmp91_; gchar* _tmp92_; @@ -3614,7 +3615,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, line = _tmp94_; #line 427 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp93_); -#line 3618 "Properties.c" +#line 3619 "Properties.c" } else { const gchar* _tmp95_; gchar* _tmp96_; @@ -3626,7 +3627,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (line); #line 429 "/home/jens/Source/shotwell/src/Properties.vala" line = _tmp96_; -#line 3630 "Properties.c" +#line 3631 "Properties.c" } } #line 433 "/home/jens/Source/shotwell/src/Properties.vala" @@ -3635,39 +3636,39 @@ static void basic_properties_real_internal_update_properties (Properties* base, if (g_strcmp0 (_tmp99_, "") == 0) { #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp98_ = TRUE; -#line 3639 "Properties.c" +#line 3640 "Properties.c" } else { const gchar* _tmp100_; #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp100_ = self->priv->aperture; #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp98_ = g_strcmp0 (_tmp100_, "") == 0; -#line 3646 "Properties.c" +#line 3647 "Properties.c" } #line 433 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp98_) { -#line 3650 "Properties.c" +#line 3651 "Properties.c" const gchar* _tmp101_; #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp101_ = self->priv->iso; #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp97_ = g_strcmp0 (_tmp101_, "") != 0; -#line 3656 "Properties.c" +#line 3657 "Properties.c" } else { #line 433 "/home/jens/Source/shotwell/src/Properties.vala" _tmp97_ = FALSE; -#line 3660 "Properties.c" +#line 3661 "Properties.c" } #line 433 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp97_) { -#line 3664 "Properties.c" +#line 3665 "Properties.c" const gchar* _tmp102_; const gchar* _tmp110_; #line 434 "/home/jens/Source/shotwell/src/Properties.vala" _tmp102_ = line; #line 434 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp102_ != NULL) { -#line 3671 "Properties.c" +#line 3672 "Properties.c" const gchar* _tmp103_; const gchar* _tmp104_; gchar* _tmp105_; @@ -3689,7 +3690,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, line = _tmp107_; #line 435 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp106_); -#line 3693 "Properties.c" +#line 3694 "Properties.c" } else { const gchar* _tmp108_; gchar* _tmp109_; @@ -3701,13 +3702,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, _g_free0 (line); #line 437 "/home/jens/Source/shotwell/src/Properties.vala" line = _tmp109_; -#line 3705 "Properties.c" +#line 3706 "Properties.c" } #line 439 "/home/jens/Source/shotwell/src/Properties.vala" _tmp110_ = line; #line 439 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure:"), _tmp110_, FALSE); -#line 3711 "Properties.c" +#line 3712 "Properties.c" } else { const gchar* _tmp111_; const gchar* _tmp113_; @@ -3715,25 +3716,25 @@ static void basic_properties_real_internal_update_properties (Properties* base, _tmp111_ = line; #line 442 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp111_ != NULL) { -#line 3719 "Properties.c" +#line 3720 "Properties.c" const gchar* _tmp112_; #line 443 "/home/jens/Source/shotwell/src/Properties.vala" _tmp112_ = line; #line 443 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure:"), _tmp112_, FALSE); -#line 3725 "Properties.c" +#line 3726 "Properties.c" } #line 446 "/home/jens/Source/shotwell/src/Properties.vala" _tmp113_ = self->priv->iso; #line 446 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp113_, "") != 0) { -#line 3731 "Properties.c" +#line 3732 "Properties.c" const gchar* _tmp114_; #line 447 "/home/jens/Source/shotwell/src/Properties.vala" _tmp114_ = line; #line 447 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp114_ != NULL) { -#line 3737 "Properties.c" +#line 3738 "Properties.c" const gchar* _tmp115_; gchar* _tmp116_; gchar* _tmp117_; @@ -3747,7 +3748,7 @@ static void basic_properties_real_internal_update_properties (Properties* base, properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), "", _tmp117_, FALSE); #line 448 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp117_); -#line 3751 "Properties.c" +#line 3752 "Properties.c" } else { const gchar* _tmp118_; gchar* _tmp119_; @@ -3762,13 +3763,13 @@ static void basic_properties_real_internal_update_properties (Properties* base, properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure:"), _tmp120_, FALSE); #line 450 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp120_); -#line 3766 "Properties.c" +#line 3767 "Properties.c" } } } #line 418 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (line); -#line 3772 "Properties.c" +#line 3773 "Properties.c" } } @@ -3790,7 +3791,7 @@ static void basic_properties_class_init (BasicPropertiesClass * klass) { ((PropertiesClass *) klass)->internal_update_properties = (void (*) (Properties *, Page*)) basic_properties_real_internal_update_properties; #line 156 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (klass)->finalize = basic_properties_finalize; -#line 3794 "Properties.c" +#line 3795 "Properties.c" } @@ -3807,7 +3808,7 @@ static void basic_properties_instance_init (BasicProperties * self) { _tmp1_ = time (NULL); #line 159 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->end_time = _tmp1_; -#line 3811 "Properties.c" +#line 3812 "Properties.c" } @@ -3829,7 +3830,7 @@ static void basic_properties_finalize (GObject * obj) { _g_free0 (self->priv->raw_assoc); #line 156 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (basic_properties_parent_class)->finalize (obj); -#line 3833 "Properties.c" +#line 3834 "Properties.c" } @@ -3848,19 +3849,18 @@ GType basic_properties_get_type (void) { static gboolean _gtk_widget_hide_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = gtk_widget_hide_on_delete ((GtkWidget*) self); -#line 649 "/home/jens/Source/shotwell/src/Properties.vala" +#line 647 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 3854 "Properties.c" +#line 3855 "Properties.c" } ExtendedPropertiesWindow* extended_properties_window_construct (GType object_type, GtkWindow* owner) { ExtendedPropertiesWindow * self = NULL; - gboolean use_header = FALSE; - GtkSettings* _tmp0_; - gint _tmp1_ = 0; - gboolean _tmp2_; - GtkWindow* _tmp3_; + gint _tmp0_; + GtkWindow* _tmp1_; + ExtendedPropertiesWindowExtendedProperties* _tmp2_; + ExtendedPropertiesWindowExtendedProperties* _tmp3_; ExtendedPropertiesWindowExtendedProperties* _tmp4_; ExtendedPropertiesWindowExtendedProperties* _tmp5_; ExtendedPropertiesWindowExtendedProperties* _tmp6_; @@ -3868,106 +3868,90 @@ ExtendedPropertiesWindow* extended_properties_window_construct (GType object_typ ExtendedPropertiesWindowExtendedProperties* _tmp8_; ExtendedPropertiesWindowExtendedProperties* _tmp9_; ExtendedPropertiesWindowExtendedProperties* _tmp10_; - ExtendedPropertiesWindowExtendedProperties* _tmp11_; + GtkBox* _tmp11_; ExtendedPropertiesWindowExtendedProperties* _tmp12_; - GtkBox* _tmp13_; - ExtendedPropertiesWindowExtendedProperties* _tmp14_; #line 635 "/home/jens/Source/shotwell/src/Properties.vala" g_return_val_if_fail (GTK_IS_WINDOW (owner), NULL); -#line 637 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp0_ = gtk_settings_get_default (); -#line 637 "/home/jens/Source/shotwell/src/Properties.vala" - g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL); -#line 638 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp2_ = use_header; -#line 638 "/home/jens/Source/shotwell/src/Properties.vala" - if (_tmp2_) { -#line 638 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp1_ = 1; -#line 3888 "Properties.c" - } else { -#line 638 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp1_ = 0; -#line 3892 "Properties.c" - } +#line 636 "/home/jens/Source/shotwell/src/Properties.vala" + _tmp0_ = resources_use_header_bar (); +#line 636 "/home/jens/Source/shotwell/src/Properties.vala" + self = (ExtendedPropertiesWindow*) g_object_new (object_type, "use-header-bar", _tmp0_, NULL); #line 638 "/home/jens/Source/shotwell/src/Properties.vala" - self = (ExtendedPropertiesWindow*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL); -#line 640 "/home/jens/Source/shotwell/src/Properties.vala" gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), (gint) (GDK_BUTTON_PRESS_MASK | GDK_KEY_PRESS_MASK)); -#line 641 "/home/jens/Source/shotwell/src/Properties.vala" +#line 639 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_set_focus_on_map (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 642 "/home/jens/Source/shotwell/src/Properties.vala" +#line 640 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_set_accept_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE); -#line 643 "/home/jens/Source/shotwell/src/Properties.vala" +#line 641 "/home/jens/Source/shotwell/src/Properties.vala" gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE); -#line 644 "/home/jens/Source/shotwell/src/Properties.vala" +#line 642 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _ ("Extended Information")); -#line 645 "/home/jens/Source/shotwell/src/Properties.vala" +#line 643 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_set_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GTK_WIN_POS_CENTER); -#line 646 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp3_ = owner; -#line 646 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp3_); -#line 647 "/home/jens/Source/shotwell/src/Properties.vala" +#line 644 "/home/jens/Source/shotwell/src/Properties.vala" + _tmp1_ = owner; +#line 644 "/home/jens/Source/shotwell/src/Properties.vala" + gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp1_); +#line 645 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG); -#line 649 "/home/jens/Source/shotwell/src/Properties.vala" +#line 647 "/home/jens/Source/shotwell/src/Properties.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _gtk_widget_hide_on_delete_gtk_widget_delete_event, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), 0); -#line 651 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp4_ = extended_properties_window_extended_properties_new (); -#line 651 "/home/jens/Source/shotwell/src/Properties.vala" - g_object_ref_sink (_tmp4_); -#line 651 "/home/jens/Source/shotwell/src/Properties.vala" +#line 649 "/home/jens/Source/shotwell/src/Properties.vala" + _tmp2_ = extended_properties_window_extended_properties_new (); +#line 649 "/home/jens/Source/shotwell/src/Properties.vala" + g_object_ref_sink (_tmp2_); +#line 649 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (self->priv->properties); +#line 649 "/home/jens/Source/shotwell/src/Properties.vala" + self->priv->properties = _tmp2_; +#line 650 "/home/jens/Source/shotwell/src/Properties.vala" + _tmp3_ = self->priv->properties; +#line 650 "/home/jens/Source/shotwell/src/Properties.vala" + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); +#line 651 "/home/jens/Source/shotwell/src/Properties.vala" + _tmp4_ = self->priv->properties; #line 651 "/home/jens/Source/shotwell/src/Properties.vala" - self->priv->properties = _tmp4_; + gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); #line 652 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = self->priv->properties; #line 652 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); + gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), TRUE); #line 653 "/home/jens/Source/shotwell/src/Properties.vala" _tmp6_ = self->priv->properties; #line 653 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); + gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), TRUE); #line 654 "/home/jens/Source/shotwell/src/Properties.vala" _tmp7_ = self->priv->properties; #line 654 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), TRUE); + gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), 3); #line 655 "/home/jens/Source/shotwell/src/Properties.vala" _tmp8_ = self->priv->properties; #line 655 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), TRUE); + gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), 3); #line 656 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = self->priv->properties; #line 656 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), 3); + gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), 3); #line 657 "/home/jens/Source/shotwell/src/Properties.vala" _tmp10_ = self->priv->properties; #line 657 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), 3); + gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), 3); #line 658 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp11_ = self->priv->properties; + _tmp11_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); #line 658 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), 3); -#line 659 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = self->priv->properties; -#line 659 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), 3); -#line 660 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp13_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); -#line 660 "/home/jens/Source/shotwell/src/Properties.vala" - _tmp14_ = self->priv->properties; -#line 660 "/home/jens/Source/shotwell/src/Properties.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget)); +#line 658 "/home/jens/Source/shotwell/src/Properties.vala" + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_box_get_type (), GtkBox), gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget)); #line 635 "/home/jens/Source/shotwell/src/Properties.vala" return self; -#line 3964 "Properties.c" +#line 3948 "Properties.c" } ExtendedPropertiesWindow* extended_properties_window_new (GtkWindow* owner) { #line 635 "/home/jens/Source/shotwell/src/Properties.vala" return extended_properties_window_construct (TYPE_EXTENDED_PROPERTIES_WINDOW, owner); -#line 3971 "Properties.c" +#line 3955 "Properties.c" } @@ -3984,64 +3968,64 @@ static gboolean extended_properties_window_real_button_press_event (GtkWidget* b gdouble _tmp10_; GdkEventButton* _tmp11_; guint32 _tmp12_; -#line 663 "/home/jens/Source/shotwell/src/Properties.vala" +#line 661 "/home/jens/Source/shotwell/src/Properties.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow); -#line 663 "/home/jens/Source/shotwell/src/Properties.vala" +#line 661 "/home/jens/Source/shotwell/src/Properties.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 665 "/home/jens/Source/shotwell/src/Properties.vala" +#line 663 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = event; -#line 665 "/home/jens/Source/shotwell/src/Properties.vala" +#line 663 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = _tmp0_->button; -#line 665 "/home/jens/Source/shotwell/src/Properties.vala" +#line 663 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp1_ != ((guint) 1)) { -#line 3998 "Properties.c" +#line 3982 "Properties.c" gboolean _tmp2_ = FALSE; -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" if (GTK_WIDGET_CLASS (extended_properties_window_parent_class)->button_press_event != NULL) { -#line 4002 "Properties.c" +#line 3986 "Properties.c" GdkEventButton* _tmp3_; gboolean _tmp4_; -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = event; -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" _tmp4_ = GTK_WIDGET_CLASS (extended_properties_window_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), gtk_widget_get_type (), GtkWidget), _tmp3_); -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = _tmp4_; -#line 4011 "Properties.c" +#line 3995 "Properties.c" } else { -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = TRUE; -#line 4015 "Properties.c" +#line 3999 "Properties.c" } -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" result = _tmp2_; -#line 666 "/home/jens/Source/shotwell/src/Properties.vala" +#line 664 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 4021 "Properties.c" +#line 4005 "Properties.c" } -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = event; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp6_ = _tmp5_->button; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp7_ = event; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp8_ = _tmp7_->x_root; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = event; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp10_ = _tmp9_->y_root; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp11_ = event; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" _tmp12_ = _tmp11_->time; -#line 668 "/home/jens/Source/shotwell/src/Properties.vala" +#line 666 "/home/jens/Source/shotwell/src/Properties.vala" gtk_window_begin_move_drag (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), (gint) _tmp6_, (gint) _tmp8_, (gint) _tmp10_, _tmp12_); -#line 670 "/home/jens/Source/shotwell/src/Properties.vala" +#line 668 "/home/jens/Source/shotwell/src/Properties.vala" result = TRUE; -#line 670 "/home/jens/Source/shotwell/src/Properties.vala" +#line 668 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 4045 "Properties.c" +#line 4029 "Properties.c" } @@ -4056,84 +4040,84 @@ static gboolean extended_properties_window_real_key_press_event (GtkWidget* base GdkEventKey* _tmp5_; gboolean _tmp6_ = FALSE; gboolean _tmp7_; -#line 673 "/home/jens/Source/shotwell/src/Properties.vala" +#line 671 "/home/jens/Source/shotwell/src/Properties.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow); -#line 673 "/home/jens/Source/shotwell/src/Properties.vala" +#line 671 "/home/jens/Source/shotwell/src/Properties.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 675 "/home/jens/Source/shotwell/src/Properties.vala" +#line 673 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = event; -#line 675 "/home/jens/Source/shotwell/src/Properties.vala" +#line 673 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = _tmp0_->keyval; -#line 675 "/home/jens/Source/shotwell/src/Properties.vala" +#line 673 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = gdk_keyval_name (_tmp1_); -#line 675 "/home/jens/Source/shotwell/src/Properties.vala" +#line 673 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp2_, "Escape") == 0) { -#line 676 "/home/jens/Source/shotwell/src/Properties.vala" +#line 674 "/home/jens/Source/shotwell/src/Properties.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 677 "/home/jens/Source/shotwell/src/Properties.vala" +#line 675 "/home/jens/Source/shotwell/src/Properties.vala" result = TRUE; -#line 677 "/home/jens/Source/shotwell/src/Properties.vala" +#line 675 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 4078 "Properties.c" +#line 4062 "Properties.c" } -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = app_window_get_instance (); -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" _tmp4_ = _tmp3_; -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = event; -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp5_, &_tmp6_); -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" _tmp7_ = _tmp6_; -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (_tmp4_); -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" result = _tmp7_; -#line 680 "/home/jens/Source/shotwell/src/Properties.vala" +#line 678 "/home/jens/Source/shotwell/src/Properties.vala" return result; -#line 4096 "Properties.c" +#line 4080 "Properties.c" } void extended_properties_window_update_properties (ExtendedPropertiesWindow* self, Page* page) { ExtendedPropertiesWindowExtendedProperties* _tmp0_; Page* _tmp1_; -#line 683 "/home/jens/Source/shotwell/src/Properties.vala" +#line 681 "/home/jens/Source/shotwell/src/Properties.vala" g_return_if_fail (IS_EXTENDED_PROPERTIES_WINDOW (self)); -#line 683 "/home/jens/Source/shotwell/src/Properties.vala" +#line 681 "/home/jens/Source/shotwell/src/Properties.vala" g_return_if_fail (IS_PAGE (page)); -#line 684 "/home/jens/Source/shotwell/src/Properties.vala" +#line 682 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = self->priv->properties; -#line 684 "/home/jens/Source/shotwell/src/Properties.vala" +#line 682 "/home/jens/Source/shotwell/src/Properties.vala" _tmp1_ = page; -#line 684 "/home/jens/Source/shotwell/src/Properties.vala" +#line 682 "/home/jens/Source/shotwell/src/Properties.vala" properties_update_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PROPERTIES, Properties), _tmp1_); -#line 4113 "Properties.c" +#line 4097 "Properties.c" } static void extended_properties_window_real_show_all (GtkWidget* base) { ExtendedPropertiesWindow * self; ExtendedPropertiesWindowExtendedProperties* _tmp0_; -#line 687 "/home/jens/Source/shotwell/src/Properties.vala" +#line 685 "/home/jens/Source/shotwell/src/Properties.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXTENDED_PROPERTIES_WINDOW, ExtendedPropertiesWindow); -#line 688 "/home/jens/Source/shotwell/src/Properties.vala" +#line 686 "/home/jens/Source/shotwell/src/Properties.vala" GTK_WIDGET_CLASS (extended_properties_window_parent_class)->show_all (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), gtk_widget_get_type (), GtkWidget)); -#line 689 "/home/jens/Source/shotwell/src/Properties.vala" +#line 687 "/home/jens/Source/shotwell/src/Properties.vala" _tmp0_ = self->priv->properties; -#line 689 "/home/jens/Source/shotwell/src/Properties.vala" +#line 687 "/home/jens/Source/shotwell/src/Properties.vala" properties_unselect_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PROPERTIES, Properties)); -#line 690 "/home/jens/Source/shotwell/src/Properties.vala" +#line 688 "/home/jens/Source/shotwell/src/Properties.vala" gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 4130 "Properties.c" +#line 4114 "Properties.c" } static gpointer _dimensions_dup0 (gpointer self) { #line 498 "/home/jens/Source/shotwell/src/Properties.vala" return self ? dimensions_dup (self) : NULL; -#line 4137 "Properties.c" +#line 4121 "Properties.c" } @@ -4266,7 +4250,7 @@ static void extended_properties_window_extended_properties_real_clear_properties _g_free0 (self->priv->comment); #line 513 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->comment = _tmp16_; -#line 4270 "Properties.c" +#line 4254 "Properties.c" } @@ -4301,13 +4285,13 @@ static void extended_properties_window_extended_properties_real_get_single_prope _g_object_unref0 (source); #line 521 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 4305 "Properties.c" +#line 4289 "Properties.c" } #line 523 "/home/jens/Source/shotwell/src/Properties.vala" _tmp4_ = source; #line 523 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_MEDIA_SOURCE)) { -#line 4311 "Properties.c" +#line 4295 "Properties.c" MediaSource* media = NULL; DataSource* _tmp5_; MediaSource* _tmp6_; @@ -4429,7 +4413,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope _g_object_unref0 (source); #line 534 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 4433 "Properties.c" +#line 4417 "Properties.c" } { PhotoMetadata* _tmp20_ = NULL; @@ -4444,8 +4428,8 @@ static void extended_properties_window_extended_properties_real_get_single_prope _tmp20_ = _tmp22_; #line 543 "/home/jens/Source/shotwell/src/Properties.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4448 "Properties.c" - goto __catch434_g_error; +#line 4432 "Properties.c" + goto __catch442_g_error; } #line 543 "/home/jens/Source/shotwell/src/Properties.vala" _tmp23_ = _tmp20_; @@ -4457,10 +4441,10 @@ static void extended_properties_window_extended_properties_real_get_single_prope metadata = _tmp23_; #line 538 "/home/jens/Source/shotwell/src/Properties.vala" _media_metadata_unref0 (_tmp20_); -#line 4461 "Properties.c" +#line 4445 "Properties.c" } - goto __finally434; - __catch434_g_error: + goto __finally442; + __catch442_g_error: { GError* e = NULL; Photo* _tmp24_; @@ -4479,9 +4463,9 @@ static void extended_properties_window_extended_properties_real_get_single_prope metadata = _tmp25_; #line 538 "/home/jens/Source/shotwell/src/Properties.vala" _g_error_free0 (e); -#line 4483 "Properties.c" +#line 4467 "Properties.c" } - __finally434: + __finally442: #line 538 "/home/jens/Source/shotwell/src/Properties.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 538 "/home/jens/Source/shotwell/src/Properties.vala" @@ -4498,7 +4482,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope g_clear_error (&_inner_error_); #line 538 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 4502 "Properties.c" +#line 4486 "Properties.c" } #line 548 "/home/jens/Source/shotwell/src/Properties.vala" _tmp26_ = metadata; @@ -4514,7 +4498,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope _g_object_unref0 (source); #line 549 "/home/jens/Source/shotwell/src/Properties.vala" return; -#line 4518 "Properties.c" +#line 4502 "Properties.c" } #line 556 "/home/jens/Source/shotwell/src/Properties.vala" _tmp27_ = metadata; @@ -4528,7 +4512,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope _metadata_date_time_unref0 (_tmp29_); #line 556 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp30_) { -#line 4532 "Properties.c" +#line 4516 "Properties.c" PhotoMetadata* _tmp31_; Photo* _tmp32_; time_t _tmp33_; @@ -4548,7 +4532,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope photo_metadata_set_exposure_date_time (_tmp31_, _tmp35_, PHOTO_METADATA_SET_OPTION_ALL_DOMAINS); #line 557 "/home/jens/Source/shotwell/src/Properties.vala" _metadata_date_time_unref0 (_tmp35_); -#line 4552 "Properties.c" +#line 4536 "Properties.c" } #line 559 "/home/jens/Source/shotwell/src/Properties.vala" _tmp36_ = photo; @@ -4694,14 +4678,14 @@ static void extended_properties_window_extended_properties_real_get_single_prope _g_object_unref0 (photo); #line 523 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (media); -#line 4698 "Properties.c" +#line 4682 "Properties.c" } else { DataSource* _tmp75_; #line 574 "/home/jens/Source/shotwell/src/Properties.vala" _tmp75_ = source; #line 574 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, TYPE_EVENT_SOURCE)) { -#line 4705 "Properties.c" +#line 4689 "Properties.c" Event* event = NULL; DataSource* _tmp76_; Event* _tmp77_; @@ -4723,12 +4707,12 @@ static void extended_properties_window_extended_properties_real_get_single_prope self->priv->comment = _tmp79_; #line 574 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (event); -#line 4727 "Properties.c" +#line 4711 "Properties.c" } } #line 516 "/home/jens/Source/shotwell/src/Properties.vala" _g_object_unref0 (source); -#line 4732 "Properties.c" +#line 4716 "Properties.c" } @@ -4747,20 +4731,20 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if ((*((gchar*) self)) == '\0') { #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = TRUE; -#line 4751 "Properties.c" +#line 4735 "Properties.c" } else { const gchar* _tmp2_; #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp2_ = old; #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = (*((gchar*) _tmp2_)) == '\0'; -#line 4758 "Properties.c" +#line 4742 "Properties.c" } #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp1_) { #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = TRUE; -#line 4764 "Properties.c" +#line 4748 "Properties.c" } else { const gchar* _tmp3_; const gchar* _tmp4_; @@ -4770,11 +4754,11 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _tmp4_ = replacement; #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = g_strcmp0 (_tmp3_, _tmp4_) == 0; -#line 4774 "Properties.c" +#line 4758 "Properties.c" } #line 1408 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp0_) { -#line 4778 "Properties.c" +#line 4762 "Properties.c" gchar* _tmp5_; #line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp5_ = g_strdup (self); @@ -4782,7 +4766,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* result = _tmp5_; #line 1409 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 4786 "Properties.c" +#line 4770 "Properties.c" } { GRegex* regex = NULL; @@ -4814,8 +4798,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 4818 "Properties.c" - goto __catch435_g_regex_error; +#line 4802 "Properties.c" + goto __catch443_g_regex_error; } #line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -4823,7 +4807,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1412 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 4827 "Properties.c" +#line 4811 "Properties.c" } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp12_ = regex; @@ -4839,8 +4823,8 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_inner_error_->domain == G_REGEX_ERROR) { -#line 4843 "Properties.c" - goto __catch435_g_regex_error; +#line 4827 "Properties.c" + goto __catch443_g_regex_error; } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _g_regex_unref0 (regex); @@ -4850,7 +4834,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 4854 "Properties.c" +#line 4838 "Properties.c" } #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp15_ = _tmp11_; @@ -4864,10 +4848,10 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* _g_regex_unref0 (regex); #line 1413 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 4868 "Properties.c" +#line 4852 "Properties.c" } - goto __finally435; - __catch435_g_regex_error: + goto __finally443; + __catch443_g_regex_error: { GError* e = NULL; #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -4878,9 +4862,9 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_assert_not_reached (); #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _g_error_free0 (e); -#line 4882 "Properties.c" +#line 4866 "Properties.c" } - __finally435: + __finally443: #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -4889,7 +4873,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar* g_clear_error (&_inner_error_); #line 1411 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return NULL; -#line 4893 "Properties.c" +#line 4877 "Properties.c" } } @@ -4916,7 +4900,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp1_ = page; #line 583 "/home/jens/Source/shotwell/src/Properties.vala" if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_EVENTS_DIRECTORY_PAGE)) { -#line 4920 "Properties.c" +#line 4904 "Properties.c" } else { gchar* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; @@ -4969,21 +4953,21 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp4_ = self->priv->file_path; #line 586 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp4_, "") != 0) { -#line 4973 "Properties.c" +#line 4957 "Properties.c" const gchar* _tmp5_; #line 586 "/home/jens/Source/shotwell/src/Properties.vala" _tmp5_ = self->priv->file_path; #line 586 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = _tmp5_ != NULL; -#line 4979 "Properties.c" +#line 4963 "Properties.c" } else { #line 586 "/home/jens/Source/shotwell/src/Properties.vala" _tmp3_ = FALSE; -#line 4983 "Properties.c" +#line 4967 "Properties.c" } #line 586 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp3_) { -#line 4987 "Properties.c" +#line 4971 "Properties.c" const gchar* _tmp6_; gchar* _tmp7_; #line 587 "/home/jens/Source/shotwell/src/Properties.vala" @@ -4994,7 +4978,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp2_); #line 587 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = _tmp7_; -#line 4998 "Properties.c" +#line 4982 "Properties.c" } else { gchar* _tmp8_; #line 587 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5003,7 +4987,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp2_); #line 587 "/home/jens/Source/shotwell/src/Properties.vala" _tmp2_ = _tmp8_; -#line 5007 "Properties.c" +#line 4991 "Properties.c" } #line 586 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Location:"), _tmp2_, FALSE); @@ -5011,7 +4995,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp10_ = self->priv->filesize; #line 589 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp10_ > ((guint64) 0)) { -#line 5015 "Properties.c" +#line 4999 "Properties.c" guint64 _tmp11_; gchar* _tmp12_; #line 590 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5022,7 +5006,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp9_); #line 590 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = _tmp12_; -#line 5026 "Properties.c" +#line 5010 "Properties.c" } else { gchar* _tmp13_; #line 590 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5031,7 +5015,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp9_); #line 590 "/home/jens/Source/shotwell/src/Properties.vala" _tmp9_ = _tmp13_; -#line 5035 "Properties.c" +#line 5019 "Properties.c" } #line 589 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("File size:"), _tmp9_, FALSE); @@ -5039,19 +5023,19 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp14_ = self->priv->is_raw; #line 592 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp14_) { -#line 5043 "Properties.c" +#line 5027 "Properties.c" const gchar* _tmp15_; #line 593 "/home/jens/Source/shotwell/src/Properties.vala" _tmp15_ = self->priv->development_path; #line 593 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Current Development:"), _tmp15_, FALSE); -#line 5049 "Properties.c" +#line 5033 "Properties.c" } #line 595 "/home/jens/Source/shotwell/src/Properties.vala" _tmp18_ = self->priv->original_dim; #line 595 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp18_ != NULL) { -#line 5055 "Properties.c" +#line 5039 "Properties.c" Dimensions* _tmp19_; gboolean _tmp20_; #line 595 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5060,15 +5044,15 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp20_ = dimensions_has_area (_tmp19_); #line 595 "/home/jens/Source/shotwell/src/Properties.vala" _tmp17_ = _tmp20_; -#line 5064 "Properties.c" +#line 5048 "Properties.c" } else { #line 595 "/home/jens/Source/shotwell/src/Properties.vala" _tmp17_ = FALSE; -#line 5068 "Properties.c" +#line 5052 "Properties.c" } #line 595 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp17_) { -#line 5072 "Properties.c" +#line 5056 "Properties.c" Dimensions* _tmp21_; gint _tmp22_; Dimensions* _tmp23_; @@ -5088,7 +5072,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp16_); #line 596 "/home/jens/Source/shotwell/src/Properties.vala" _tmp16_ = _tmp25_; -#line 5092 "Properties.c" +#line 5076 "Properties.c" } else { gchar* _tmp26_; #line 596 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5097,7 +5081,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp16_); #line 596 "/home/jens/Source/shotwell/src/Properties.vala" _tmp16_ = _tmp26_; -#line 5101 "Properties.c" +#line 5085 "Properties.c" } #line 595 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Original dimensions:"), _tmp16_, FALSE); @@ -5105,31 +5089,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp29_ = self->priv->camera_make; #line 598 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp29_, "") != 0) { -#line 5109 "Properties.c" +#line 5093 "Properties.c" const gchar* _tmp30_; #line 598 "/home/jens/Source/shotwell/src/Properties.vala" _tmp30_ = self->priv->camera_make; #line 598 "/home/jens/Source/shotwell/src/Properties.vala" _tmp28_ = _tmp30_ != NULL; -#line 5115 "Properties.c" +#line 5099 "Properties.c" } else { #line 598 "/home/jens/Source/shotwell/src/Properties.vala" _tmp28_ = FALSE; -#line 5119 "Properties.c" +#line 5103 "Properties.c" } #line 598 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp28_) { -#line 5123 "Properties.c" +#line 5107 "Properties.c" const gchar* _tmp31_; #line 599 "/home/jens/Source/shotwell/src/Properties.vala" _tmp31_ = self->priv->camera_make; #line 599 "/home/jens/Source/shotwell/src/Properties.vala" _tmp27_ = _tmp31_; -#line 5129 "Properties.c" +#line 5113 "Properties.c" } else { #line 599 "/home/jens/Source/shotwell/src/Properties.vala" _tmp27_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5133 "Properties.c" +#line 5117 "Properties.c" } #line 598 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Camera make:"), _tmp27_, FALSE); @@ -5137,31 +5121,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp34_ = self->priv->camera_model; #line 601 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp34_, "") != 0) { -#line 5141 "Properties.c" +#line 5125 "Properties.c" const gchar* _tmp35_; #line 601 "/home/jens/Source/shotwell/src/Properties.vala" _tmp35_ = self->priv->camera_model; #line 601 "/home/jens/Source/shotwell/src/Properties.vala" _tmp33_ = _tmp35_ != NULL; -#line 5147 "Properties.c" +#line 5131 "Properties.c" } else { #line 601 "/home/jens/Source/shotwell/src/Properties.vala" _tmp33_ = FALSE; -#line 5151 "Properties.c" +#line 5135 "Properties.c" } #line 601 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp33_) { -#line 5155 "Properties.c" +#line 5139 "Properties.c" const gchar* _tmp36_; #line 602 "/home/jens/Source/shotwell/src/Properties.vala" _tmp36_ = self->priv->camera_model; #line 602 "/home/jens/Source/shotwell/src/Properties.vala" _tmp32_ = _tmp36_; -#line 5161 "Properties.c" +#line 5145 "Properties.c" } else { #line 602 "/home/jens/Source/shotwell/src/Properties.vala" _tmp32_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5165 "Properties.c" +#line 5149 "Properties.c" } #line 601 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Camera model:"), _tmp32_, FALSE); @@ -5169,31 +5153,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp39_ = self->priv->flash; #line 604 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp39_, "") != 0) { -#line 5173 "Properties.c" +#line 5157 "Properties.c" const gchar* _tmp40_; #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp40_ = self->priv->flash; #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp38_ = _tmp40_ != NULL; -#line 5179 "Properties.c" +#line 5163 "Properties.c" } else { #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp38_ = FALSE; -#line 5183 "Properties.c" +#line 5167 "Properties.c" } #line 604 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp38_) { -#line 5187 "Properties.c" +#line 5171 "Properties.c" const gchar* _tmp41_; #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp41_ = self->priv->flash; #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp37_ = _tmp41_; -#line 5193 "Properties.c" +#line 5177 "Properties.c" } else { #line 604 "/home/jens/Source/shotwell/src/Properties.vala" _tmp37_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5197 "Properties.c" +#line 5181 "Properties.c" } #line 604 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Flash:"), _tmp37_, FALSE); @@ -5201,31 +5185,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp44_ = self->priv->focal_length; #line 606 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp44_, "") != 0) { -#line 5205 "Properties.c" +#line 5189 "Properties.c" const gchar* _tmp45_; #line 606 "/home/jens/Source/shotwell/src/Properties.vala" _tmp45_ = self->priv->focal_length; #line 606 "/home/jens/Source/shotwell/src/Properties.vala" _tmp43_ = _tmp45_ != NULL; -#line 5211 "Properties.c" +#line 5195 "Properties.c" } else { #line 606 "/home/jens/Source/shotwell/src/Properties.vala" _tmp43_ = FALSE; -#line 5215 "Properties.c" +#line 5199 "Properties.c" } #line 606 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp43_) { -#line 5219 "Properties.c" +#line 5203 "Properties.c" const gchar* _tmp46_; #line 607 "/home/jens/Source/shotwell/src/Properties.vala" _tmp46_ = self->priv->focal_length; #line 607 "/home/jens/Source/shotwell/src/Properties.vala" _tmp42_ = _tmp46_; -#line 5225 "Properties.c" +#line 5209 "Properties.c" } else { #line 607 "/home/jens/Source/shotwell/src/Properties.vala" _tmp42_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5229 "Properties.c" +#line 5213 "Properties.c" } #line 606 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Focal length:"), _tmp42_, FALSE); @@ -5233,31 +5217,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp49_ = self->priv->exposure_date; #line 609 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp49_, "") != 0) { -#line 5237 "Properties.c" +#line 5221 "Properties.c" const gchar* _tmp50_; #line 609 "/home/jens/Source/shotwell/src/Properties.vala" _tmp50_ = self->priv->exposure_date; #line 609 "/home/jens/Source/shotwell/src/Properties.vala" _tmp48_ = _tmp50_ != NULL; -#line 5243 "Properties.c" +#line 5227 "Properties.c" } else { #line 609 "/home/jens/Source/shotwell/src/Properties.vala" _tmp48_ = FALSE; -#line 5247 "Properties.c" +#line 5231 "Properties.c" } #line 609 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp48_) { -#line 5251 "Properties.c" +#line 5235 "Properties.c" const gchar* _tmp51_; #line 610 "/home/jens/Source/shotwell/src/Properties.vala" _tmp51_ = self->priv->exposure_date; #line 610 "/home/jens/Source/shotwell/src/Properties.vala" _tmp47_ = _tmp51_; -#line 5257 "Properties.c" +#line 5241 "Properties.c" } else { #line 610 "/home/jens/Source/shotwell/src/Properties.vala" _tmp47_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5261 "Properties.c" +#line 5245 "Properties.c" } #line 609 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure date:"), _tmp47_, FALSE); @@ -5265,31 +5249,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp54_ = self->priv->exposure_time; #line 612 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp54_, "") != 0) { -#line 5269 "Properties.c" +#line 5253 "Properties.c" const gchar* _tmp55_; #line 612 "/home/jens/Source/shotwell/src/Properties.vala" _tmp55_ = self->priv->exposure_time; #line 612 "/home/jens/Source/shotwell/src/Properties.vala" _tmp53_ = _tmp55_ != NULL; -#line 5275 "Properties.c" +#line 5259 "Properties.c" } else { #line 612 "/home/jens/Source/shotwell/src/Properties.vala" _tmp53_ = FALSE; -#line 5279 "Properties.c" +#line 5263 "Properties.c" } #line 612 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp53_) { -#line 5283 "Properties.c" +#line 5267 "Properties.c" const gchar* _tmp56_; #line 613 "/home/jens/Source/shotwell/src/Properties.vala" _tmp56_ = self->priv->exposure_time; #line 613 "/home/jens/Source/shotwell/src/Properties.vala" _tmp52_ = _tmp56_; -#line 5289 "Properties.c" +#line 5273 "Properties.c" } else { #line 613 "/home/jens/Source/shotwell/src/Properties.vala" _tmp52_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5293 "Properties.c" +#line 5277 "Properties.c" } #line 612 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure time:"), _tmp52_, FALSE); @@ -5297,31 +5281,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp59_ = self->priv->exposure_bias; #line 615 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp59_, "") != 0) { -#line 5301 "Properties.c" +#line 5285 "Properties.c" const gchar* _tmp60_; #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp60_ = self->priv->exposure_bias; #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp58_ = _tmp60_ != NULL; -#line 5307 "Properties.c" +#line 5291 "Properties.c" } else { #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp58_ = FALSE; -#line 5311 "Properties.c" +#line 5295 "Properties.c" } #line 615 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp58_) { -#line 5315 "Properties.c" +#line 5299 "Properties.c" const gchar* _tmp61_; #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp61_ = self->priv->exposure_bias; #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp57_ = _tmp61_; -#line 5321 "Properties.c" +#line 5305 "Properties.c" } else { #line 615 "/home/jens/Source/shotwell/src/Properties.vala" _tmp57_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5325 "Properties.c" +#line 5309 "Properties.c" } #line 615 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Exposure bias:"), _tmp57_, FALSE); @@ -5329,35 +5313,35 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp65_ = self->priv->gps_lat; #line 617 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp65_ != ((gdouble) -1)) { -#line 5333 "Properties.c" +#line 5317 "Properties.c" const gchar* _tmp66_; #line 617 "/home/jens/Source/shotwell/src/Properties.vala" _tmp66_ = self->priv->gps_lat_ref; #line 617 "/home/jens/Source/shotwell/src/Properties.vala" _tmp64_ = g_strcmp0 (_tmp66_, "") != 0; -#line 5339 "Properties.c" +#line 5323 "Properties.c" } else { #line 617 "/home/jens/Source/shotwell/src/Properties.vala" _tmp64_ = FALSE; -#line 5343 "Properties.c" +#line 5327 "Properties.c" } #line 617 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp64_) { -#line 5347 "Properties.c" +#line 5331 "Properties.c" const gchar* _tmp67_; #line 618 "/home/jens/Source/shotwell/src/Properties.vala" _tmp67_ = self->priv->gps_lat_ref; #line 618 "/home/jens/Source/shotwell/src/Properties.vala" _tmp63_ = _tmp67_ != NULL; -#line 5353 "Properties.c" +#line 5337 "Properties.c" } else { #line 617 "/home/jens/Source/shotwell/src/Properties.vala" _tmp63_ = FALSE; -#line 5357 "Properties.c" +#line 5341 "Properties.c" } #line 617 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp63_) { -#line 5361 "Properties.c" +#line 5345 "Properties.c" gdouble _tmp68_; const gchar* _tmp69_; gchar* _tmp70_; @@ -5371,7 +5355,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp62_); #line 618 "/home/jens/Source/shotwell/src/Properties.vala" _tmp62_ = _tmp70_; -#line 5375 "Properties.c" +#line 5359 "Properties.c" } else { gchar* _tmp71_; #line 618 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5380,7 +5364,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp62_); #line 618 "/home/jens/Source/shotwell/src/Properties.vala" _tmp62_ = _tmp71_; -#line 5384 "Properties.c" +#line 5368 "Properties.c" } #line 617 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("GPS latitude:"), _tmp62_, FALSE); @@ -5388,35 +5372,35 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp75_ = self->priv->gps_long; #line 620 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp75_ != ((gdouble) -1)) { -#line 5392 "Properties.c" +#line 5376 "Properties.c" const gchar* _tmp76_; #line 620 "/home/jens/Source/shotwell/src/Properties.vala" _tmp76_ = self->priv->gps_long_ref; #line 620 "/home/jens/Source/shotwell/src/Properties.vala" _tmp74_ = g_strcmp0 (_tmp76_, "") != 0; -#line 5398 "Properties.c" +#line 5382 "Properties.c" } else { #line 620 "/home/jens/Source/shotwell/src/Properties.vala" _tmp74_ = FALSE; -#line 5402 "Properties.c" +#line 5386 "Properties.c" } #line 620 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp74_) { -#line 5406 "Properties.c" +#line 5390 "Properties.c" const gchar* _tmp77_; #line 621 "/home/jens/Source/shotwell/src/Properties.vala" _tmp77_ = self->priv->gps_long_ref; #line 621 "/home/jens/Source/shotwell/src/Properties.vala" _tmp73_ = _tmp77_ != NULL; -#line 5412 "Properties.c" +#line 5396 "Properties.c" } else { #line 620 "/home/jens/Source/shotwell/src/Properties.vala" _tmp73_ = FALSE; -#line 5416 "Properties.c" +#line 5400 "Properties.c" } #line 620 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp73_) { -#line 5420 "Properties.c" +#line 5404 "Properties.c" gdouble _tmp78_; const gchar* _tmp79_; gchar* _tmp80_; @@ -5430,7 +5414,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp72_); #line 621 "/home/jens/Source/shotwell/src/Properties.vala" _tmp72_ = _tmp80_; -#line 5434 "Properties.c" +#line 5418 "Properties.c" } else { gchar* _tmp81_; #line 621 "/home/jens/Source/shotwell/src/Properties.vala" @@ -5439,7 +5423,7 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp72_); #line 621 "/home/jens/Source/shotwell/src/Properties.vala" _tmp72_ = _tmp81_; -#line 5443 "Properties.c" +#line 5427 "Properties.c" } #line 620 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("GPS longitude:"), _tmp72_, FALSE); @@ -5447,31 +5431,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp84_ = self->priv->artist; #line 623 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp84_, "") != 0) { -#line 5451 "Properties.c" +#line 5435 "Properties.c" const gchar* _tmp85_; #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp85_ = self->priv->artist; #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp83_ = _tmp85_ != NULL; -#line 5457 "Properties.c" +#line 5441 "Properties.c" } else { #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp83_ = FALSE; -#line 5461 "Properties.c" +#line 5445 "Properties.c" } #line 623 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp83_) { -#line 5465 "Properties.c" +#line 5449 "Properties.c" const gchar* _tmp86_; #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp86_ = self->priv->artist; #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp82_ = _tmp86_; -#line 5471 "Properties.c" +#line 5455 "Properties.c" } else { #line 623 "/home/jens/Source/shotwell/src/Properties.vala" _tmp82_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5475 "Properties.c" +#line 5459 "Properties.c" } #line 623 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Artist:"), _tmp82_, FALSE); @@ -5479,31 +5463,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp89_ = self->priv->copyright; #line 625 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp89_, "") != 0) { -#line 5483 "Properties.c" +#line 5467 "Properties.c" const gchar* _tmp90_; #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp90_ = self->priv->copyright; #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp88_ = _tmp90_ != NULL; -#line 5489 "Properties.c" +#line 5473 "Properties.c" } else { #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp88_ = FALSE; -#line 5493 "Properties.c" +#line 5477 "Properties.c" } #line 625 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp88_) { -#line 5497 "Properties.c" +#line 5481 "Properties.c" const gchar* _tmp91_; #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp91_ = self->priv->copyright; #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp87_ = _tmp91_; -#line 5503 "Properties.c" +#line 5487 "Properties.c" } else { #line 625 "/home/jens/Source/shotwell/src/Properties.vala" _tmp87_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5507 "Properties.c" +#line 5491 "Properties.c" } #line 625 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Copyright:"), _tmp87_, FALSE); @@ -5511,31 +5495,31 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp94_ = self->priv->software; #line 627 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp94_, "") != 0) { -#line 5515 "Properties.c" +#line 5499 "Properties.c" const gchar* _tmp95_; #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp95_ = self->priv->software; #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp93_ = _tmp95_ != NULL; -#line 5521 "Properties.c" +#line 5505 "Properties.c" } else { #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp93_ = FALSE; -#line 5525 "Properties.c" +#line 5509 "Properties.c" } #line 627 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp93_) { -#line 5529 "Properties.c" +#line 5513 "Properties.c" const gchar* _tmp96_; #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp96_ = self->priv->software; #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp92_ = _tmp96_; -#line 5535 "Properties.c" +#line 5519 "Properties.c" } else { #line 627 "/home/jens/Source/shotwell/src/Properties.vala" _tmp92_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5539 "Properties.c" +#line 5523 "Properties.c" } #line 627 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Software:"), _tmp92_, FALSE); @@ -5549,23 +5533,23 @@ static void extended_properties_window_extended_properties_real_internal_update_ _g_free0 (_tmp9_); #line 583 "/home/jens/Source/shotwell/src/Properties.vala" _g_free0 (_tmp2_); -#line 5553 "Properties.c" +#line 5537 "Properties.c" } #line 630 "/home/jens/Source/shotwell/src/Properties.vala" _tmp98_ = self->priv->comment; #line 630 "/home/jens/Source/shotwell/src/Properties.vala" if (g_strcmp0 (_tmp98_, "") != 0) { -#line 5559 "Properties.c" +#line 5543 "Properties.c" const gchar* _tmp99_; #line 630 "/home/jens/Source/shotwell/src/Properties.vala" _tmp99_ = self->priv->comment; #line 630 "/home/jens/Source/shotwell/src/Properties.vala" _tmp97_ = _tmp99_ != NULL; -#line 5565 "Properties.c" +#line 5549 "Properties.c" } else { #line 630 "/home/jens/Source/shotwell/src/Properties.vala" _tmp97_ = FALSE; -#line 5569 "Properties.c" +#line 5553 "Properties.c" } #line 630 "/home/jens/Source/shotwell/src/Properties.vala" has_comment = _tmp97_; @@ -5573,23 +5557,23 @@ static void extended_properties_window_extended_properties_real_internal_update_ _tmp101_ = has_comment; #line 631 "/home/jens/Source/shotwell/src/Properties.vala" if (_tmp101_) { -#line 5577 "Properties.c" +#line 5561 "Properties.c" const gchar* _tmp102_; #line 631 "/home/jens/Source/shotwell/src/Properties.vala" _tmp102_ = self->priv->comment; #line 631 "/home/jens/Source/shotwell/src/Properties.vala" _tmp100_ = _tmp102_; -#line 5583 "Properties.c" +#line 5567 "Properties.c" } else { #line 631 "/home/jens/Source/shotwell/src/Properties.vala" _tmp100_ = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_NO_VALUE; -#line 5587 "Properties.c" +#line 5571 "Properties.c" } #line 631 "/home/jens/Source/shotwell/src/Properties.vala" _tmp103_ = has_comment; #line 631 "/home/jens/Source/shotwell/src/Properties.vala" properties_add_line (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PROPERTIES, Properties), _ ("Comment:"), _tmp100_, _tmp103_); -#line 5593 "Properties.c" +#line 5577 "Properties.c" } @@ -5599,14 +5583,14 @@ static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_ex self = (ExtendedPropertiesWindowExtendedProperties*) properties_construct (object_type); #line 460 "/home/jens/Source/shotwell/src/Properties.vala" return self; -#line 5603 "Properties.c" +#line 5587 "Properties.c" } static ExtendedPropertiesWindowExtendedProperties* extended_properties_window_extended_properties_new (void) { #line 460 "/home/jens/Source/shotwell/src/Properties.vala" return extended_properties_window_extended_properties_construct (EXTENDED_PROPERTIES_WINDOW_TYPE_EXTENDED_PROPERTIES); -#line 5610 "Properties.c" +#line 5594 "Properties.c" } @@ -5623,14 +5607,14 @@ static void extended_properties_window_extended_properties_class_init (ExtendedP ((PropertiesClass *) klass)->internal_update_properties = (void (*) (Properties *, Page*)) extended_properties_window_extended_properties_real_internal_update_properties; #line 460 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (klass)->finalize = extended_properties_window_extended_properties_finalize; -#line 5627 "Properties.c" +#line 5611 "Properties.c" } static void extended_properties_window_extended_properties_instance_init (ExtendedPropertiesWindowExtendedProperties * self) { #line 460 "/home/jens/Source/shotwell/src/Properties.vala" self->priv = EXTENDED_PROPERTIES_WINDOW_EXTENDED_PROPERTIES_GET_PRIVATE (self); -#line 5634 "Properties.c" +#line 5618 "Properties.c" } @@ -5672,7 +5656,7 @@ static void extended_properties_window_extended_properties_finalize (GObject * o _g_free0 (self->priv->comment); #line 460 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (extended_properties_window_extended_properties_parent_class)->finalize (obj); -#line 5676 "Properties.c" +#line 5660 "Properties.c" } @@ -5701,7 +5685,7 @@ static void extended_properties_window_class_init (ExtendedPropertiesWindowClass ((GtkWidgetClass *) klass)->show_all = (void (*) (GtkWidget *)) extended_properties_window_real_show_all; #line 457 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (klass)->finalize = extended_properties_window_finalize; -#line 5705 "Properties.c" +#line 5689 "Properties.c" } @@ -5710,7 +5694,7 @@ static void extended_properties_window_instance_init (ExtendedPropertiesWindow * self->priv = EXTENDED_PROPERTIES_WINDOW_GET_PRIVATE (self); #line 458 "/home/jens/Source/shotwell/src/Properties.vala" self->priv->properties = NULL; -#line 5714 "Properties.c" +#line 5698 "Properties.c" } @@ -5722,7 +5706,7 @@ static void extended_properties_window_finalize (GObject * obj) { _g_object_unref0 (self->priv->properties); #line 457 "/home/jens/Source/shotwell/src/Properties.vala" G_OBJECT_CLASS (extended_properties_window_parent_class)->finalize (obj); -#line 5726 "Properties.c" +#line 5710 "Properties.c" } -- cgit v1.2.3